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   |
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++ ...
Werner
[Updated on: Tue, 16 May 2006 21:37] Report message to a moderator
|
|
|
 |
|
605rc2 released
By: mirek on Mon, 15 May 2006 08:56
|
 |
|
Re: 605rc2 released
By: mr_ped on Mon, 15 May 2006 09:26
|
 |
|
Re: 605rc2 released
By: mirek on Mon, 15 May 2006 09:41
|
 |
|
Re: 605rc2 released
By: Werner on Tue, 16 May 2006 06:32
|
 |
|
Re: 605rc2 released
By: mirek on Tue, 16 May 2006 08:24
|
 |
|
Re: 605rc2 released
By: Werner on Tue, 16 May 2006 18:02
|
 |
|
Re: 605rc2 released
By: masu on Thu, 18 May 2006 12:53
|
 |
|
Re: 605rc2 released
By: unodgs on Thu, 18 May 2006 13:07
|
 |
|
Re: 605rc2 released
By: masu on Thu, 18 May 2006 13:18
|
 |
|
Re: 605rc2 released
By: mr_ped on Tue, 23 May 2006 21:49
|
 |
|
Re: 605rc2 released
By: mirek on Tue, 23 May 2006 23:26
|
 |
|
Re: 605rc2 released
By: mr_ped on Wed, 24 May 2006 08:55
|
 |
|
Re: 605rc2 released
By: mirek on Wed, 24 May 2006 11:13
|
 |
|
Re: 605rc2 released
By: zsolt on Fri, 26 May 2006 00:27
|
Goto Forum:
Current Time: Sun Aug 17 02:51:54 CEST 2025
Total time taken to generate the page: 0.05329 seconds
|