Closed ghost closed 8 years ago
How did you link it? Did you call initlibpandadna
and init_libpandadna
in your code?
I built libpandadna with vs2010, then I set the libs to libpandadna.lib with NiraiCompiler('rebuilt.exe', libs=set(glob.glob('libpandadna/Release/libpandadna.lib')))
. I didn't know there were 2 functions I was meant to call, so I didn't call init_libpandadna. But, when I try to call it, it produces a link error: rebuilt.obj : error LNK2001: unresolved external symbol _init_libpandadna
.
@loblao Is there anything you can think of to solve this problem? Thanks in advance :D
I think this is actually a libpandadna issue. I'm going to close this issue and make a new one there.
Hi, I'm not sure if this is nirai or libpandadna issue, but I posted it here because I thought it belongs in nirai issues, not libpandadna issues. Anyway, I can link it fine, but the executable doesn't like it.
Any ideas?