Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (769)
Games in Android Showcase (230)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Mac the DevIL libraries and lwjgl  (Read 2643 times)
0 Members and 1 Guest are viewing this topic.
Offline dranonymous

Junior Devvie




Hoping to become a Java Titan someday!


« Posted 2005-06-09 06:56:41 »

I'm trying to get the lwjgl libraries to work for me.  I've narrowed the problem down with some image stuff to the libIL.dylib file.  I believe something was goofed in the binary.  When I try to do a System.loadLibrary, I get this -

resolveUndefined(_jpeg_resync_to_restart) in /xxx/libIL.dylib
Exception in thread "main" java.lang.UnsatisfiedLinkError: /xxx/libIL.dylib:

jpeg_resync_to_restart is listed in il_jpeg.c under the DevIL source tree.

I have no idea how to compile a Mac library.  The sourceforge site lists SDK's for Win/Lin but not Mac.  Can anyone help?

Regards,
Dr. A>
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2005-06-09 08:03:57 »

try installing this one:
http://prdownloads.sourceforge.net/openil/DevIL_Binary_1.6.7.tgz

The problem is that devil is looking for its support libraries on Mac and Linux. We're working on a fix, but it's tricky.

Offline dranonymous

Junior Devvie




Hoping to become a Java Titan someday!


« Reply #2 - Posted 2005-06-09 18:19:26 »

No luck.  Sad  Here is what I'm getting -

Thu Jun 09 13:16:03 CDT 2005:  INFO : GL11 Init Complete
Thu Jun 09 13:16:03 CDT 2005:  INFO : Initialising sounds..
Thu Jun 09 13:16:03 CDT 2005:  INFO : - Sound works
Thu Jun 09 13:16:03 CDT 2005:  INFO : - Sounds source generated
Thu Jun 09 13:16:03 CDT 2005:  INFO : Loading texture (res/font.png)
Thu Jun 09 13:16:03 CDT 2005:  INFO : DEVIL caching texture (res/font.png)
resolveUndefined(_jpeg_resync_to_restart) in libIL.dylib
resolveUndefined(_jpeg_resync_to_restart) in libIL.dylib
resolveUndefined(_jpeg_resync_to_restart) in libIL.dylib
resolveUndefined(_jpeg_resync_to_restart) in libIL.dylib
org.lwjgl.LWJGLException: Could not load devil library.
   at org.lwjgl.devil.IL.nCreate(Native Method)
   at org.lwjgl.devil.IL.create(IL.java:587)

Is there any way for me to try and compile the sources and make a new lib?  It does have an xcode project, but I've never really used XCode before.

Cheers,
Dr. A>
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #3 - Posted 2005-06-09 20:48:33 »

hum... I'll look into this tomorrow.

Offline dranonymous

Junior Devvie




Hoping to become a Java Titan someday!


« Reply #4 - Posted 2005-06-12 02:37:31 »

Any news?  Anything I can do to help?

Cheers,
Dr. A>
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #5 - Posted 2005-06-12 09:58:50 »

if I run it without the /usr/local/lib files present I get an immediate error using org.lwjgl.test.devil.BasicTest
however as soon as I install those files (above link), I can run the test just fine (when I disable ILUT.create)
I am not sure what you're issue is then... perhaps some incompatable files installed? Are you using the 0.97.1 release or 0.97 release ?

Offline dranonymous

Junior Devvie




Hoping to become a Java Titan someday!


« Reply #6 - Posted 2005-06-17 02:14:17 »

I'm using the latest from the devIL site.  I don't understand why I only have a problem with the one library?  Also, why is it named differently than normal Mac jni libraries ie- libXXXX.jnilib.

I want to be able to use it from where ever I am running my app, rather than have to install it into my extensions directory.

Any other Mac users have this issue?

Regards,
Dr. A>
Pages: [1]
  ignore  |  Print  
 
 

 
EgonOlsen (1672 views)
2018-06-10 19:43:48

EgonOlsen (1710 views)
2018-06-10 19:43:44

EgonOlsen (1159 views)
2018-06-10 19:43:20

DesertCoockie (1585 views)
2018-05-13 18:23:11

nelsongames (1186 views)
2018-04-24 18:15:36

nelsongames (1709 views)
2018-04-24 18:14:32

ivj94 (2533 views)
2018-03-24 14:47:39

ivj94 (1758 views)
2018-03-24 14:46:31

ivj94 (2836 views)
2018-03-24 14:43:53

Solater (971 views)
2018-03-17 05:04:08
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!