Skip to main content
GameDev.net gamedev.net
🔒 Locked

I can't figure this out

Started by warp X Jun 6, 2005 at 6:22 AM 4 replies 5.9k views
Original Post
warp X
warp X
I am getting these strange linker errors: FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8 FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol __RTC_CheckEsp FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol __RTC_InitBase FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol __RTC_InitBase FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol __RTC_Shutdown FreakoutVSdotNET2003_1 error LNK2001: unresolved external symbol __RTC_Shutdown FreakoutVSdotNET2003_1 error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function "int __cdecl DD_Init(int,int,int)" (?DD_Init@@YAHHHH@Z) FreakoutVSdotNET2003_1 error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "int __cdecl DD_Init(int,int,int)" (?DD_Init@@YAHHHH@Z) FreakoutVSdotNET2003_1 fatal error LNK1120: 4 unresolved externals Can anyone help me? Have I forgot to include a lib or something like that? I am trying to compile the Freakout example from "Tricks of the Windows game programming gurus" with VS.NET 2003. The code is in C/C++.
"I got stuck between levels 4 and 5 and got into this strange place: warp X..."
Sandman
Sandman
The missing symbols are part of the RunTime Check system which are called depending on certain compiler settings.

Go to Projects->Properties->C/C++->Code Generation and check the settings in there - particularly the 'Basic Runtime Checks' and the 'Runtime Library' settings. You may have a nonsensical combination in there which is causing these problems. It may also be that your library path is pointing at an out of date C Runtime Library - check the library paths under tools->options->Projects->VC++ Directories->Library files, and make sure you've got the most recent files at the top of the list.
warp X
warp X
Thanks, sandman, that worked. Got it compiled and runnin'. It was just really strange beacause it compiled ok with vc++ 6.0 straight out.
"I got stuck between levels 4 and 5 and got into this strange place: warp X..."
vietdoor
vietdoor
With that code, we can run on Studio.net ?

I had a source called by decklinkframesource. This code communicate with DeckLink card (Graphic card).

I can't compile it on Studio.net . I got some errors the same as

CustomAllocator.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "public: static class CUnknown * __stdcall CCustomAllocator::CreateInstance(struct IUnknown *,long *)" (?CreateInstance@CCustomAllocator@@SGPAVCUnknown@@PAUIUnknown@@PAJ@Z)
DecklinkFrameSource.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function "public: __thiscall CDecklinkPushPin::CDecklinkPushPin(long *,class CSource *)" (??0CDecklinkPushPin@@QAE@PAJPAVCSource@@@Z)
setup.obj : error LNK2001: unresolved external symbol __RTC_CheckEsp
CustomAllocator.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
DecklinkFrameSource.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
setup.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
CustomAllocator.obj : error LNK2001: unresolved external symbol __RTC_InitBase
DecklinkFrameSource.obj : error LNK2001: unresolved external symbol __RTC_InitBase
------------------------------------ERP VietNam: [url=http://www.erpvn.net][/url]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.