Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: grofaz on December 28, 2005, 10:53:05 pm
-
Hi,
When I build a project the output is an ".exe" file. How do I set the compiler to output an "a.out" type file ?
When I try to run the ".exe" file I get a can't load dynamic library error and I think it's because I'm outputing ".exe" files.
Thanks for any help.
Regards...
-
Hi,
When I build a project the output is an ".exe" file. How do I set the compiler to output an "a.out" type file ?
When I try to run the ".exe" file I get a can't load dynamic library error and I think it's because I'm outputing ".exe" files.
The actual name of the file has no impact at all when running it. You could rename it to "something.dat" and you could still execute it. That's not your problem. The problem is that a library your project is linked against dynamically, can't be found at runtime.
Btw, when you 're getting errors and asking for help, it would be a good idea to post the exact error...
-
Well,
How do I change the default terminal from XTerm to Gnome Terminal ? What is the correct procedure and syntacs ?
Then perhaps I can post some error messages.
Thanks for you swift reply btw.
grofaz
-
As for the missing library, I can't figure that out. All the necessary libraries are in /usr/local/lib and /usr/local/lib/OGRE.
My ld.so.conf file has /usr/local/lib appended and I have run ldconfig so paths shouldn't be an issue but obviously is. SDL and GLFW projects are working correctly, OGRE is the ogre. :)
Thanks again,
grofaz
-
How do I change the default terminal from XTerm to Gnome Terminal ? What is the correct procedure and syntacs ?
"Settings->Compiler->Other->Terminal to run console programs". The syntax depends on the terminal you 'll be using. The default command uses xterm.
-
Where would I find the command syntacs ? I want to use the gnome-terminal.
-
Where would I find the command syntacs ? I want to use the gnome-terminal.
man gnome-terminal ??