|
Cannot build AllegroGL 0.2.4 on Mac OS 10.3.9 |
Thomas Harte
Member #33
April 2000
|
Today I have been attempting to build AllegroGL 0.2.4 (which I believe to be the current version) on OS X 10.3.9. I have not been succeeding. First, "./fix.sh macosx" gives these errors:
Not thinking too much of this, I decided to attempt a make. Which gets stuck here: gcc -c src/macosx.m -o obj/macosx/release/macosx.o -W -Wall -Wno-unused -O2 -ffast-math -fomit-frame-pointer -fno-common -pipe -Iinclude -Iinclude/allegrogl -Iinclude/allegrogl/GLext In file included from src/macosx.m:4: /usr/local/include/allegro/platform/aintosx.h:64: error: cannot find interface declaration for `NSObject', superclass of `AllegroAppDelegate' make: *** [obj/macosx/release/macosx.o] Error 1 I have all the latest XCode tools, etc. Is there some way of working around this problem? [My site] [Tetrominoes] |
Gnatinator
Member #2,330
May 2002
|
If the version of allegro your compiling with is >4.1.16 your going to need to grab the allegrogl cvs.
|
Bob
Free Market Evangelist
September 2000
|
This isn't an Allegro - AllegroGL problem. It looks like an environment / configuration issue, but I don't know what that is. -- |
Peter Wang
Member #23
April 2000
|
fix.sh is broken. The problem is that $$f should be $f. I've attached a patch that also adds a --quick option, and changed find -! ... to be find \! ... (which, to my knowledge, is more correct).
|
Thomas Harte
Member #33
April 2000
|
Quote: I've attached a patch... Excellent. Works perfectly! Quote: If the version of allegro your compiling with is >4.1.16 your going to need to grab the allegrogl cvs. This appears to have been the problem. I have Allegro 4.1.18. And now I have AllegroGL CVS, which built and installed without any error. I got a small number of warnings which I'll append but I don't imagine they add up to anything. Quite a few of the examples don't seem to work, but I'll try and get better details of that. In particular 'extextur' causes a bus error immediately upon launch, i.e. tries to access memory it shouldn't. Some of the other examples seem to do absolutely nothing so I'll look into those too.
Quote: This isn't an Allegro - AllegroGL problem. Apparently it was. [My site] [Tetrominoes] |
Gnatinator
Member #2,330
May 2002
|
Hmmm, im having this problem again with the allegro 4.2 beta 2. Only this time the cvs and peters fix do nothing. Its the same error as above: Quote: In file included from src/macosx.m:4: Any ideas/fixes? EDIT: This IS a configuration issue (Bob was right). I just tried recompiling on a fresh install. AGL CVS works with Allegro 4.2 beta 2. I think it has something to do with the allegro-config file
|
|