RE: [Plib-users] including sg.h problems
Brought to you by:
sjbaker
From: Clay, B. <bc...@ba...> - 2004-04-06 12:34:49
|
Brian: It looks like the sg lib is built using debug code generation while the rest is built with multi-threaded debug code generation. Double check the build settings for your libraries and projects. If they are all ok then you could try putting libcd.lib on the ignore library list in VC6 link tab Bruce -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Brian Smith Sent: Tuesday, April 06, 2004 12:29 AM To: pli...@li... Subject: [Plib-users] including sg.h problems I'm using VC++ 6.0 on windows XP, I built all the libraries for plib 1.8.2=20 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=20 LIBCD.lib(dosmap.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __alloc_osfhnd already defined in=20 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=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __get_osfhandle already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in=20 LIBCD.lib(osfinfo.obj) LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in=20 LIBCD.lib(lseek.obj) LIBCMT.lib(write.obj) : error LNK2005: __write already defined in=20 LIBCD.lib(write.obj) LIBCMT.lib(tolower.obj) : error LNK2005: __tolower already defined in=20 LIBCD.lib(tolower.obj) LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in=20 LIBCD.lib(tolower.obj) LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other=20 libs; use /NODEFAULTLIB:library Debug/Baseball.exe : fatal error LNK1169: one or more multiply defined=20 symbols found This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles and=20 links with no problems), Files that don't rely on sg.h work, sg.h seems to=20 be the source. Anyone can help thanks in advance _________________________________________________________________ Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available.=20 http://join.msn.com/?pgmarket=3Den-us&page=3Dhotmail/es2&ST=3D1/go/onm002= 00362 ave/direct/01/ ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck _______________________________________________ plib-users mailing list pli...@li... https://lists.sourceforge.net/lists/listinfo/plib-users |