Yes, it does show. I'm not a great c++ programmer, but I've done this sort of thing a few times. I just can't get the darn thing to compile. It's such a simple script too :-S. My guess is that the neko.h file is specific to C programming, so the C++ compiling screws this up. I've only taught myself a bit of C++, so I'm not sure where to go with these incompatibility problems in compilers.
Mike
----- Original Message -----
From: "Lee McColl-Sylvester" <[EMAIL PROTECTED]>
To: "Neko intermediate language mailing list"
Subject: RE: [Neko] Error creating ndll
Date: Tue, 9 May 2006 12:04:55 +0100
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
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
}
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)
--
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/
-- Neko : One VM to run them all (http://nekovm.org)
