Problems when compiling Linux plugin

I’m not sure if I should file a bug about it because I suspect I might be doing something wrong. Here is what I was getting when trying to build JInput from CVS on GNU/Linux 2.4.26 by issuing ‘ant’ command in source root:

I needed to apply these changes to make it compile:

Am I doing something wrong?

Hi
I’m not sure of the state on 2.4, as I’ve never compiled it there. It was always designed for 2.6. I might have a look over the weekend if I have time.

Cheers

Endolf

Thanks for help, I posted small patch which seems to fix 2.4-related problems at https://jinput.dev.java.net/issues/show_bug.cgi?id=31 but it’ll need to be improved so please take a look at it.

Some time ago I have written two variants of the Linux based plugin. One of them is actually SDL based and may be usable with other OSes to.

Here are the sources:
www.inf.fu-berlin.de/~rschuste/java/jinput/linux-eventinterface-jinput-plugin-0.1-src.zip
www.inf.fu-berlin.de/~rschuste/java/jinput/sdl-jinputplugin-linux-0.1-src.zip

Both have an Ant build script and feature API documentation.

I made these plugins because development of JInput seems to be very slow and community participation is bad. I would love to see someone wanting to improve this situation …

You mentioned that awkward installation mechanism. Have a look at the thread by me which was made sticky. It explains other variants.

[quote]Some time ago I have written two variants of the Linux based plugin. One of them is actually SDL based and may be usable with other OSes to.
[/quote]
Thanks for the links!

[quote]You mentioned that awkward installation mechanism. Have a look at the thread by me which was made sticky. It explains other variants.
[/quote]
Errr… right. Must’ve overlooked it ::slight_smile:

[quote]Some time ago I have written two variants of the Linux based plugin. One of them is actually SDL based and may be usable with other OSes to.
[/quote]
You may or not be aware, that the coreAPI is having a little change. It’s almost done, but i’ll be asking for some testers soon. This will mean all plugins will need some rewritting as Axis is renamed Component, and the Identifiers have changed. I’ve updated the DX8 plugin and the linux plugin. It’s not a major change, but it won’t build without/run without the change.

Endolf

No problem with that. Hopefully there will be a little summary about the changes then :slight_smile:

Maybe :slight_smile:

Somewhere in this thread. your compile errors will give it away though :stuck_out_tongue:

Endolf