So I'm trying to compile a big project that uses PIN and Python. The problem is that PIN has some types that are the same than the ones in Python.
So what I did is creating a namespace PIN::
to avoid having ambiguous symbol
errors.
So now the code compiles fine but the linker is not finding the PIN symbols since it tries to find them using my custom PIN::
namespace and the lib
file does not have it.
Here is the error:
1>main.obj : error LNK2001: unresolved external symbol "void __cdecl PIN::LEVEL_PINCLIENT::PIN_UnlockClient(void)" (?PIN_UnlockClient@LEVEL_PINCLIENT@PIN@@YAXXZ)
Can I specify the linker that it needs to search for LEVEL_PINCLIENT::PIN_UnlockClient(void)
instead of PIN::LEVEL_PINCLIENT::PIN_UnlockClient(void)
??
Cheers