Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Kazan on February 28, 2005, 08:46:05 pm

Title: wtf - link errors
Post by: Kazan on February 28, 2005, 08:46:05 pm
ugh  nevermind figured it out (Hopefully) seems we're using a newer version of the dx9sdk now
Title: wtf
Post by: Carl on February 28, 2005, 09:46:12 pm
and bvefore they said they were gonna stay at dx8. go figure.
Title: wtf
Post by: Kazan on February 28, 2005, 09:56:29 pm
still not fixed by update


link errors in release

Code: [Select]

Linking...
libjpeg.lib(jquant2.obj) : error LNK2001: unresolved external symbol ___security_cookie
libjpeg.lib(jdmarker.obj) : error LNK2001: unresolved external symbol ___security_cookie
libjpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol ___security_cookie
libjpeg.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol ___security_cookie
libjpeg.lib(jdhuff.obj) : error LNK2001: unresolved external symbol ___security_cookie
libjpeg.lib(jquant2.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libjpeg.lib(jdmarker.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libjpeg.lib(jerror.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libjpeg.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libjpeg.lib(jdhuff.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
libjpeg.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __ftol2
C:\games\freespace2\fs2_open_r.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.




link errors in debug

Code: [Select]

Linking...
LINK : warning LNK4075: ignoring /INCREMENTAL due to /DEBUGTYPE specification
libjpeg_d.lib(jmemansi.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdcolor.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdmerge.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jquant2.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jquant1.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdphuff.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jddctmgr.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdpostct.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdsample.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jutils.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdmainct.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdhuff.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdmaster.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdmarker.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdinput.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jcomapi.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdapimin.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jerror.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jdapistd.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
libjpeg_d.lib(jidctred.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jmemansi.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jidctfst.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jidctint.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdcolor.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdmerge.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jquant2.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jquant1.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdphuff.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jddctmgr.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdpostct.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdsample.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jutils.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdmainct.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdhuff.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdmaster.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdmarker.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdinput.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jcomapi.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdapimin.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jerror.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jdapistd.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
libjpeg_d.lib(jidctred.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jmemansi.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jidctfst.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jidctint.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdcolor.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdmerge.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jquant2.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jquant1.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdphuff.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jddctmgr.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdpostct.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdsample.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jutils.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdmainct.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdhuff.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdmaster.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdmarker.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdinput.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jcomapi.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdapimin.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jerror.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jdapistd.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
libjpeg_d.lib(jidctint.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jidctred.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdmerge.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jquant2.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jidctflt.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jidctfst.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdcoefct.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdhuff.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdphuff.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdpostct.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jerror.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdapistd.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdmarker.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jmemmgr.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
libjpeg_d.lib(jdmarker.obj) : error LNK2001: unresolved external symbol __RTC_UninitUse
libjpeg_d.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __ftol2
C:\games\freespace2\fs2_open_d.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Title: wtf
Post by: phreak on February 28, 2005, 10:04:51 pm
http://icculus.org/~taylor/misc/libjpeg-sdk.zip
Title: wtf
Post by: Kazan on February 28, 2005, 10:16:41 pm
is that different from the one that WMC gave me
Title: wtf
Post by: phreak on February 28, 2005, 10:13:48 pm
dunno.  its what i used; however, i never saw those specific linker errors :wtf:
Title: wtf
Post by: Kazan on February 28, 2005, 10:22:58 pm
stupid time warps

i get a debug info WARNING when linking, but link succeeds - w00t
Title: wtf
Post by: Goober5000 on February 28, 2005, 10:34:16 pm
Quote
Originally posted by Carl
and bvefore they said they were gonna stay at dx8. go figure.
I didn't see what came first in this thread, but we're still going to stay with dx8, at least for the forseeable future.
Title: wtf
Post by: Bobboau on March 01, 2005, 12:02:11 am
it's just most of us use an SDK capable of d3d9
Title: wtf
Post by: Goober5000 on March 01, 2005, 02:08:16 am
The major problem is that DirectX9 isn't installable on Win98 or WinME.
Title: wtf
Post by: Bobboau on March 01, 2005, 02:23:57 am
well we could always... add a d3d9 graphic abstraction...
Title: wtf
Post by: Kazan on March 01, 2005, 09:10:14 am
it wasn't the DXSDK - it was the copy of the jpeglib sdk WMC gave me
Title: wtf
Post by: taylor on March 01, 2005, 11:36:18 am
Quote
Originally posted by Goober5000
The major problem is that DirectX9 isn't installable on Win98 or WinME.

I don't think the newest DX9 SDK works on Win2000 either.

Quote
Originally posted by Kazan
it wasn't the DXSDK - it was the copy of the jpeglib sdk WMC gave me

Because it was built with a .Net (or 2005) version of MSVC++ and has the security features turned on (Buffer Securirty Check, under C++->Code Generation).  That has to be turned off to link against libs from MSVC6.  I had the same problem with my libjpeg SDK early on.  I'm just going to go ahead and add the jpeg source to CVS though so that you don't have to keep track of the SDK and so that it will be built properly for every system.
Title: wtf
Post by: Inquisitor on March 02, 2005, 09:30:30 am
the newest dx9 sdk also apparently requires VS7/.Net