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 #3249 is a reply to message #3247] Tue, 16 May 2006 18:02 Go to previous messageGo to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
luzr wrote on Tue, 16 May 2006 08:24

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



Thanks! I have got it, although there was quite a time of confusion when I was trying to handle TheIDE as sort of Visual C++ ... Embarassed

Werner

[Updated on: Tue, 16 May 2006 21:37]

Report message to a moderator

 
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: Sun Aug 17 02:51:54 CEST 2025

Total time taken to generate the page: 0.05329 seconds