User forums > Help

Problems compiling in Vista

(1/2) > >>

Phant:
I downladed the latest nightly build of codeblocks and i'm trying to use it at Windows Vista. And surprise... i can´t. I search for solutions and between google and this forum, i found many comments related with this issue. After spent hours fighting to put the compiler working i end in a error like this:

C-------------- Build: Debug in exerc ---------------

Linking console executable: bin\Debug\exerc.exe
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lstdc++
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings

Seems i will need some help. Thank you all.

mandrav:

--- Quote from: Phant on November 29, 2007, 10:49:37 pm ---I search for solutions and between google and this forum, i found many comments related with this issue.

--- End quote ---

Search the forum using "vista collect2", without the quotes...

Phant:

--- Quote ---Search the forum using "vista collect2", without the quotes...
--- Quote ---
I just did! But i can´t find a solution for my problem. Can you be more specific? Sorry about the inconvenient.  :?
--- End quote ---

--- End quote ---

MortenMacFly:

--- Quote from: Phant on November 29, 2007, 11:22:02 pm ---I just did! But i can´t find a solution for my problem. Can you be more specific? Sorry about the inconvenient.  :?

--- End quote ---
The MinGW GCC 3.4.5 compiler suite has issues with Windows Vista and simply won't work out-of-the-box. The result is as you described. There are several hacks around to resolve the problem. I personally see only 2 serious solutions:

1.) Use the 4.x.x compiler streamline. They are not yet officially released (only as "technology preview") but they woirk with vista. Alternatively you can also use TDragon's GCC (google for it) which is also 4.x.x based. Keep in mind that I wouldn't use it for production code - as it is still some kind of an alpha/beta release under Windows, really.

2.) Use already re-compiled 3.4.5 binaries from Danny Smith who fixed this bug. But keep in mind they are gcc and g++ only. If you use other languages (like Fortran) you are lost here. You can download the update (!) from Brian Dessent here: http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz (see: http://gcc.gnu.org/ml/gcc/2007-05/msg00228.html more more info).

With regards, Morten.

Ps.: Searching the forum before would have revealed the same. I guess that's why mandrav was not so mcuh into many words. ;-)

yaninahemilse:

--- Quote from: MortenMacFly on November 30, 2007, 07:31:29 am ---
--- Quote from: Phant on November 29, 2007, 11:22:02 pm ---I just did! But i can´t find a solution for my problem. Can you be more specific? Sorry about the inconvenient.  :?

--- End quote ---
The MinGW GCC 3.4.5 compiler suite has issues with Windows Vista and simply won't work out-of-the-box. The result is as you described. There are several hacks around to resolve the problem. I personally see only 2 serious solutions:

1.) Use the 4.x.x compiler streamline. They are not yet officially released (only as "technology preview") but they woirk with vista. Alternatively you can also use TDragon's GCC (google for it) which is also 4.x.x based. Keep in mind that I wouldn't use it for production code - as it is still some kind of an alpha/beta release under Windows, really.

2.) Use already re-compiled 3.4.5 binaries from Danny Smith who fixed this bug. But keep in mind they are gcc and g++ only. If you use other languages (like Fortran) you are lost here. You can download the update (!) from Brian Dessent here: http://dessent.net/tmp/gcc-vista-3.4.5-20060117-1.tar.gz (see: http://gcc.gnu.org/ml/gcc/2007-05/msg00228.html more more info).

With regards, Morten.

Ps.: Searching the forum before would have revealed the same. I guess that's why mandrav was not so mcuh into many words. ;-)

--- End quote ---

Here's my problem...
I'm not an English native, I'm very very way too very new to the programming world and CodeBlocks in Windows Vista keeps throwing me this ungodly warning whenever I try to compile or even start a new proyect (see attachment).

Thanks in advance and I'm very sorry if this isn't the right topic but I'm starting to feel hopeless just because I can't use my notebook in class.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

Go to full version