Looks like the neko.h file isn't being found.  Does it show on the command line 
construct displayed in the project properties?

Lee



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Knightly
Sent: 09 May 2006 11:40
To: [email protected]
Subject: [Neko] Error creating ndll

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)

--
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to