Compile errors
by Paul Edwards · in · 02/10/2005 (12:43 am) · 2 replies
Hi,
I just downloaded the SGLP and am a bit confused on the merging process. When I unzipped the file, it seems like it already includes all the Torque SDK files as well so it's as if I can just compile the .sln in the Synapse Gaming directory as oppsed to the TGE SDK directory? I tried doing that and I got these compile errors:
------ Build started: Project: texture2bm8, Configuration: Debug Win32 ------
Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LIBCMT.lib(close.obj) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
LIBCMT.lib(read.obj) : error LNK2005: __read already defined in LIBCD.lib(read.obj)
LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in LIBCD.lib(lseek.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: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __getmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: ___initmbctable already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(write.obj) : error LNK2005: __write already defined in LIBCD.lib(write.obj)
LIBCMT.lib(lseeki64.obj) : error LNK2005: __lseeki64 already defined in LIBCD.lib(lseeki64.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
../tools/texture2bm8_DEBUG.exe : fatal error LNK1169: one or more multiply defined symbols found
Build log was saved at "file://c:\Development Tools\Torque\SynapseGaming\contentPacks\LightingPack\tools\out.VC6.DEBUG\texture2bm8\BuildLog.htm"
texture2bm8 - 15 error(s), 2 warning(s)
I compiled the normal TGE demo SDK with no problems. I was hoping I could avoid using WinMerge for the moment as I've never used it before. If I need to merge the lighting pack into the TGE then ok. Is there a integration guide anywhere? I noticed some other posts about the lighting pack code having comments around it specifying that it is part of the lighting pack code. I'm guessing I use this as a way of merging the code? Sorry, this is all probably very simple stuff, but thanks for any help.
Ed
I just downloaded the SGLP and am a bit confused on the merging process. When I unzipped the file, it seems like it already includes all the Torque SDK files as well so it's as if I can just compile the .sln in the Synapse Gaming directory as oppsed to the TGE SDK directory? I tried doing that and I got these compile errors:
------ Build started: Project: texture2bm8, Configuration: Debug Win32 ------
Linking...
LINK : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
LIBCMT.lib(dosmap.obj) : error LNK2005: __dosmaperr already defined in LIBCD.lib(dosmap.obj)
LIBCMT.lib(close.obj) : error LNK2005: __close already defined in LIBCD.lib(close.obj)
LIBCMT.lib(read.obj) : error LNK2005: __read already defined in LIBCD.lib(read.obj)
LIBCMT.lib(lseek.obj) : error LNK2005: __lseek already defined in LIBCD.lib(lseek.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: __alloc_osfhnd already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(osfinfo.obj) : error LNK2005: __open_osfhandle already defined in LIBCD.lib(osfinfo.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __getmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: __setmbcp already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(mbctype.obj) : error LNK2005: ___initmbctable already defined in LIBCD.lib(mbctype.obj)
LIBCMT.lib(write.obj) : error LNK2005: __write already defined in LIBCD.lib(write.obj)
LIBCMT.lib(lseeki64.obj) : error LNK2005: __lseeki64 already defined in LIBCD.lib(lseeki64.obj)
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
../tools/texture2bm8_DEBUG.exe : fatal error LNK1169: one or more multiply defined symbols found
Build log was saved at "file://c:\Development Tools\Torque\SynapseGaming\contentPacks\LightingPack\tools\out.VC6.DEBUG\texture2bm8\BuildLog.htm"
texture2bm8 - 15 error(s), 2 warning(s)
I compiled the normal TGE demo SDK with no problems. I was hoping I could avoid using WinMerge for the moment as I've never used it before. If I need to merge the lighting pack into the TGE then ok. Is there a integration guide anywhere? I noticed some other posts about the lighting pack code having comments around it specifying that it is part of the lighting pack code. I'm guessing I use this as a way of merging the code? Sorry, this is all probably very simple stuff, but thanks for any help.
Ed
About the author
Torque Owner James Dunmow
The short of it is, as I understand it, that texture2bm8 isn't used anymore so you can safely ignore the errors (if not remove it from your project entirely).