1. [gui] Japi2 problems
- Posted by _tom (admin) Mar 02, 2018
- 1261 views
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
2. Re: [gui] Japi2 problems
- Posted by ghaberek (admin) Mar 02, 2018
- 1278 views
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
3. Re: [gui] Japi2 problems
- Posted by irv Mar 02, 2018
- 1244 views
I get "can't connect to japi server"
4. Re: [gui] Japi2 problems
- Posted by _tom (admin) Mar 02, 2018
- 1242 views
- 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
5. Re: [gui] Japi2 problems
- Posted by ghaberek (admin) Mar 02, 2018
- 1194 views
Run ldd japi2.so to see if you have any missing dependencies.
-Greg
6. Re: [gui] Japi2 problems
- Posted by _tom (admin) Mar 02, 2018
- 1212 views
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
7. Re: [gui] Japi2 problems
- Posted by _tom (admin) Mar 02, 2018
- 1214 views
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