Thread: [sdljava-users] SDL_gfx binding broken under Windows?
Status: Beta
Brought to you by:
ivan_ganza
From: Rainer K. <rai...@eb...> - 2005-03-06 20:35:44
|
Hello, I cannot use the SDL_gfx binding here, I am getting this error message when I try to run the included testgfx app: Native code library failed to load. java.lang.UnsatisfiedLinkError: .\lib\SDLJava_gfx .dll: A dynamic link library (DLL) initialization routine failed I tried building my own version of SDL_gfx 2.0.13 which doesn't work either. The other bindings seem to work fine. Cheers, Rainer |
From: Chris D. <Des...@nt...> - 2005-03-06 21:15:30
|
Rainer Koschnick wrote: > Hello, > > I cannot use the SDL_gfx binding here, I am getting this error message > when I try to run the included testgfx app: > > Native code library failed to load. > java.lang.UnsatisfiedLinkError: .\lib\SDLJava_gfx > .dll: A dynamic link library (DLL) initialization routine failed > > I tried building my own version of SDL_gfx 2.0.13 which doesn't work > either. The other bindings seem to work fine. I have problems with SDL_gfx as well (including when building it). If you work out how to fix it, please tell us ;) -- |>>> Dessimat0r /`\ | "We cannot turn back time, but we can _ _|_ _ move it forwards with our own hands." |;|_|;|_|;| \\. . / [www: http://codeknight.net ] \\: . / [e-mail: des...@nt... ] ||: U | /`\ [icq: 21477909 ] ||:. | [msn: des...@nt... ] \,/ ||: U.| ||: | \,/ ||: , | ____--`~--- '--~~__ __ ----~ - ~`---, -~--~ ~---__ ,--~' ~~----___ |
From: Sannie K. <sa...@in...> - 2005-03-06 21:33:40
|
Chris Dennett wrote: > Rainer Koschnick wrote: > >> Hello, >> >> I cannot use the SDL_gfx binding here, I am getting this error message >> when I try to run the included testgfx app: >> >> Native code library failed to load. >> java.lang.UnsatisfiedLinkError: .\lib\SDLJava_gfx >> .dll: A dynamic link library (DLL) initialization routine failed >> >> I tried building my own version of SDL_gfx 2.0.13 which doesn't work >> either. The other bindings seem to work fine. > > > I have problems with SDL_gfx as well (including when building it). If > you work out how to fix it, please tell us ;) > I've managed to build SDL_gfx successfully on the first try using mingw (with a little help from http://www.libsdl.org/extras/win32/mingw32/README.txt). If you want I can send you the resulting SDL_gfx.dll file via email. -- Sannie |
From: Chris D. <Des...@nt...> - 2005-03-06 22:18:03
|
Sannie Kwakman wrote: > > Chris Dennett wrote: > >> Rainer Koschnick wrote: >> >>> Hello, >>> >>> I cannot use the SDL_gfx binding here, I am getting this error message >>> when I try to run the included testgfx app: >>> >>> Native code library failed to load. >>> java.lang.UnsatisfiedLinkError: .\lib\SDLJava_gfx >>> .dll: A dynamic link library (DLL) initialization routine failed >>> >>> I tried building my own version of SDL_gfx 2.0.13 which doesn't work >>> either. The other bindings seem to work fine. >> >> >> >> I have problems with SDL_gfx as well (including when building it). If >> you work out how to fix it, please tell us ;) >> > I've managed to build SDL_gfx successfully on the first try using > mingw (with a little help from > http://www.libsdl.org/extras/win32/mingw32/README.txt). If you want I > can send you the resulting SDL_gfx.dll file via email. > > -- Sannie Please send or post somewhere! I don't want to install mingw32 at all -- the reason why we code in Java is to avoid the obfuscation of C and C++ ;) Regards, Chris -- |>>> Dessimat0r /`\ | "We cannot turn back time, but we can _ _|_ _ move it forwards with our own hands." |;|_|;|_|;| \\. . / [www: http://codeknight.net ] \\: . / [e-mail: des...@nt... ] ||: U | /`\ [icq: 21477909 ] ||:. | [msn: des...@nt... ] \,/ ||: U.| ||: | \,/ ||: , | ____--`~--- '--~~__ __ ----~ - ~`---, -~--~ ~---__ ,--~' ~~----___ |
From: Chris D. <Des...@nt...> - 2005-03-06 22:38:51
|
I've posted up the working SDL_gfx.dll if anyone wants it -- the zip is only 25KB. ;) Thanks to Sannie for sending it to me. http://codeknight.net/Other/SDLJava/SDL_gfx.zip Regards, Chris -- |>>> Dessimat0r /`\ | "We cannot turn back time, but we can _ _|_ _ move it forwards with our own hands." |;|_|;|_|;| \\. . / [www: http://codeknight.net ] \\: . / [e-mail: des...@nt... ] ||: U | /`\ [icq: 21477909 ] ||:. | [msn: des...@nt... ] \,/ ||: U.| ||: | \,/ ||: , | ____--`~--- '--~~__ __ ----~ - ~`---, -~--~ ~---__ ,--~' ~~----___ |
From: Rainer K. <ar...@gm...> - 2005-03-06 23:48:17
|
Chris Dennett wrote: > I've posted up the working SDL_gfx.dll if anyone wants it -- the zip is > only 25KB. ;) Thanks to Sannie for sending it to me. > > http://codeknight.net/Other/SDLJava/SDL_gfx.zip Ok, I figured that putting it in lib/ alone doesn't fix the problem since Windows will load the version from C:\Windows\system32. Trying to port guichan to Java here so I need SDL_gfx ;) Cheers, Rainer |
From: Rainer K. <ar...@gm...> - 2005-03-10 01:34:43
|
Hello, how difficult would it be to add GLU support to the gljava subproject? Could I use native bindings to the glu32 library and combine those with the glew wrapper? Would it work a GL object returned by glew? Or would it be possible to use jogl instead together with sdljava? Did anyone try this? Cheers, Rainer |
From: Ivan Z. G. <iva...@ya...> - 2005-03-10 01:44:54
|
It wouldn't be too difficult, just a bunch of work to add the support for GLU. Would you find this usefull right now? If so I will work on adding this soon. Once you have the GL context created then I think you should be able to make GL calls in whatever way you wish from whatever API. I'm not sure about jogl but I doubt it. jogl would want its own GL instance which makes no sense in the world of sdljava. -Ivan/ Rainer Koschnick wrote: > Hello, > > how difficult would it be to add GLU support to the gljava subproject? > Could I use native bindings to the glu32 library and combine those > with the glew wrapper? Would it work a GL object returned by glew? > > Or would it be possible to use jogl instead together with sdljava? > Did anyone try this? > > Cheers, > Rainer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Rainer K. <ar...@gm...> - 2005-03-10 03:05:18
|
Ivan Z. Ganza wrote: > It wouldn't be too difficult, just a bunch of work to add the support > for GLU. Would you find this usefull right now? If so I will work on > adding this soon. > > Once you have the GL context created then I think you should be able to > make GL calls in whatever way you wish from whatever API. I'm not sure > about jogl but I doubt it. jogl would want its own GL instance which > makes no sense in the world of sdljava. > > -Ivan/ > Well, I saw that sdljava's GL instance was not really created by or obtained from SDL either since you create a glew instance so I am not sure how SDL / OpenGL are currently connected. glew has no direct GLU support I guess? I am trying to port GUIChan (a C++ GUI Toolkit) to Java. It has support for Allegro, SDL & OpenGL so I am also porting the OpenGL/SDL demo applications to make sure that my port is working correctly. Their OpenGL fpsdemo needs GLU so I was wondering how difficult it would be to get a binding. It is not urgent, I was just wondering. Cheers, Rainer > Rainer Koschnick wrote: > >> Hello, >> >> how difficult would it be to add GLU support to the gljava subproject? >> Could I use native bindings to the glu32 library and combine those >> with the glew wrapper? Would it work a GL object returned by glew? >> >> Or would it be possible to use jogl instead together with sdljava? >> Did anyone try this? >> >> Cheers, >> Rainer |
From: Ivan Z. G. <iva...@ya...> - 2005-03-06 23:41:30
|
Hello Rainer, Hmmm, is this is with the release version of DLL? The binary download or your buidling it yourself? -Ivan/ Rainer Koschnick wrote: > Hello, > > I cannot use the SDL_gfx binding here, I am getting this error message > when I try to run the included testgfx app: > > Native code library failed to load. > java.lang.UnsatisfiedLinkError: .\lib\SDLJava_gfx > .dll: A dynamic link library (DLL) initialization routine failed > > I tried building my own version of SDL_gfx 2.0.13 which doesn't work > either. The other bindings seem to work fine. > > Cheers, > Rainer > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |