RE: [Plib-users] including sg.h problems
Brought to you by:
sjbaker
From: Clay, B. <bc...@ba...> - 2004-04-06 12:58:28
|
Steve: I am not using sg in my app. Are there any sg apps in the examples that I could test this with? It might also be just something in Brian's setup. If he doesn't get back to you before you are ready to cut the release, let me know if you need something tested. Bruce -----Original Message----- From: pli...@li... [mailto:pli...@li...] On Behalf Of Steve Baker Sent: Tuesday, April 06, 2004 8:48 AM To: pli...@li...; pli...@li... Subject: Re: [Plib-users] including sg.h problems Clay, Bruce wrote: > Brian: > It looks like the sg lib is built using debug code generation while=20 > the rest is built with multi-threaded debug code generation. Double=20 > 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 I'm not Windows person - so I don't understand the subtlety of this. However, I'm planning on doing a 1.8.3 release of PLIB today and if changes are needed to the Windows build mechanism, I'd like to get them in ASAP so they'll be included in this release. > -----Original Message----- > From: pli...@li... > [mailto:pli...@li...] On Behalf Of Brian=20 > Smith > Sent: Tuesday, April 06, 2004 12:29 AM > To: pli...@li... > Subject: [Plib-users] including sg.h problems >=20 >=20 > I'm using VC++ 6.0 on windows XP, I built all the libraries for plib=20 > 1.8.2 and am linking to them in my project, as well as all .h files=20 > are in the >=20 > right place. My problem is when I include sg.h i get these link=20 > errors: >=20 > 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=20 > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __set_osfhnd already defined in >=20 > 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=20 > defined in > LIBCD.lib(osfinfo.obj) > LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already=20 > 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=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 > symbols found >=20 >=20 > This happens when I #include <plib/sg.h> (#inclde<plib/ul.h> compiles=20 > and links with no problems), Files that don't rely on sg.h work, sg.h=20 > seems to > be the source. Anyone can help thanks in advance >=20 > _________________________________________________________________ > Free up your inbox with MSN Hotmail Extra Storage! Multiple plans=20 > available.=20 > = http://join.msn.com/?pgmarket=3Den-us&page=3Dhotmail/es2&ST=3D1/go/onm002= 003 > 62 > ave/direct/01/ >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of=20 > GenToo technologies. Learn everything from fundamentals to system=20 > = administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of=20 > GenToo technologies. Learn everything from fundamentals to system=20 > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=3Dclick > _______________________________________________ > plib-users mailing list > pli...@li...=20 > https://lists.sourceforge.net/lists/listinfo/plib-users >=20 --=20 ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- ------------------------------------------------------- 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 |