User forums > General (but related to Code::Blocks)

Linking error: crtbegin.o not found

<< < (2/2)

MortenMacFly:

--- Quote from: jens on February 01, 2011, 04:59:09 pm ---It does not need to be in path.

--- End quote ---
Sure not, but what I meant was besides the compiler he wants to use there might be another one in parallel in the PATH that got detected and therefore be used...?!

Jenna:
And what I meant is, that any x:\MinGW can interfere with a MinGW installation in another place, because it was (is?) hardcoded to search there.

MortenMacFly:

--- Quote from: jens on February 01, 2011, 05:45:33 pm ---And what I meant is, that any x:\MinGW can interfere with a MinGW installation in another place, because it was (is?) hardcoded to search there.

--- End quote ---
Ah - sorry, I misunderstood. :oops:

lpcstr:
I've never had MinGW on this machine before. I downloaded and installed the latest version using their GUI installer for Windows, then I installed Code::Blocks. MinGW didn't add anything to the PATH variable itself so I had to add it myself so I could run gcc from cmd.exe. If my installation is defective it has to be because of a defect in their installer or an incompatibility with Vista/7.

MortenMacFly:

--- Quote from: lpcstr on February 02, 2011, 06:04:01 am ---it has to be because of a defect in their installer or an incompatibility with Vista/7.

--- End quote ---
To make very sure you can copy the command line from the compiler log (assuming you have full command logging enabled, see my sig) and run it at the Windows command prompt (not using Code::Blocks). Another reason might be a dumb anti-virus solution and/or firewall blocking file operations too restrictive.

Navigation

[0] Message Index

[*] Previous page

Go to full version