sbook

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Syphon JNI Binding #5099
    sbook
    Participant

    sbook – Progress? I hope you are making strides actually. In any case, I would love to work together with you on this…

    Unfortunately, not much considering that I seem to be trapped in a similar place as you concerning JNI<->Cocoa. As I’ve been coming at it more from the ported API perspective that vade mentioned, dealing with objects has been some fun. With the next chunk of time I get over the weekend I was planning on rethinking the thing a bit so that the Java code becomes more about holding pointers to Syphon objects.. Its quite a bit different than my current JNI know-how involving LWJGL.

    Concerning linking the native libraries, I notice that you used System.loadLibrary().. For what its worth, I’ve had a better success rate using System.load and giving it a path (not sure if that’s one of your linking issues, but I thought it worth mentioning).

    I want to do some playing with your implementation as well over the weekend though, as you’re significantly further on the native side than I’ve gotten..

    in reply to: Syphon JNI Binding #5092
    sbook
    Participant

    That was part of my dilemma, while it keeps things closer to the way things are done natively I wasn’t sure if they’d ever be needed once the initial implementation was done. Perhaps said more succinctly, is it necessary for an end user to know what object performs what role? IMHO, someone is going to want to get a list of servers and get the associated asset.

    In any event, we should probably at least start as straightforward as possible, the Hook object can always be revisited later. So only those three classes? I’ll push the headers and what I can of the implementation tonight or in the morning.

Viewing 2 posts - 1 through 2 (of 2 total)