Catalina help !!!!
Hi,
I've installed catalina & code::blocks;
I've made all the operations described in the "readme" file.
When I try to compile the "hello world.c" file (placed in a "test workspace"), here is what I have in the code::blocks build log :
Build: Release in test
catalina.exe -D HYDRA -x0 -M32k -c ..\demos\hello_world_2.c -o obj\Release\demos\hello_world_2.obj
Catalina Compiler 2.4
1 fichier(s) d‚plac‚(s). [noparse][[/noparse] 1 file moved] <================================ added by me as it is in french !!
catalina.exe -D HYDRA -lc -x0 -M32k -o bin\Release\test obj\Release\demos\hello_world_2.obj
Homespun Spin Compiler 0.27
parsing C:\Program Files\Catalina\target\lmm_default.spin
parsing C:\Program Files\Catalina\target\Catalina.spin
Error: lmm_default.spin (134, 14): No PUB routines found in Catalina.spin
Catalina : "Catalina" ' The program to run
^
cannot open temporary files
Catalina Compiler 2.4
Process terminated with status 0 (0 minutes, 0 seconds)
1 errors, 0 warnings
Any ideas ?????
Thanks
I've installed catalina & code::blocks;
I've made all the operations described in the "readme" file.
When I try to compile the "hello world.c" file (placed in a "test workspace"), here is what I have in the code::blocks build log :
Build: Release in test
catalina.exe -D HYDRA -x0 -M32k -c ..\demos\hello_world_2.c -o obj\Release\demos\hello_world_2.obj
Catalina Compiler 2.4
1 fichier(s) d‚plac‚(s). [noparse][[/noparse] 1 file moved] <================================ added by me as it is in french !!
catalina.exe -D HYDRA -lc -x0 -M32k -o bin\Release\test obj\Release\demos\hello_world_2.obj
Homespun Spin Compiler 0.27
parsing C:\Program Files\Catalina\target\lmm_default.spin
parsing C:\Program Files\Catalina\target\Catalina.spin
Error: lmm_default.spin (134, 14): No PUB routines found in Catalina.spin
Catalina : "Catalina" ' The program to run
^
cannot open temporary files
Catalina Compiler 2.4
Process terminated with status 0 (0 minutes, 0 seconds)
1 errors, 0 warnings
Any ideas ?????
Thanks
Comments
The "file moved" message is not a problem - Catalina uses the DOS "move" command internally, and on some version of Windows this command apparently prints a message, while on other versions it doesn't. You can safely ignore it.
The real problem appears to be that Catalina cannot write the files it needs to, or open any temporary files. This is a permission problem. Catalina requires that the current user have write access to the "target" directory, and also to the directory in which the compile is being performed (in this case, the "demo" directory, or possibly your test workspace directory).
To fix this, you can either run Catalina as an Administrator, or log in as Administrator and give the Catalina user write permission in those directorires.
Let me know how you go. Also, can you let me know what version of Windows you are using?
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Post Edited (RossH) : 4/11/2010 12:16:06 AM GMT
Thank you for your reply.
I'm using Vista OS .
I'm logged as administrator,and i've modified the security parameters for Catalina folder, but nothing change !!
I think too that it's a problem due to Vista ! Thank you Mr Gates.....!!!!!!!!!!!!!!!!!!!!!!!!!!!
BR
I've compiled programs on Vista, so I know it can be made to work.
Let's take it one step at a time. Instead of using Code::Blocks, try compiling a program manually in a DOS command window. For example, select the Start->Run menu item, then type cmd.exe. Then in the DOS window enter:
Let me know what Catalina prints out.
Ross.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Catalina - a FREE C compiler for the Propeller - see Catalina
Finally, it works !!!
I've modified the Catalina folder security parameters, removed the write protection for Catalina folder.
here the result :
Build: Release in Catalina
catalina.exe -D HYDRA -x0 -M32k -c ..\..\demos\test_terminal.c -o obj\Release\demos\test_terminal.obj
Catalina Compiler 2.4
1 fichier(s) d‚plac‚(s).
catalina.exe -D HYDRA -lc -x0 -M32k -o bin\Release\Catalina obj\Release\demos\test_terminal.obj
Homespun Spin Compiler 0.27
parsing C:\Program Files\Catalina\target\lmm_default.spin
parsing C:\Program Files\Catalina\target\Catalina.spin
parsing C:\Program Files\Catalina\target\Catalina_Common.spin
parsing C:\Program Files\Catalina\target\Catalina_LMM.spin
parsing C:\Program Files\Catalina\target\Catalina_HMI_Plugin_HiRes_Tv.spin
parsing C:\Program Files\Catalina\target\Catalina_comboKeyboard.spin
parsing C:\Program Files\Catalina\target\Catalina_comboMouse.spin
parsing C:\Program Files\Catalina\target\Catalina_mouse_iso_010.spin
parsing C:\Program Files\Catalina\target\Catalina_HiRes_TV_Text.spin
parsing C:\Program Files\Catalina\target\TV_Half_Height.spin
compiling lmm_default.spin
compiling Catalina.spin
compiling Catalina_LMM.spin
compiling Catalina_HMI_Plugin_HiRes_Tv.spin
compiling Catalina_comboKeyboard.spin
compiling Catalina_comboMouse.spin
compiling Catalina_mouse_iso_010.spin
compiling Catalina_HiRes_TV_Text.spin
Catalina Compiler 2.4
compiling TV_Half_Height.spin
compiling Catalina_Common.spin
writing bin\Release\Catalina.binary
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings
Now i'm going to test this compiler !!!
Thank you very much for porting a C compiler for the Propeller !!!!
Sincerly yours