User forums > General (but related to Code::Blocks)
Strange problem with compiler
stahta01:
--- Quote from: MoniqueDumont on January 21, 2014, 10:39:00 pm ---Yes but the upper logs are the logs I get when I set GNU GCC in the project's build options. Is that what you meant ? What do these logs mean ?
--- End quote ---
Have you made the decision? If yes, what did you decide to do?
Edit: To fix the project; remove the MSVC options that are in the Compiler/Linker other options section in the project.
Tim S.
MoniqueDumont:
Okay now I'm getting
--- Code: ---||=== Build: Debug in Problem 22 (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lmsvcrtd.lib|
ld.exe||cannot find -lmsvcprtd.lib|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
--- End code ---
I removed the options here :
and in Debug/Release, is that what you meant ?
stahta01:
--- Quote from: MoniqueDumont on January 21, 2014, 11:17:35 pm ---Okay now I'm getting
--- Code: ---||=== Build: Debug in Problem 22 (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lmsvcrtd.lib|
ld.exe||cannot find -lmsvcprtd.lib|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
--- End code ---
I removed the options here :
and in Debug/Release, is that what you meant ?
--- End quote ---
Yes, for the Compiler "other options"
Also, you need to check the "Linker Settings" other options and remove the libs not supplied by your MinGW GCC.
Tim S.
MoniqueDumont:
--- Quote from: stahta01 on January 22, 2014, 12:54:49 am ---Yes, for the Compiler "other options"
Also, you need to check the "Linker Settings" other options and remove the libs not supplied by your MinGW GCC.
Tim S.
--- End quote ---
I did remove Linker Options too, and I get the errors from the previous post.
stahta01:
--- Quote from: MoniqueDumont on January 22, 2014, 01:02:38 am ---
--- Quote from: stahta01 on January 22, 2014, 12:54:49 am ---Yes, for the Compiler "other options"
Also, you need to check the "Linker Settings" other options and remove the libs not supplied by your MinGW GCC.
Tim S.
--- End quote ---
I did remove Linker Options too, and I get the errors from the previous post.
--- End quote ---
As I said remove the libs in the error you posted from the Linker Settings!
Edit2: You posted a picture of the "Compiler Settings" look to the right and you should see the Linker Settings in the Project Build Options.
Edit: "-lmsvcrtd.lib" A lib that needs removed; likely called "msvcrtd.lib" in the linker settings screen.
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version