User forums > Help

Linker error with Microsoft Visual C++

<< < (2/3) > >>

Michael:

--- Quote from: rem on January 24, 2006, 12:39:15 am ---I'm using 1.0rc2 version of codeblocks.

--- End quote ---

Try a nightly build and see if it goes better for you.


--- Quote from: rem on January 24, 2006, 12:39:15 am ---I have installed sdk and I have msvcrtd.lib but not for my machine X86, there is only library for amd64 and IA64.

--- End quote ---

Then your library will probably not work on x86 (but I may be wrong). Did you try grv575 answer?


--- Quote from: rem on January 24, 2006, 12:39:15 am ---It is strange because I have this error even when I'm trying to compile this example without debugging symbols.

--- End quote ---

May be you have set to use debugging symbols in the global compiler options. And then even if you not select debugging symbols in project compiler options, it will be inherit from the global compiler options.

Michael

rem:
I installed microsoft platform sdk and Microsoft.NET SDK v2.0 but I cannot find msvcrt.lib or msvcrtd.lib there.



--- Quote ---May be you have set to use debugging symbols in the global compiler options. And then even if you not select debugging symbols in project compiler options, it will be inherit from the global compiler options.
--- End quote ---

I have set not to use debugging symbols in the global compiler options and project compiler options but still I the linker needs the msvcrtd.lib. And I have no idea why and where to get this library.

rem:
In the article "Integrating Microsoft Visual Toolkit 2003 with Code::Blocks IDE" I found this note:


--- Quote ----H2: If the project you are compiling complains that it cannot find "msvcrt.lib" then download the .NET 1.1 SDK and add to the END of the Directories->Linker tab:

C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\lib

Both the VC++ Toolkit 2003 and the platform SDK omit this library.

--- End quote ---

But in the .NET 1.1 SDK I haven't found this library or .NET 2.0 SDK either.

rem:
I have a question to those who are using microsoft visual c++ toolkit 2003. Do you need msvcrtd.lib to link your project? Do you have this library? And where is it? Thanks for any advice, rem.

tiwag:

--- Quote ---Do you need msvcrtd.lib to link your project?

--- End quote ---
you need it, if you want to build a debug version of your program.


--- Quote ---Do you have this library?
--- End quote ---
yes ;-)


--- Quote --- And where is it? Thanks for any advice, rem.

--- End quote ---
it is part of the Visual C (or Studio) but not part of the free toolkit - it is generally NOT freely available

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version