Hi list,
I'm trying to create the test dll on the neko website. I've added the include
directory and the neko directory for the lib and created the following cpp
#include <neko.h>
value test() {
return alloc_string("Hello world");
}
DEFINE_PRIM(test,0); // function test with 0 arguments
But when I compile, I get
error LNK2019: unresolved external symbol __imp__neko_alloc_string referenced
in function "struct _value * __cdecl test(void)" (?test@@YAPAU_value@@XZ)
I've tried retyping the include to
extern "C"
{
#include <neko.h>
}
as this should resolve any c to c++ naming modifications, but still I get the
error. I'm using VS2003.
Any idea's?
Mike
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
--
Neko : One VM to run them all
(http://nekovm.org)