http://nekovm.org/doc/ffi
and
http://haxe.org/doc/neko/ffi
are good points to start.
For build instructions and stuff like this check out existing neko
libraries.
Laurent Kappler wrote:
ok fixed...sorry Philippe, I checked the NEKOPATH which include path
to /usr/lib/neko and otheres but not /usr/local/neko ...dumb :)
Thank you for your time and for the hxGD ;)
I would be interested in finding some documentation about making ndll,
if you know some.
thank you
Laurent
Philipp Klose a écrit :
Have you installed libGD? I don't know what kind of error message you
get if libGD is not available.
Did you get any error during "make"? What do you get when you run
"make clean" and "make" in this order? After building the ndll on you
own you also need to copy it to a location where it could be loaded
by neko. All other neko libraries are working fine?
Laurent Kappler wrote:
after building the ndll from source I do this:
TheHippo-hxGD-6700f22 # ls
build.hxml hxGD makefile nGD.ndll README src Test1.hx
TheHippo-hxGD-6700f22 # haxe build.hxml
TheHippo-hxGD-6700f22 # ls
build.hxml hxGD makefile nGD.ndll README src Test1.hx test1.n
TheHippo-hxGD-6700f22 # neko text1.n
Uncaught exception - load.c(176) : Module not found : text1.n
this is how I am suppose to test it ?
thank you for the help..!
Laurent
Philipp Klose a écrit :
Ok, thats kind of strange. I reinstalled it on a fresh machine and
it works fine.
Do you have libGD installed on you machine? (on Ubuntu/Debian it is
libgd2-xpm or something similar.) Have you tried to build it from
sources? (http://github.com/TheHippo/hxGD)
Laurent Kappler wrote:
yes, I used haxelib to install hxGD. Then it could not find the
ndll so I copy it in /usr/local/neko/ where all the std.ndll, etc
are.
chmod 755 nGD.ndll
my neko installation have been working fine for a long time. What
do you think it could be there? re-install ??
thx
Laurent
Philipp Klose a écrit :
Put it into the folder where your *.n file is or where all the
other *.ndll files are. (mysql.ndll, std.ndll, etc.) If this does
not work you have some other issues with you neko installation.
Easiest way always is to use it in combination with haxe / haxelib.
Laurent Kappler wrote:
Hi,
I put the nGD.ndll in /usr/local/neko/
chmod 715
still my website output error:
Uncaught exception - load.c(232) : Failed to load library :
nGD.ndll
What could I look for?
thx
Laurent
--
Neko : One VM to run them all
(http://nekovm.org)