Code::Blocks Forums

User forums => Help => Topic started by: F6|Zman on March 19, 2013, 10:23:23 pm

Title: How To Set Up On Linux?
Post by: F6|Zman on March 19, 2013, 10:23:23 pm
I am not sure how to set code::blocks up on Linux (Ubuntu). Every time I try to build something I get this error:

Precompiling header: ../engine/engine.h
err:module:import_dll Library libgmp-10.dll (which is needed by L"Z:\\host\\mingw\\libexec\\gcc\\mingw32\\4.7.0\\cc1plus.exe") not found
err:module:import_dll Library libmpc-2.dll (which is needed by L"Z:\\host\\mingw\\libexec\\gcc\\mingw32\\4.7.0\\cc1plus.exe") not found
err:module:import_dll Library libmpfr-1.dll (which is needed by L"Z:\\host\\mingw\\libexec\\gcc\\mingw32\\4.7.0\\cc1plus.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\host\\mingw\\libexec\\gcc\\mingw32\\4.7.0\\cc1plus.exe" failed, status c0000135
Process terminated with status 1 (0 minutes, 5 seconds)
0 errors, 0 warnings
 
How do I set this up correctly? Sorry if I did not post this in the correct area.
Title: Re: How To Set Up On Linux?
Post by: oBFusCATed on March 19, 2013, 11:29:48 pm
What exactly do you want to setup?
A native builder or a cross compiler?
Title: Re: How To Set Up On Linux?
Post by: F6|Zman on March 19, 2013, 11:32:24 pm
What exactly do you want to setup?
A native builder or a cross compiler?

Builder.
Title: Re: How To Set Up On Linux?
Post by: oBFusCATed on March 20, 2013, 12:41:19 am
Then why are you trying to use mingw? Install a native gcc/g++ and you're done.
Title: Re: How To Set Up On Linux?
Post by: F6|Zman on March 20, 2013, 08:49:31 pm
Then why are you trying to use mingw? Install a native gcc/g++ and you're done.

I don't know how to do that on Linux.
Title: Re: How To Set Up On Linux?
Post by: oBFusCATed on March 20, 2013, 11:32:05 pm
Sorry, but you're getting the RTFM answer. We don't support your distro here.
Title: Re: How To Set Up On Linux?
Post by: jens on March 21, 2013, 06:11:40 am
Sorry, but you're getting the RTFM answer. We don't support your distro here.
To make it clear: we don't support any distros, OSes or third-party libs here, just Code::Blocks.

Please reread the rules (http://forums.codeblocks.org/index.php/topic,9996.0.html) and follow them as you have accepted when registering here !
Title: Re: How To Set Up On Linux?
Post by: mrrangerman on March 21, 2013, 10:38:25 pm
Open a terminal and type "sudo apt-get install build-essential" without quotes.