Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Tjaalie on December 19, 2006, 07:18:25 pm
-
Dear Thread reader,
I feel so stupit, I added one source file to my project and now I can't compile anymore :?
But when I removed the file from the project the error remained. I will post my build log below:
-------------- Build: Debug in Sea Wars ---------------
Compiling: ..\Src\GameBase.cpp
Compiling: ..\Src\Input.cpp
Compiling: ..\Src\Render.cpp
Compiling: ..\Src\Sea.cpp
Compiling: ..\Src\SkyBox.cpp
Compiling: ..\Src\Texture.cpp
Compiling: ..\Src\Window.cpp
Compiling: ..\Src\Game.cpp
Linking console executable: ..\..\..\Bin\Sea Wars_d.exe
collect2: ld returned 255 exit status
Process terminated with status 1 (0 minutes, 39 seconds)
0 errors, 0 warnings
I have no idea why he would return error status 255, I have googled my ass of to find the ld error codes and their descriptions but no luck. Can someone please help me with this?
Tjaalie,
-
I get a 255 when CB cannot find a program its looking for.
Check to make sure that CB knows where your linker is.
Settings=>Compiler&Debugger=> (tab)Programs
-
I fixed it, I needed to reinstall code blocks. I think becouse of they popup compiler selection box it changed some paths (I munaly installed mingw) and I was using multiple versions.