mac os compilation problems r. 2.7.2 (rev. 1007)
I had some problems compiling breve from sources for mac os (power pc, darwin 8.11.0).
Finally I succeeded to compile, after making some changes to ./configure and ./include/breve/glIncludes.h.
The old ./configure complained about a bogus missing library, while the actual error was:
/usr/bin/ld: -syslibroot: multiply specified
The old glIncludes.h caused multiple compilation errors within files included from camera.cc:
/usr/X11R6/include/GL/osmesa.h:119: error: 'GLAPI' does not name a type
I'm not sure I fixed things in the correct way, anyway now it works for me, so I post this here in case other people have the same problem.
diff configure.OLD configure.NEW
< CPPFLAGS="$CPPFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4"
---
> CPPFLAGS="$CPPFLAGS -mmacosx-version-min=10.4"
| Attachment | Size |
|---|---|
| glIncludes.h.txt | 1.81 KB |
