Sweet new version

Started by fbi, April 19, 2004, 08:13:54

Previous topic - Next topic

fbi

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)  :(

Chman

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

fbi

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:

Chman

Sorry, not at all, I don't know anything about X progrmming :?
I'm just a Java programmer with some experiences with C/C++...

princec

Elias knows enough to be of use methinks.

Cas :)

Chman

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

Matzon

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).

fbi

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?

Aves

Is there a way to compile the source using Windows?
What compiler packages or tools do I need?

Thanks in advance...

Matzon

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.

Aves

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

Matzon

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.

jacko

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.

Matzon

I tried - several times, but some weird errors always popped up, and I abandoned it. It should be doable though.