1. [gui] Japi2 problems

I have the original Japi working ok.

For Japi2 I get stuck at:

include std/dll.e 
atom libjapi = open_dll("japi2.so") 
? libjapi 
--> 0 

Using Linux on 32 and 64 bit with OE 4.1


Thanks to C A Newbould for re-discovering Japi.

_tom

new topic     » topic index » view message » categorize

2. Re: [gui] Japi2 problems

_tom said...

I have the original Japi working ok.

For Japi2 I get stuck at:

include std/dll.e 
atom libjapi = open_dll("japi2.so") 
? libjapi 
--> 0 

Using Linux on 32 and 64 bit with OE 4.1


Thanks to C A Newbould for re-discovering Japi.

_tom

Where's the shared library? If it's in the local directory, then you'll need to set LD_LIBRARY_PATH=. to get the interpreter to find it locally, e.g.

LD_LIBRARY_PATH=. eui test.ex 

You can also export this in your .bash_profile. Ultimately, the fix for that is to include rpath when building the interpreter for Linux.

On a side note, I had dabbled with JAPI years ago and it was neat, but I wouldn't recommend using Java on purpose.

-Greg

new topic     » goto parent     » topic index » view message » categorize

3. Re: [gui] Japi2 problems

I get "can't connect to japi server"

new topic     » goto parent     » topic index » view message » categorize

4. Re: [gui] Japi2 problems

  • My photo-editing software is LightZone, which is Java based
  • Japi 1 was interesting but had ugly fonts

If Japi2 still has ugly fonts, then it is of limited value.

Tried copying the .so to various "lib" locations with no luck. Is there a .jar file missing?

thanks for taking a look at this...

_tom

new topic     » goto parent     » topic index » view message » categorize

5. Re: [gui] Japi2 problems

Run ldd japi2.so to see if you have any missing dependencies.

-Greg

new topic     » goto parent     » topic index » view message » categorize

6. Re: [gui] Japi2 problems

ghaberek said...

Run ldd japi2.so to see if you have any missing dependencies.

-Greg

My guess is that this .so is a windows .dll ! ! !

Under win7 I do get an id value when loading this file

(Now I have to load java on windows...)

_tom

new topic     » goto parent     » topic index » view message » categorize

7. Re: [gui] Japi2 problems

The .so was a windows dll.

Installing Java on windows (62MB download) went smoothly.

The Japi2 demos work nicely on windows.

How does one compile a .so for Linux?

_tom

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu