Thanks Dan, I havent used them yet(never used sdl before) but I managed to
compile.
Get Em Ere!
http://www.selfmedicatedandlivinginabucket.com/nekoSDL_win32.zip
(by the way just because i managed to compile them doesnt mean they work)
Details;
Downloaded MINGW installer from
http://sourceforge.net/forum/forum.php?forum_id=539405
Download SDL-devel-1.2.10-mingw32.tar.gz from
http://www.libsdl.org/download-1.2.php
Apparently gettimeofday is a posix function or whatever
a solution is http://mywebpage.netscape.com/yongweiwu/timeval.h.txt by By
Wu Yongwei
however you had timeval defined already so i uncommented it from timeval.h
and modified cptr.c with this:
#include <sys/time.h>
#include <sys/timeval.h>
C:\mrLeachy\nekosrc\neko-sdl>gcc -shared -L. -L./SDL/lib -lneko -lSDLmain
-lSDL
-I. -I./SDL/include -o SDL.ndll SDL_wrap.c cptr.c
SDL_wrap.c: In function `neko_SDL_SetGammaRamp':
SDL_wrap.c:2483: warning: passing arg 1 of `SDL_SetGammaRamp' from
incompatible
pointer type
SDL_wrap.c:2483: warning: passing arg 2 of `SDL_SetGammaRamp' from
incompatible
pointer type
SDL_wrap.c:2483: warning: passing arg 3 of `SDL_SetGammaRamp' from
incompatible
pointer type
SDL_wrap.c: In function `neko_SDL_GetGammaRamp':
SDL_wrap.c:2495: warning: passing arg 1 of `SDL_GetGammaRamp' from
incompatible
pointer type
SDL_wrap.c:2495: warning: passing arg 2 of `SDL_GetGammaRamp' from
incompatible
pointer type
SDL_wrap.c:2495: warning: passing arg 3 of `SDL_GetGammaRamp' from
incompatible
pointer type
C:\mrLeachy\nekosrc\neko-sdl>
after that I just did
C:\mrLeachy\nekosrc\haxe-1.01>haxe -neko SDL__.hx SDL__
C:\mrLeachy\nekosrc\haxe-1.01>haxe -neko SDL.hx SDL
Zip'd It Up and Uploaded
--
Neko : One VM to run them all
(http://nekovm.org)