Hi
I'm porting my linux based game to Windows - and everything is compiling ok except for these three lines
1>Finished searching libraries
1>as_callfunc_x64_msvc.obj : error LNK2019: unresolved external symbol CallX64 referenced in function "unsigned __int64 __cdecl CallSystemFunctionNative(class asCContext *,class asCScriptFunction *,void *,unsigned long *,void *,unsigned __int64 &)" (?CallSystemFunctionNative@@YA_KPEAVasCContext@@PEAVasCScriptFunction@@PEAXPEAK2AEA_K@Z)
1>as_callfunc_x64_msvc.obj : error LNK2019: unresolved external symbol GetReturnedFloat referenced in function "unsigned __int64 __cdecl CallSystemFunctionNative(class asCContext *,class asCScriptFunction *,void *,unsigned long *,void *,unsigned __int64 &)" (?CallSystemFunctionNative@@YA_KPEAVasCContext@@PEAVasCScriptFunction@@PEAXPEAK2AEA_K@Z)
1>as_callfunc_x64_msvc.obj : error LNK2019: unresolved external symbol GetReturnedDouble referenced in function "unsigned __int64 __cdecl CallSystemFunctionNative(class asCContext *,class asCScriptFunction *,void *,unsigned long *,void *,unsigned __int64 &)" (?CallSystemFunctionNative@@YA_KPEAVasCContext@@PEAVasCScriptFunction@@PEAXPEAK2AEA_K@Z)
1>C:\Users\X\Source\Repos\pd\x64\Debug\pd.exe : fatal error LNK1120: 3 unresolved externals
I assume this means that I'm not linking a particular windows library in - but I really have no idea on how to start looking for what it might be.
Any suggestions?
Thanks
EDIT**
Ok - found I was missing as_callfunc_x64_msvc_asm.asm - which defines those three functions. Now - to figure out how to compile this - I have the custom build command from the help page
ml64.exe /c /nologo /Fo$(OutDir)\as_callfunc_x64_msvc_asm.obj /W3 /Zi /Ta $(InputDir)\$(InputFileName)
How do I run this as a custom build on this one file?