User forums > Help

Install 32 and 64 bit.

(1/2) > >>

Newbie0815:
Sorry if I come up with the same problem again, but I´m going nuts here.

Half a year ago I got my problem solved in this thread:
http://forums.codeblocks.org/index.php/topic,12259.0.html

Now I´m reinstalling my PC and obviously I´m trying to install all the latest versions, but I´m running into big trouble again.

First I was quite happy to find C::B 10.05 in the download section, all in one, simple install, works great.

Now I´m trying to install MinGW-w64, aside of the 32 bit version included in C::B 10.05.
It seemed so easy, download the proper MinGW-w64 archive and adjust the program files in C::B settings, and be done, but I can´t get it to work.
I´ve even tried to (re-)download the old files from that old thread, to (re-)install it as I had it half a year ago, but even that doesn´t work anymore.
By now I´ve downloaded half a dozen versions of MinGW-w64, tried anything I could imagine in compiler settings, I´m completely confused.
Beginning with problems like: the -w64 archives seem not to include a gdb.exe nor a make.exe, so where do I find these?
Up to problems like: uninstall/reinstall of C::B keeps all the (messy) settings I had done before, so how do I get rid of that for a fresh install?

Could anyone help me out?
Beginning with a fresh installed C::B 10.05, including MinGW

What do I download, and what do I have to change in "Global compiler settings" or anywhere else to get MinGW-w64 to work.

stahta01:
DO NOT INSTALL Mingw to X:\Mingw for any value of X!!
Multiple MinGW GCC will NOT work if an MinGW install is in X:\Mingw for any value of X!!

Tim S.

Newbie0815:
Since I´m using the C::B all in one installer, MinGW is located in
C:\CodeBlocks\MinGW

My idea was to download and extracxt the -w64 in
C:\CodeBlocks\MinGW64
Plus a "Copy of GNU GCC Compiler" with adjusted "Program files" settings.

As far as I remember, that´s what I´ve done half a year ago and it was working fine, based on C::B 8.02 plus a nightly.
But then .... after I´ve reinstalled my PC nothing works anymore, so I must be doing something wrong, or I have forgotten an important setting.

stahta01:
The above directions you used should work; without more info I see no way to help you.
"Nothing works" means nothing to me.

Tim S.

Newbie0815:
Let me see if I can explain it better.
As I said, I´ve reinstalled my PC, meaning format c:, install Win7 ultimate 64 bit.
Done Windows update, driver installation, everything running smooth.

Then I´ve installed C::B 10.05 including MinGW, left everything on default, only changed installation folder to c:\CodeBlocks, created a test application - build - run - all fine.

Then I´ve downloaded the latest MinGW-w64 from sourceforge, mingw-w64-bin_i686-mingw_20100617.zip.
Created the folder MinGW64, extracted the archive in there, then I went to compiler settings in C::B.
Made a "Copy of GNU GCC Compiler" and set that one to default.
Edited the "Compilers installation directory" and the "toolchain executables".
Created a test application, clicked "Build" and I got errors, by now I don´t even remember all of them anymore, I believe the first one said something like "... uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]".
After that I got into a mess, so I guess best is to restart from a fresh installed C::B 10.05 and redo it properly from there.

Navigation

[0] Message Index

[#] Next page

Go to full version