[Plib-users] including sg.h problems
Brought to you by:
sjbaker
From: Brian S. <sch...@ho...> - 2004-04-06 04:29:27
|
I'm using VC++ 6.0 on windows XP, I built all the libraries for plib 1.8.2 and am linking to them in my project, as well as all .h files are in the right place. My problem is when I include sg.h i get these link errors: Linking... LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __free_osfhnd already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj) LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in LIBCD.lib(lseek.obj) LIBCMT.lib(write.obj) : error LNK2005: __write already defined in LIBCD.lib(write.obj) LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in LIBCD.lib(tolower.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined symbols found This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles and links with no problems), Files that don't rely on sg.h work, sg.h seems to be the source. Anyone can help thanks in advance _________________________________________________________________ Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/ |