User forums > Help

missing crtbegin.o only in codeblocks with LD

(1/1)

hckr83:
Ok, so I upgraded to the latest nightly(nov 15) and now I have this problem, but I don't think it is soemthing with the nightly...

I use a makefile to build my project, when I press compile, everything works until it gets to linking, and then it says "crtbegin.o not found" but the strange part is that it will make fine if I run it from the command prompt...

I really do not see how codeblocks is interferring with this because the path var seems to not be affected..

what could the problem be?

stahta01:
Compiler miss-installed, but since you say it works from the command line this is not likely.

Code::Blocks miss-configured is the next possibility.

Note, if running windows Vista, then that could be the cause.
( http://wiki.codeblocks.org/index.php?title=Installing_MinGW_with_Vista )

What compiler and compiler version? MinGW GCC 3.4.5 MinGW GCC 4.2.1 etc.

What is your compiler installation folder? C:\MinGW

Tim S

 

hckr83:
3.4.5 and C:\MinGW

I am running Vista, but got it all working...

I was using a nightly from September sometime and it worked, but this new one doesn't...possibly a bug in the nightly?

edit:
I was using revision 4241

stahta01:
Did you verify that the additional paths are still correct?

And, in your case the Linker Search Directory must be checked and the proper value put in.


--- Code: ---C:\MinGW\lib\gcc\mingw32\3.4.5
--- End code ---


Note, makefile builds are not used by the devs much, so they might be broken.

Tim S

hckr83:

--- Quote from: stahta01 on November 18, 2007, 09:09:07 pm ---Did you verify that the additional paths are still correct?

And, in your case the Linker Search Directory must be checked and the proper value put in.


--- Code: ---C:\MinGW\lib\gcc\mingw32\3.4.5
--- End code ---


Note, makefile builds are not used by the devs much, so they might be broken.

Tim S

--- End quote ---

I just don't quite understand how it can break makefile builds, as they are independent of everything but the binary search directory...(and it may even be independent of it) for now, I'm keeping to the old version I was using until this gets fixed...

Navigation

[0] Message Index

Go to full version