SA-MP Forums Archive
SAMPGDK + Dyncall + AntiCheat = Lib link error (1 error) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: SAMPGDK + Dyncall + AntiCheat = Lib link error (1 error) (/showthread.php?tid=305556)



SAMPGDK + Dyncall + AntiCheat = Lib link error (1 error) - Gamer_Z - 23.12.2011

Hello,
I tried to update the AntiCheat plugin with the new SampGDK 2.1.0 but ALWAYS (even a few months ago) when I include dyncall i get this error:

Code:
1>------ Build started: Project: AntiCheat, Configuration: Release Win32 ------
 1> Creating library C:\Users\Rafal\Desktop\AntiCheat\source\Release\AntiCheat.lib and object C:\Users\Rafal\Desktop\AntiCheat\source\Release\AntiCheat.exp
 1>dyncall.lib(dyncall_callvm_x86.obj) : error LNK2001: unresolved external symbol _dc_callvm_base_init
 1>C:\Users\Rafal\Desktop\AntiCheat\source\Release\AntiCheat.dll : fatal error LNK1120: 1 unresolved externals
 ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Added references, used tutorial etc. everything is in correct position and directories.. Eh. I don't get ut.. the test project from the dyncall 0.6 package does give the same error though... do I need to define something on my x64 machine?

DC__OS_Win32 is automatically defined in dyncall_macros.h , so it's for 32 bit systems.

If you need the source (new SampGDK+AntiCheat source+ Dyncall source - 'ready-to-compile' windows solution - just the error...)
http://gpb.googlecode.com/files/Anti...ll-problem.zip