Hello Guest

Sweet new version

  • 13 Replies
  • 7988 Views
*

Offline fbi

  • **
  • 56
Sweet new version
« on: April 19, 2004, 08:13:54 »
Hi all,
you can grab the new SWT/LWJGL from http://ant1.di.uniba.it/data...it's the new Win32 version which supports GL context sharing between multiple canvases  :)
Any help would be appreciated in testing the SWTCanvas (especially the raw code) and in porting it to X (damn...I'm crashing my Linux box too many times...I'm not that super cool X programmer)  :(

*

Offline Chman

  • ***
  • 100
    • http://www.shakebox.org
Sweet new version
« Reply #1 on: April 19, 2004, 08:29:56 »
Hey looks like you've made a great work !!!
I just go trough the code and it seems to be very clean ;)
The only thing is that I can't test it 'cause I haven't got any C compiler :(
Anyway, keep the good work !

You should release a binary post so that more people can test it 8)

Chman

*

Offline fbi

  • **
  • 56
Sweet new version
« Reply #2 on: April 19, 2004, 11:20:34 »
Thank you a lot!  :)
I'll put a binary version on my server tomorrow, or this aftternoon if I can escape a lesson I gotta teach...  :(
Are you BTW proficient with X programming?!?  :wink:

*

Offline Chman

  • ***
  • 100
    • http://www.shakebox.org
Sweet new version
« Reply #3 on: April 19, 2004, 11:57:45 »
Sorry, not at all, I don't know anything about X progrmming :?
I'm just a Java programmer with some experiences with C/C++...

*

Offline princec

  • *****
  • 1933
    • Puppygames
Sweet new version
« Reply #4 on: April 19, 2004, 12:16:04 »
Elias knows enough to be of use methinks.

Cas :)

*

Offline Chman

  • ***
  • 100
    • http://www.shakebox.org
Sweet new version
« Reply #5 on: April 20, 2004, 22:22:36 »
Hi (again :)) !

I've just tried to compile this sweet lib but I got too many errors... It seems that I need some external sdk (like DX, nVidia's one...). So can someone put a binarie release please ?

Oh, and I hope swt will definitly integrated in lwjgl 1.0 !!!

Chman

*

Offline Matzon

  • *****
  • 2242
Sweet new version
« Reply #6 on: April 21, 2004, 05:23:25 »
Last time I compiled the swt "extension" it was quite easy... will try the new one tonight.

I'd also like to add it to lwjgl 1.0, however I am not all that fond of having to require swt to build the library... Ofcourse, one could just make multiple targets in the build file (that needs some reworking anyway...)

Also, we would need fbi to donate it to lwjgl before we could include it.

Let me try the new copy tonight, and I'll get back on adding it to lwjgl (which I also think we should, somehow).

*

Offline fbi

  • **
  • 56
Sweet new version
« Reply #7 on: April 21, 2004, 11:59:29 »
Hi all, of course I'm gonna donate my little SWT/LWJGL binding to the community...no problem for that  (it will be an honour to be a small LWJGL contributor) :)
About the need for SWT...well, I do not see any other reasonable way than having multiple targets...  :(  
Any ideas left?

Sweet new version
« Reply #8 on: April 23, 2004, 02:59:16 »
Is there a way to compile the source using Windows?
What compiler packages or tools do I need?

Thanks in advance...

*

Offline Matzon

  • *****
  • 2242
Sweet new version
« Reply #9 on: April 23, 2004, 05:17:07 »
you need visual studio or the likes. I will be working on using M$s new free compile to compile on win32 - but I need to find some spare time to do it - don't know when, but soon.

Sweet new version
« Reply #10 on: April 24, 2004, 04:06:43 »
Hey thanks, I managed to compile the source using Visual Studio

To anyone who wants to compile lwjgl and is using VC++, you need several external header files and libraries

Header files - eax.h, altypes.h, jni.h
You may need the openAL sdk.
jni.h can be found in the jdk folder

Library files - OpenGL32.lib GLu32.lib version.lib dinput.lib dxguid.lib
You will need the directx sdk

Don't forget to disable Precompiled Headers, under your project properties


Hopefully I got the process right.. I'm going to test it out now

*

Offline Matzon

  • *****
  • 2242
Sweet new version
« Reply #11 on: April 24, 2004, 08:16:59 »
seems about right. There is a VS 2003.net project in cvs under platform_build. I plan to add support for M$s free compiler - I'll probably look at it tonight.

Sweet new version
« Reply #12 on: April 25, 2004, 09:39:41 »
Has anyone ever tried compiling the win32 dlls with mingw? If this works then it would be a small step to native compiling with gcj, as they now have support for direct bytebuffers.

*

Offline Matzon

  • *****
  • 2242
Sweet new version
« Reply #13 on: April 25, 2004, 10:01:38 »
I tried - several times, but some weird errors always popped up, and I abandoned it. It should be doable though.