Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (579)
games submitted by our members
Games in WIP (500)
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  
  Compiling JOAL on OSX 10.4.7 Intel  (Read 2842 times)
0 Members and 1 Guest are viewing this topic.
Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Posted 2006-07-28 06:55:37 »

Running into some oddball problem trying to compile an OSX binary from the current CVS sources. Clean, just downloaded codebase, ANT 1.6.5, Antlr 2.7.6, OSX 10.4.7 on a MacBook Pro. It picks up the correct platform and that it should be universal binary. However, it generates the following set of errors on the native compile:

[blockquote]
       [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC
       [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC
       [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC
       [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC
       [cc] lipo: can't figure out the architecture type of: /var/tmp//ccLZhlwi.out

BUILD FAILED
/Users/Justin/j3d.org/joal/make/build.xml:708: The following error occurred while executing this line:
/Users/Justin/j3d.org/joal/make/build.xml:576: The following error occurred while executing this line:
/Users/Justin/j3d.org/joal/make/build.xml:541: gcc failed with return code 1
[/blockquote]

It appears that something in GCC is not working out with the fat binary. The strange thing is that JOGL compiles fine, so there's something that's not quite right in JOAL (ie the common code of Gluegen is working correctly).

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Offline Ken Russell

JGO Coder




Java games rock!


« Reply #1 - Posted 2006-07-28 18:12:29 »

It looks like this breakage was caused by the inclusion of the EFX entry points, which header uses the non-standard __cdecl keyword. I've checked in a fix which lets the build succeed on my Mac Mini; haven't tested it yet though.
Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Reply #2 - Posted 2006-07-31 16:21:35 »

Thanks. It all seems to work on the intel-based laptop I have here.  A small amount of testing of the audio seems to suggest that it works with Apple's AGL implementation (10.4.7 introduced the 1.1 support, which wasn't in earlier versions).

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline shawnkendall

Senior Member





« Reply #3 - Posted 2006-08-04 22:55:49 »

Any idea how I can detect in web start if the Mac accessing my app is the Intel?
This relavent to this thread because I am setting up the Mac JOAL launch and everythign works now EXCEPT I get a library error due to the fact that the library my web start script says to get when the user machine is a Mac is the one and only Mac JOAL build I have which is for PPC.

Is that confusing? Hmm it does read well.
How about this.
JOAL + web start + Mac PPC = works for me.
JOAL + web start + Mac INTEL != works for me.

How to detect and fix? thanks! ;-)

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline Ultraq

Junior Member




That's what she said


« Reply #4 - Posted 2006-08-05 01:36:44 »

I'm no Mac expert, but isn't the main difference between the Intel and PPC processors just the endian-ness in which bytes are read?

Last I read, OpenAL (and thus JOAL) has no way to detect the byte-ordering of the underlying platform, although I'm sure you can figure it out using Java's ByteOrder class.

Ultraq's Final MooCow
Bits and Pieces by Emanuel Rabina
Offline shawnkendall

Senior Member





« Reply #5 - Posted 2006-08-05 03:01:18 »

Thanks. It all seems to work on the intel-based laptop I have here.  A small amount of testing of the audio seems to suggest that it works with Apple's AGL implementation (10.4.7 introduced the 1.1 support, which wasn't in earlier versions).

Do you have a working Intel Mac JOAL build?
I didn't see one up on in the dist directories, is this a build you made?  And if so, is there anyway I can get a hold of it before Monday for WWDC?

Thanks in advance!

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Reply #6 - Posted 2006-08-05 04:01:47 »

Shawn, just answered your question over on java3d list. I can send you my current build of CVS, including all of Ken's native lib loader code. My current universal build is from just before those changes and I know that it works as I used it all through our Siggraph demos this week. The new native loader build will only take a few minutes for me to set up, but personally untested right now. (late friday evening here in Seatte and I don't feel like testing. I've had a couple of beers already Tongue ). I can build and send this evening or if you'd like something on Saturday morning. The rest of the weekend is filled up to Sunday evening. Let me know if this fits in with the current plans.

For the others - I'll put another build up on the j3d.org pages with all the eclipse plugin handling running probably first thing Monday morning. I'd at least like to do a little testing. However, it will require OS X 10.4.7 as that's the first release of OS X to support OpenAL 1.1, which is what the current JOAL build script requires.

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Offline shawnkendall

Senior Member





« Reply #7 - Posted 2006-08-05 04:50:39 »

Yes that sounds great. At this point I only need/could use the build.  You can email me or send me a link to download from.
Thanks much!

Shawn Kendall
Cosmic Interactive, LLC
http://www.facebook.com/BermudaDash
Offline Mithrandir

Senior Member




Cut from being on the bleeding edge too long


« Reply #8 - Posted 2006-08-05 06:13:07 »

Sent by email about 30min ago.

The site for 3D Graphics information http://www.j3d.org/
Aviatrix3D JOGL Scenegraph http://aviatrix3d.j3d.org/
Programming is essentially a markup language surrounding mathematical formulae and thus, should not be patentable.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (35 views)
2014-04-15 18:08:23

BurntPizza (31 views)
2014-04-15 03:46:01

UprightPath (46 views)
2014-04-14 17:39:50

UprightPath (29 views)
2014-04-14 17:35:47

Porlus (46 views)
2014-04-14 15:48:38

tom_mai78101 (67 views)
2014-04-10 04:04:31

BurntPizza (127 views)
2014-04-08 23:06:04

tom_mai78101 (227 views)
2014-04-05 13:34:39

trollwarrior1 (192 views)
2014-04-04 12:06:45

CJLetsGame (199 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!