Code::Blocks Forums

User forums => Help => Topic started by: Lorizean on December 19, 2010, 01:35:28 pm

Title: C::B 10.05, can't compile programs
Post by: Lorizean on December 19, 2010, 01:35:28 pm
Hi!

I recently installed Code::Blocks on my netbook, running Ubuntu 10.04 Lucid Lynx. For some reason, I cannot compile any programs (using GCC).
I get the following error messages:

winegcc: i486-linux-gnu-g++ failed
Process terminated with status 2 (0 minutes, 0 seconds)

I'm using the following repositories:
http://apt.jenslody.de/ any release
http://apt.wxwidgets.org/ lucid-wx main

I'm a linux/code::blocks noob, I only used C::B on windows before (where everything worked out of the box), so I got no idea what could be wrong. Can anybody help?
Thanks
Title: Re: C::B 10.05, can't compile programs
Post by: oBFusCATed on December 19, 2010, 01:43:37 pm
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
and this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
Title: Re: C::B 10.05, can't compile programs
Post by: Lorizean on December 19, 2010, 01:57:54 pm
Read this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_What_Code::Blocks_is_not.3F
and this: http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F

Thanks;
I guess I'll head over and search through the gcc documentary. Just thought maybe somebody here could help.
Title: Re: C::B 10.05, can't compile programs
Post by: Lorizean on December 19, 2010, 02:13:41 pm
Nevermind, I got it working. I used g++ instead of wineg++ and its working perfectly.