Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » 605rc2 released
Re: 605rc2 released [message #3247 is a reply to message #3246] Tue, 16 May 2006 08:24 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Werner wrote on Tue, 16 May 2006 00:32

Under Windows (XP) building the SDLExample doesn't work with the MS Visual C++ 2005 Express Edition (whereas MINGW works fine).

You get the follwing error message:

"LIBCMT.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
...\out\MSC8.\SDLExample.exe : fatal error LNK1169: one or more multiply defined symbols found"

If you use "/NODEFAULTLIB:msvcrt.lib" you get "7 unresolved externals".

Maybe this is due to "If you link your program from the command line without a compiler option that specifies a C run-time library, the linker will use LIBCMT.LIB. This is different from previous versions of Visual C++ which used LIBC.LIB, the single-threaded library, instead." (MSDN)

The linker seems to miss a library. But so far I can't figure out which one.

Any ideas?

Werner



You have to switch the mode to "shared". Actually, I quite with this (I would like to see anything compiled as static in Win32/MSC), but see no easy solution there.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Upp B605-dev1 released
Next Topic: Upp 606-dev1 released
Goto Forum:
  


Current Time: Mon Jun 23 15:40:52 CEST 2025

Total time taken to generate the page: 0.04208 seconds