sdljava-users Mailing List for Java Binding for SDL (Page 11)
Status: Beta
Brought to you by:
ivan_ganza
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(7) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(43) |
Feb
(50) |
Mar
(44) |
Apr
(14) |
May
(18) |
Jun
(7) |
Jul
(26) |
Aug
(29) |
Sep
(28) |
Oct
(10) |
Nov
(5) |
Dec
(7) |
2006 |
Jan
(2) |
Feb
(9) |
Mar
(16) |
Apr
(1) |
May
(11) |
Jun
(8) |
Jul
(8) |
Aug
(5) |
Sep
(15) |
Oct
|
Nov
|
Dec
(2) |
2007 |
Jan
|
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(2) |
Jun
(4) |
Jul
(1) |
Aug
(14) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
(3) |
Dec
(1) |
2009 |
Jan
(1) |
Feb
(5) |
Mar
|
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
(1) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
2013 |
Jan
(1) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2014 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
(1) |
2016 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Chris D. <Des...@nt...> - 2005-06-09 04:59:42
|
Hi, I'm having a bit of a problem with: IntBuffer pixelData = surface.getPixelData().asIntBuffer(); The code is throwing me the following exception. Exception in thread "main" java.lang.UnsatisfiedLinkError: SWIG_getPixelDirectByteBuffer at sdljava.x.swig.SWIG_SDLVideoJNI.SWIG_getPixelDirectByteBuffer(Native Method) at sdljava.x.swig.SWIG_SDLVideo.SWIG_getPixelDirectByteBuffer(SWIG_SDLVideo.java:266) at sdljava.video.SDLSurface.getPixelData(SDLSurface.java:950) at loach.screen.SurfaceTransformer.flipHorizontal(SurfaceTransformer.java:27) at loach.Loach.<init>(Loach.java:102) at loach.Loach.main(Loach.java:177) Picked up _JAVA_OPTIONS: -Dsun.java2d.d3d=true Please help, I'm not sure what is wrong. This code is used in some horizontal image flip transformation code I wrote. public static void flipHorizontal(SDLSurface surface) throws SDLException { surface.lockSurface(); int width = surface.getWidth(), height = surface.getHeight(), pixels = width * height ; IntBuffer pixelData = surface.getPixelData().asIntBuffer(); int[] data = pixelData.array(); int[][] pData = new int[pixels][4]; for (int i = 0; i < pixels; i++) { for (int j = 0; j < 4; j++) { pData[i][j] = data[i * j]; } } int[][][] rData = new int[height][width][4]; for (int row = 0; row < height; row++) { for (int col = 0; col < width; col++) { rData[row][col] = pData[row * col]; } } int[] temp = new int[width]; for (int row = 0; row < height; row++) { for (int left = 0, right = rData[row].length - 1; left < right; left++, right--) { /* exchange the first and last */ temp = rData[row][left]; rData[row][left] = rData[row][right]; rData[row][right] = temp; } } /* deconstruct this shit and give me a fucking normal int array */ for (int row = 0; row < height; row++) { for (int col = 0; col < width; col++) { for (int i = 0; i < 4; i++) { data[row * col * i] = rData[row][col][i]; } } } pixelData.clear(); pixelData.put(data); surface.unlockSurface(); } Thanks in advance, Chris -- |> Dessimat0r (Chris Dennett) /`\ | "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-05-29 20:23:31
|
Hi, here is a patch which cleans up a bit of code. SDLVideoMode -- change flags attribute from int to long, javadoc cleanup. SDLColor -- create clone() method, javadoc cleanup. SDLVideo -- fix videoModeOK(..) method to take long flags. SDLRect -- clean up argument names on various methods. As always, tell me if there are any problems. Most of these changes were in a patch which was not applied a while back, which also cleaned up imports across SDLJava. This caused me to mess around a bit, and you might not have as many fixed Javadoc comments as a result. Regards, Chris -- |> Dessimat0r (Chris Dennett) /`\ | "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-05-29 20:23:19
|
Hi, here is a patch which cleans up a bit of code. SDLVideoMode -- change flags attribute from int to long, javadoc cleanup. SDLColor -- create clone() method, javadoc cleanup. SDLVideo -- fix videoModeOK(..) method to take long flags. SDLRect -- clean up argument names on various methods. As always, tell me if there are any problems. Most of these changes were in a patch which was not applied a while back, which also cleaned up imports across SDLJava. This caused me to mess around a bit, and you might not have as many fixed Javadoc comments as a result. Regards, Chris -- |> Dessimat0r (Chris Dennett) /`\ | "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-05-28 03:19:46
|
Ivan Z. Ganza wrote: > I've updated some stuff to do with this. This is looking really good!! > The OpenGL stuff is working perfectly (at least on linux for now...) > > The following tests can be run. The required data files are in the > repository now as they are pretty small anyways. > > sdljavax.guichan.test.ffdemo.FFDemo > sdljavax.guichan.test.fpsdemo.FPSDemo > sdljavax.guichan.test.openglwidgets.OpenGLWidgets > sdljavax.guichan.test.sdlwidgets.SDLWidgets > > The only problem so far seems to be when rendering via SDL you don't > actually see any text. With OpenGL I see text fine though. > > If you update from CVS please try to compile and run the tests. Let me > know what works for you... > > Thanks, > -Ivan/ I will check the code to see if there are any errors later today. Or maybe I should try building everything fresh from CVS. I'll let you know whether this works or not here. Actually the OpenGL demos also use the SDLImageLoader routines, fonts are rendered from .png images, so if you can see images the font rendering should work as well. But I'll check it out. Cheers, Rainer |
From: Ivan Z. G. <iva...@ya...> - 2005-05-27 22:54:42
|
I've updated some stuff to do with this. This is looking really good!! The OpenGL stuff is working perfectly (at least on linux for now...) The following tests can be run. The required data files are in the repository now as they are pretty small anyways. sdljavax.guichan.test.ffdemo.FFDemo sdljavax.guichan.test.fpsdemo.FPSDemo sdljavax.guichan.test.openglwidgets.OpenGLWidgets sdljavax.guichan.test.sdlwidgets.SDLWidgets The only problem so far seems to be when rendering via SDL you don't actually see any text. With OpenGL I see text fine though. If you update from CVS please try to compile and run the tests. Let me know what works for you... Thanks, -Ivan/ Ivan Z. Ganza wrote: > I finally had time some time to integrate this awesome work by > Rainer. The guichan port coded by Rainer Koschnick has been checked > into CVS. Thanks Rainer! Looks like we are really close to having a > simple, usable GUI toolkit! > > Currently I am able to run the SDLWidgets test, the test data has been > checked into the test data dir. The test ran fine, the widgets > reacted! but, there was no text visible on any of the widgets. Seems > like it could be a redisplay problem of some sort... > > I wasn't able to run the other two tests of of yet. > Currently there is additional test data available (for the other two > tests). I will add this to the testdata download on the project site > soon. > > For now you need to get it from here: > http://www.arkay.de/software/data.zip > --- > Guichan is a small, efficient C++ GUI library designed for games. It > comes with a standard set of widgets and can use several different > objects for displaying graphics and grabbing user input. > http://guichan.sourceforge.net > > --- > Cheers, > -Ivan/ > > <http://guichan.sourceforge.net> > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Ivan Z. G. <iva...@ya...> - 2005-05-27 03:02:17
|
I finally had time some time to integrate this awesome work by Rainer. The guichan port coded by Rainer Koschnick has been checked into CVS. Thanks Rainer! Looks like we are really close to having a simple, usable GUI toolkit! Currently I am able to run the SDLWidgets test, the test data has been checked into the test data dir. The test ran fine, the widgets reacted! but, there was no text visible on any of the widgets. Seems like it could be a redisplay problem of some sort... I wasn't able to run the other two tests of of yet. Currently there is additional test data available (for the other two tests). I will add this to the testdata download on the project site soon. For now you need to get it from here: http://www.arkay.de/software/data.zip --- Guichan is a small, efficient C++ GUI library designed for games. It comes with a standard set of widgets and can use several different objects for displaying graphics and grabbing user input. http://guichan.sourceforge.net --- Cheers, -Ivan/ <http://guichan.sourceforge.net> |
From: Robert S. <the...@gm...> - 2005-05-25 23:16:44
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. lui...@co... wrote: > GCJ is really cool. > The GNUClasspath looks great. > > Thanks for the links. > > I've only had trouble with SwingSWT so far, but I think that'll be irrelevant when you guys finish up the gui classes right? Rest assured. Heavy work on Classpath' Swing is being done. :) As long as it is not that usable I/we suggest SWT or even java-gnome. cu Robert -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFClQecG9cfwmwwEtoRAoh9AJ9KbyDkrtAizTurR00c2Q5rcdTlyACgm7/3 N9Ww6s10F99L777/INcDHWo= =EVuR -----END PGP SIGNATURE----- |
From: Ivan Z. G. <iva...@ya...> - 2005-05-24 22:54:34
|
This is really neat. Thanks for posting the info! -Ivan/ lui...@co... wrote: >GCJ is really cool. >The GNUClasspath looks great. > >Thanks for the links. > >I've only had trouble with SwingSWT so far, but I think that'll be irrelevant when you guys finish up the gui classes right? > > Luis > > > > >>From: Robert Schuster <the...@gm...> >>Date: 2005/05/23 Mon PM 07:40:07 EDT >>To: sdl...@li... >>Subject: Re: [sdljava-users] fun with GIJ >> >>-----BEGIN PGP SIGNED MESSAGE----- >>Hash: SHA1 >> >>Hi Luis, >>nice to hear that you like GCJ. >> >>For Fosdem 05 I had written a small demo application that shows JamVM (a >>small free software VM) with GNU Classpath (the same class library that >>powers GCJ) and sdljava+gljava (Ivan's fine revival of the SDL+GL Java >>binding). >> >>If you run into problems with the class library do not hesitate to >>report them on cla...@gn.... The team and I are always happy to >>make free J*v* more attractive. >> >>Btw: Have you compiled you app to a native application? You can learn >>about this here[0]. Or maybe you like to see eclipse being native[1]? >> >>cu >>Robert >> >>[0] - http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ >>[1] - http://developer.classpath.org/mediation/ClasspathShowcase >> >>lui...@co... wrote: >> >> >>>GIJ is the free java runtime from >>>http://gcc.gnu.org/java/ >>> >>>there's a win32 port of it here: >>>http://www.thisiscool.com/gcc_mingw.htm >>>the port also comes with SWT >>> >>>just for heck of it i took the win32 build, added SDL & sdljava and got it to run. >>>the little free jvm is here: >>>http://members.cox.net/luis.montes/gijWin32.zip >>> >>>only a 5 meg download and 100% free open source software. >>>doesn't have the gcj compiler included, just the runtime. (I had trouble getting the compiler to work) >>> >>>there's a working SWT test program, and the sdl TTF and sdl sprites examples. >>> >>>Since the runtime is so small, it may be an interesting way to package up a little java based SDL game. >>> >>> >>>Luis >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by Oracle Space Sweepstakes >>>Want to be the first software developer in space? >>>Enter now for the Oracle Space Sweepstakes! >>>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>>_______________________________________________ >>>sdljava-users mailing list >>>sdl...@li... >>>https://lists.sourceforge.net/lists/listinfo/sdljava-users >>> >>> >>> >>> >>-----BEGIN PGP SIGNATURE----- >>Version: GnuPG v1.4.1 (GNU/Linux) >>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >>iD8DBQFCkmnXG9cfwmwwEtoRAjAZAKCUfzoW4ZThl+RUP3mngx9LwESQ3QCfcEkI >>vK8iAboBCvrUquKUhj75vhg= >>=7fq5 >>-----END PGP SIGNATURE----- >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by Oracle Space Sweepstakes >>Want to be the first software developer in space? >>Enter now for the Oracle Space Sweepstakes! >>http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >>_______________________________________________ >>sdljava-users mailing list >>sdl...@li... >>https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: <lui...@co...> - 2005-05-24 00:19:20
|
GCJ is really cool. The GNUClasspath looks great. Thanks for the links. I've only had trouble with SwingSWT so far, but I think that'll be irrelevant when you guys finish up the gui classes right? Luis > > From: Robert Schuster <the...@gm...> > Date: 2005/05/23 Mon PM 07:40:07 EDT > To: sdl...@li... > Subject: Re: [sdljava-users] fun with GIJ > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Luis, > nice to hear that you like GCJ. > > For Fosdem 05 I had written a small demo application that shows JamVM (a > small free software VM) with GNU Classpath (the same class library that > powers GCJ) and sdljava+gljava (Ivan's fine revival of the SDL+GL Java > binding). > > If you run into problems with the class library do not hesitate to > report them on cla...@gn.... The team and I are always happy to > make free J*v* more attractive. > > Btw: Have you compiled you app to a native application? You can learn > about this here[0]. Or maybe you like to see eclipse being native[1]? > > cu > Robert > > [0] - http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ > [1] - http://developer.classpath.org/mediation/ClasspathShowcase > > lui...@co... wrote: > > GIJ is the free java runtime from > > http://gcc.gnu.org/java/ > > > > there's a win32 port of it here: > > http://www.thisiscool.com/gcc_mingw.htm > > the port also comes with SWT > > > > just for heck of it i took the win32 build, added SDL & sdljava and got it to run. > > the little free jvm is here: > > http://members.cox.net/luis.montes/gijWin32.zip > > > > only a 5 meg download and 100% free open source software. > > doesn't have the gcj compiler included, just the runtime. (I had trouble getting the compiler to work) > > > > there's a working SWT test program, and the sdl TTF and sdl sprites examples. > > > > Since the runtime is so small, it may be an interesting way to package up a little java based SDL game. > > > > > > Luis > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > > _______________________________________________ > > sdljava-users mailing list > > sdl...@li... > > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.1 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFCkmnXG9cfwmwwEtoRAjAZAKCUfzoW4ZThl+RUP3mngx9LwESQ3QCfcEkI > vK8iAboBCvrUquKUhj75vhg= > =7fq5 > -----END PGP SIGNATURE----- > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > |
From: Robert S. <the...@gm...> - 2005-05-23 23:38:57
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Luis, nice to hear that you like GCJ. For Fosdem 05 I had written a small demo application that shows JamVM (a small free software VM) with GNU Classpath (the same class library that powers GCJ) and sdljava+gljava (Ivan's fine revival of the SDL+GL Java binding). If you run into problems with the class library do not hesitate to report them on cla...@gn.... The team and I are always happy to make free J*v* more attractive. Btw: Have you compiled you app to a native application? You can learn about this here[0]. Or maybe you like to see eclipse being native[1]? cu Robert [0] - http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ [1] - http://developer.classpath.org/mediation/ClasspathShowcase lui...@co... wrote: > GIJ is the free java runtime from > http://gcc.gnu.org/java/ > > there's a win32 port of it here: > http://www.thisiscool.com/gcc_mingw.htm > the port also comes with SWT > > just for heck of it i took the win32 build, added SDL & sdljava and got it to run. > the little free jvm is here: > http://members.cox.net/luis.montes/gijWin32.zip > > only a 5 meg download and 100% free open source software. > doesn't have the gcj compiler included, just the runtime. (I had trouble getting the compiler to work) > > there's a working SWT test program, and the sdl TTF and sdl sprites examples. > > Since the runtime is so small, it may be an interesting way to package up a little java based SDL game. > > > Luis > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCkmnXG9cfwmwwEtoRAjAZAKCUfzoW4ZThl+RUP3mngx9LwESQ3QCfcEkI vK8iAboBCvrUquKUhj75vhg= =7fq5 -----END PGP SIGNATURE----- |
From: <lui...@co...> - 2005-05-23 22:58:10
|
GIJ is the free java runtime from http://gcc.gnu.org/java/ there's a win32 port of it here: http://www.thisiscool.com/gcc_mingw.htm the port also comes with SWT just for heck of it i took the win32 build, added SDL & sdljava and got it to run. the little free jvm is here: http://members.cox.net/luis.montes/gijWin32.zip only a 5 meg download and 100% free open source software. doesn't have the gcj compiler included, just the runtime. (I had trouble getting the compiler to work) there's a working SWT test program, and the sdl TTF and sdl sprites examples. Since the runtime is so small, it may be an interesting way to package up a little java based SDL game. Luis |
From: d3 <d3...@ma...> - 2005-05-22 12:32:23
|
hello, jbuilder comes with its own jdk. you should check if jbuilder jdk differs from the jdk or jre you are using to run your jar. possible differences are of course version number or installed libraries. i hope this hint helps. d3 |
From: Ivan Z. G. <iva...@ya...> - 2005-05-21 15:57:37
|
Hi Tim, I don't think you are doing anything wrong. Some others have also been=20 getting the "missing ordinal 50" in jpeg.dll problem. As of yet I'm not=20 sure why it happends. You say there are no problems when running from=20 within JBuilder? Thats is interesting... If anyone has any clues about this please let me know. I don't get into=20 Windows that often. I will try to see what happends for me soon. -Ivan/ Tim Perkins wrote: >Hello, > > I am running windows, I am doing my coding with JBuilder. By >the way, I am pretty much a newbie to java. I would like to make an >executable jar, but I'm not really sure how to. Well it seems I'm >doing something wrong anyway. When I try to run the jar I make I get >"missing ordinal 50" in jpeg.dll. Do I have to include the dlls in the >jar file or something else like that? I get everything to work when I >just run the code with JBuilder's debugger but the same code doesn't >work inside a jar. I am making the jar with JBuilder's utility thingy, >should i be doing something extra?. Anyone have any ideas? Thank you >in advance for any help. Sorry if I'm being a real newbie. > > - Tim Perkins > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_idt12&alloc_id=16344&op=CCk >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > =20 > |
From: Tim P. <tp...@gm...> - 2005-05-20 21:55:39
|
Hello, I am running windows, I am doing my coding with JBuilder. By the way, I am pretty much a newbie to java. I would like to make an executable jar, but I'm not really sure how to. Well it seems I'm doing something wrong anyway. When I try to run the jar I make I get "missing ordinal 50" in jpeg.dll. Do I have to include the dlls in the jar file or something else like that? I get everything to work when I just run the code with JBuilder's debugger but the same code doesn't work inside a jar. I am making the jar with JBuilder's utility thingy, should i be doing something extra?. Anyone have any ideas? Thank you in advance for any help. Sorry if I'm being a real newbie. - Tim Perkins |
From: Ivan Z. G. <iva...@ya...> - 2005-05-16 22:38:05
|
Greetings, Yes I've been very busy lately so not able to put as much time in. I'm still committed to the project thought and its not going to go away ;-) For the next release I want to provide a useful set of features on-top of whats in the current release. I don't believe we're really added enough to warrant a release as of yet. If there are features that people are needing please send me what you would like to see or post to the list. I believe I have integrated the patches send to me into the current CVS. Sorry I'm not too sure about a release timeline as of yet. Thanks, -Ivan/ lui...@co... wrote: >This project seems to have slowed down a little. No update for almost 2 months and there have been some patches suggested on this list since then. > >Any timeline on the next release? > >Thanks, > >Luis > > > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Ivan Z. G. <iva...@ya...> - 2005-05-16 22:12:02
|
This is strange. I'm assuming this is with the binary release? I did test the binary release on a windows machine and this part was working well. I wonder if it is the version of the jpeg.dll or something along those lines. Try to download: http://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.4-win32.zip and use the image dlls from this. I'm not sure if that is what you are currently using? I tested it against the image handling libraries provided in that download. Let me know how it goes... -Ivan/ lui...@co... wrote: >Same here with PNG's too. >I don't think your jpeg.dll is corrupted. > > > > > >>From: "David Felkel" <fe...@in...> >>Date: 2005/05/16 Mon AM 07:34:47 EDT >>To: <sdl...@li...> >>Subject: [sdljava-users] Problems with SDLJava_Image.dll and jpeg.dll >> >>Hi! >>I recently installed SDLJava on a Win32-Systerm and everything seemed ok, until I tried to load an image with SDLImage..load(".../test.bmp"). I get the following error messages: >> >>1. The ordinal 50 could not be found in jpeg.dll (in a MessageBox) >>2. Native code library failed to load. >> java.lang.UnsatisfiedLinkError: C:\WINNT\system32\SDLJava_image.dll: The operating system cannot run %1 >> (on the console) >> >>It seems that somehow my jpeg.dll is corrupted. I already tried to use the dlls that come with SDL_Image 1.2.4 instead of 1.2.3 but it still does not work. Maybe someone can expain me how to fix that error, or send me a working SDLJava_Image.dll and jpeg.dll. >> >>Thanks in advance, >>D. Felkel >> >> >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by Oracle Space Sweepstakes >Want to be the first software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >_______________________________________________ >sdljava-users mailing list >sdl...@li... >https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: <lui...@co...> - 2005-05-16 16:30:28
|
Same here with PNG's too. I don't think your jpeg.dll is corrupted. > > From: "David Felkel" <fe...@in...> > Date: 2005/05/16 Mon AM 07:34:47 EDT > To: <sdl...@li...> > Subject: [sdljava-users] Problems with SDLJava_Image.dll and jpeg.dll > > Hi! > I recently installed SDLJava on a Win32-Systerm and everything seemed ok, until I tried to load an image with SDLImage..load(".../test.bmp"). I get the following error messages: > > 1. The ordinal 50 could not be found in jpeg.dll (in a MessageBox) > 2. Native code library failed to load. > java.lang.UnsatisfiedLinkError: C:\WINNT\system32\SDLJava_image.dll: The operating system cannot run %1 > (on the console) > > It seems that somehow my jpeg.dll is corrupted. I already tried to use the dlls that come with SDL_Image 1.2.4 instead of 1.2.3 but it still does not work. Maybe someone can expain me how to fix that error, or send me a working SDLJava_Image.dll and jpeg.dll. > > Thanks in advance, > D. Felkel > > |
From: <lui...@co...> - 2005-05-16 15:58:00
|
This project seems to have slowed down a little. No update for almost 2 months and there have been some patches suggested on this list since then. Any timeline on the next release? Thanks, Luis |
From: David F. <fe...@in...> - 2005-05-16 11:36:55
|
Hi! I recently installed SDLJava on a Win32-Systerm and everything seemed = ok, until I tried to load an image with SDLImage..load(".../test.bmp"). = I get the following error messages: 1. The ordinal 50 could not be found in jpeg.dll (in a MessageBox) 2. Native code library failed to load. java.lang.UnsatisfiedLinkError: C:\WINNT\system32\SDLJava_image.dll: = The operating system cannot run %1=20 (on the console) It seems that somehow my jpeg.dll is corrupted. I already tried to use = the dlls that come with SDL_Image 1.2.4 instead of 1.2.3 but it still = does not work. Maybe someone can expain me how to fix that error, or = send me a working SDLJava_Image.dll and jpeg.dll. Thanks in advance, D. Felkel |
From: Ivan Z. G. <iva...@ya...> - 2005-04-29 02:00:06
|
I will implement this soon then. Let me have a look. I don't think it will be too difficult. -Ivan/ Wouter wrote: > Hello, > > I've read that push_event is on the TODO list (although the docs seem > to imply it is already implemented). What is the progress on this? I > also read the remark about push_event making sense or not. My answer > would be yes! > My problem is the following: I am monitoring some activity > (utilisation on a multicluster) and want to refresh the screen every 5 > seconds (polling free nodes is not something you want to do every > millisecond, or second for that matter). Now there's no real user > input and because it's running on a shared machine i dont want to use > pollEvent cause that would create a busy waiting loop which hogs too > much cpu. I could introduce a sleep of 5 seconds of course but that > would mean my program will be unresponsive for long periods. > So what i'd like to do is use waitevent and have a seperate thread > which will push a userevent into the queue every 5 secs. (Where did > SDL_AddTimer go by the way?) If you guys dont want to spent any time > on this I would gladly do it myself but I have no experience with > Swig, nor much time to get into it.. > > Regards, > Wouter > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Wouter <wo...@pa...> - 2005-04-28 14:28:37
|
Hello, I've read that push_event is on the TODO list (although the docs seem to imply it is already implemented). What is the progress on this? I also read the remark about push_event making sense or not. My answer would be yes! My problem is the following: I am monitoring some activity (utilisation on a multicluster) and want to refresh the screen every 5 seconds (polling free nodes is not something you want to do every millisecond, or second for that matter). Now there's no real user input and because it's running on a shared machine i dont want to use pollEvent cause that would create a busy waiting loop which hogs too much cpu. I could introduce a sleep of 5 seconds of course but that would mean my program will be unresponsive for long periods. So what i'd like to do is use waitevent and have a seperate thread which will push a userevent into the queue every 5 secs. (Where did SDL_AddTimer go by the way?) If you guys dont want to spent any time on this I would gladly do it myself but I have no experience with Swig, nor much time to get into it.. Regards, Wouter |
From: Ivan Z. G. <iva...@ya...> - 2005-04-28 02:00:51
|
Yes your right there is no precompiled binary for that -- <bonks self in head>. I will try to get things working as soon as possible. Will have a look at the port soon as I can. Right now things are very busy for me but I will have a look! Thanks, -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> This looks very interesting. Strange about the GLEW errors. What >> about using the precompiled binaries? The GLEW binding should >> definatly build. If anyone else has problems building GLEW on >> Windows please let me know... > > > The problem is in building the wrapper .dll. Some functions, used in > glew_wrap.c, are not even in the Windows SDK header files, so I am > wondering why it even compiles. Anyway, it can't be linked :( > > I am using your CVS sources, where can I find precompiled binaries? > On the project page the last release is 0.9.1, I doubt the glu stuff > was added before the 20th of February? > > Cheers, > Rainer > >> -Ivan/ >> >> Rainer Koschnick wrote: >> >>> Ivan Z. Ganza wrote: >>> >>>> Yes I would be interested to see what you've done. We really need >>>> to get some GUI support into sdljava. Lets talk when your >>>> back...Enjoy the vacation. >>>> >>>> -Ivan/ >>>> >>> >>> Ok, as soon as I have done some more testing I will send you the >>> source code for the sdljavaguichan port. I am building this on >>> Windows and the GLU extensions are currently giving me a headache >>> since some methods are not defined in the MS Platform SDK: >>> >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild1DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap >>> Levels@56 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild2DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap >>> Levels@60 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild3DMipmapLevel >>> s referenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap >>> Levels@64 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluBuild3DMipmaps ref >>> erenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluCheckExtension ref >>> erenced in function >>> _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 >>> glew_wrap.obj : error LNK2019: unresolved external symbol >>> _gluUnProject4 referen >>> ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 >>> gljava.dll : fatal error LNK1120: 6 unresolved externals >>> NMAKE : fatal error U1077: >>> 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' : return >>> code '0x460' >>> Stop. >>> >>> I believe this is due to the fact that those are GLU 1.3 and MS is >>> at 1.2 or even lower (didn't check). >>> >>> I also ported the guichan demo applications: >>> >>> - ffdemo (Final Fantasy Style Menu) >>> - fpsdemo (First Person Shooter Style Menu, code complete but >>> currently not working since I cannot build the glew wrapper on >>> Windows and the code uses GLU) >>> - openglwidgets (standard widgets demo using OpenGL graphics >>> implementation) >>> - sdlwidgets (standard widgets demo using SDL graphics implementation) >>> >>> The API--as is--is 99.9% compatible to the C++ version with a few >>> minor modifications. Since the GUIChan developers are working on a >>> manual it should be quite useful ;) >>> >>> See: http://guichan.sourceforge.net/ >>> >>> 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 >> >> >> >> >> >> >> ------------------------------------------------------- >> SF.Net email is sponsored by: Tell us your software development plans! >> Take this survey and enter to win a one-year sub to SourceForge.net >> Plus IDC's 2005 look-ahead and a copy of this survey >> Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix >> _______________________________________________ >> sdljava-users mailing list >> sdl...@li... >> https://lists.sourceforge.net/lists/listinfo/sdljava-users >> >> > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users |
From: Rainer K. <ar...@gm...> - 2005-04-26 22:57:15
|
Ivan Z. Ganza wrote: > This looks very interesting. Strange about the GLEW errors. What about > using the precompiled binaries? The GLEW binding should definatly > build. If anyone else has problems building GLEW on Windows please let > me know... The problem is in building the wrapper .dll. Some functions, used in glew_wrap.c, are not even in the Windows SDK header files, so I am wondering why it even compiles. Anyway, it can't be linked :( I am using your CVS sources, where can I find precompiled binaries? On the project page the last release is 0.9.1, I doubt the glu stuff was added before the 20th of February? Cheers, Rainer > -Ivan/ > > Rainer Koschnick wrote: > >> Ivan Z. Ganza wrote: >> >>> Yes I would be interested to see what you've done. We really need to >>> get some GUI support into sdljava. Lets talk when your back...Enjoy >>> the vacation. >>> >>> -Ivan/ >>> >> >> Ok, as soon as I have done some more testing I will send you the >> source code for the sdljavaguichan port. I am building this on >> Windows and the GLU extensions are currently giving me a headache >> since some methods are not defined in the MS Platform SDK: >> >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild1DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap >> Levels@56 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild2DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap >> Levels@60 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild3DMipmapLevel >> s referenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap >> Levels@64 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluBuild3DMipmaps ref >> erenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluCheckExtension ref >> erenced in function >> _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 >> glew_wrap.obj : error LNK2019: unresolved external symbol >> _gluUnProject4 referen >> ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 >> gljava.dll : fatal error LNK1120: 6 unresolved externals >> NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' >> : return >> code '0x460' >> Stop. >> >> I believe this is due to the fact that those are GLU 1.3 and MS is at >> 1.2 or even lower (didn't check). >> >> I also ported the guichan demo applications: >> >> - ffdemo (Final Fantasy Style Menu) >> - fpsdemo (First Person Shooter Style Menu, code complete but >> currently not working since I cannot build the glew wrapper on Windows >> and the code uses GLU) >> - openglwidgets (standard widgets demo using OpenGL graphics >> implementation) >> - sdlwidgets (standard widgets demo using SDL graphics implementation) >> >> The API--as is--is 99.9% compatible to the C++ version with a few >> minor modifications. Since the GUIChan developers are working on a >> manual it should be quite useful ;) >> >> See: http://guichan.sourceforge.net/ >> >> 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 > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Tell us your software development plans! > Take this survey and enter to win a one-year sub to SourceForge.net > Plus IDC's 2005 look-ahead and a copy of this survey > Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |
From: Ivan Z. G. <iva...@ya...> - 2005-04-26 22:31:21
|
This looks very interesting. Strange about the GLEW errors. What about using the precompiled binaries? The GLEW binding should definatly build. If anyone else has problems building GLEW on Windows please let me know... -Ivan/ Rainer Koschnick wrote: > Ivan Z. Ganza wrote: > >> Yes I would be interested to see what you've done. We really need to >> get some GUI support into sdljava. Lets talk when your back...Enjoy >> the vacation. >> >> -Ivan/ >> > > Ok, as soon as I have done some more testing I will send you the > source code for the sdljavaguichan port. I am building this on > Windows and the GLU extensions are currently giving me a headache > since some methods are not defined in the MS Platform SDK: > > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild1DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap > Levels@56 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild2DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap > Levels@60 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild3DMipmapLevel > s referenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap > Levels@64 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluBuild3DMipmaps ref > erenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluCheckExtension ref > erenced in function > _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 > glew_wrap.obj : error LNK2019: unresolved external symbol > _gluUnProject4 referen > ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 > gljava.dll : fatal error LNK1120: 6 unresolved externals > NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' > : return > code '0x460' > Stop. > > I believe this is due to the fact that those are GLU 1.3 and MS is at > 1.2 or even lower (didn't check). > > I also ported the guichan demo applications: > > - ffdemo (Final Fantasy Style Menu) > - fpsdemo (First Person Shooter Style Menu, code complete but > currently not working since I cannot build the glew wrapper on Windows > and the code uses GLU) > - openglwidgets (standard widgets demo using OpenGL graphics > implementation) > - sdlwidgets (standard widgets demo using SDL graphics implementation) > > The API--as is--is 99.9% compatible to the C++ version with a few > minor modifications. Since the GUIChan developers are working on a > manual it should be quite useful ;) > > See: http://guichan.sourceforge.net/ > > 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-04-23 20:41:07
|
Ivan Z. Ganza wrote: > Yes I would be interested to see what you've done. We really need to > get some GUI support into sdljava. Lets talk when your back...Enjoy the > vacation. > > -Ivan/ > Ok, as soon as I have done some more testing I will send you the source code for the sdljavaguichan port. I am building this on Windows and the GLU extensions are currently giving me a headache since some methods are not defined in the MS Platform SDK: glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild1DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild1DMipmap Levels@56 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild2DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild2DMipmap Levels@60 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild3DMipmapLevel s referenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmap Levels@64 glew_wrap.obj : error LNK2019: unresolved external symbol _gluBuild3DMipmaps ref erenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluBuild3DMipmaps@52 glew_wrap.obj : error LNK2019: unresolved external symbol _gluCheckExtension ref erenced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluCheckExtension@16 glew_wrap.obj : error LNK2019: unresolved external symbol _gluUnProject4 referen ced in function _Java_org_gljava_opengl_x_swig_GlewJNI_gluUnProject4@84 gljava.dll : fatal error LNK1120: 6 unresolved externals NMAKE : fatal error U1077: 'D:\PROGRA~1\MICROS~1.NET\VC7\bin\link.exe' : return code '0x460' Stop. I believe this is due to the fact that those are GLU 1.3 and MS is at 1.2 or even lower (didn't check). I also ported the guichan demo applications: - ffdemo (Final Fantasy Style Menu) - fpsdemo (First Person Shooter Style Menu, code complete but currently not working since I cannot build the glew wrapper on Windows and the code uses GLU) - openglwidgets (standard widgets demo using OpenGL graphics implementation) - sdlwidgets (standard widgets demo using SDL graphics implementation) The API--as is--is 99.9% compatible to the C++ version with a few minor modifications. Since the GUIChan developers are working on a manual it should be quite useful ;) See: http://guichan.sourceforge.net/ Cheers, Rainer |