Skip to main content
GameDev.net gamedev.net
🔒 Locked

SDL conflicting with the default library? (VC++ 6.0)

Started by LonelyTower Mar 10, 2004 at 9:13 AM 1 replies 4.1k views
Original Post
LonelyTower
LonelyTower
Hi all, I have been trying to setup SDL with Visual C++ 6.0 and when linking get this warning message:
quote:
MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
Checked up all the docs and found no mention of it. The SDL demo runs fine though. Shall I heed this warning? How do I settle this problem? Thanks in advance!
"Magic makes the world go round." - Erasmus, Quest For Glory I
Deranged
Deranged
you need to add

/NODEFAULTLIB:MSVCRTD.lib

Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Click the Linker folder.
Click the Input property page.
Modify the Ignore All Default Libraries or Ignore Specific Library property.

add

/NODEFAULTLIB:MSVCRTD.lib





typedef unsigned long long int me;
typedef signed short char you;

[edited by - deranged on March 10, 2004 10:17:07 AM]

[edited by - deranged on March 10, 2004 10:20:43 AM]
LonelyTower
LonelyTower
Thanks, I finally got it.
"Magic makes the world go round." - Erasmus, Quest For Glory I

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.