Hi,
I have been able to build JOGL on ubuntu, but have problem to build it on macos Does anybody knows what to do with the following: warning 1: cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC error 1: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ error 2: lipo: can't figure out the architecture type of: /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//ccPMEZ7g.out I'm a mac newbie, sorry for possibly stupid question. My configuration: proc: Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz osx 10.6.8 gcc is i686-apple-darwin10-gcc-4.2.1 java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode) gluegen.build.c.impl: [echo] Output lib name = gluegen-rt -> libgluegen-rt.jnilib [echo] Compiling src/native/macosx/*.c src/native/common/*.c [echo] user.dir=/Users/nuxeo/Documents/workspace/gluegen/make [cc] 4 total files to be compiled. [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:41:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:43: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_jvm_JVMUtil.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jboolean’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jboolean’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:41:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:43: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_jvm_JVMUtil.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jboolean’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/JVMUtil.c:45: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jboolean’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:3:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:7: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jstring’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jstring’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:3:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:7: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jstring’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/MacOSX/jogamp_common_os_MacOSXDynamicLinkerImpl.h:49: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jstring’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/macosx/MacOSXDynamicLinkerImpl_JNI.c:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:2:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:8: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/com_jogamp_common_nio_PointerBuffer.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:2:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:8: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/com_jogamp_common_nio_PointerBuffer.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/PointerBuffer.c:10: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:2:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:6: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] cc1obj: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for ObjC [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:2:17: error: jni.h: No such file or directory [cc] In file included from /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:6: [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:75: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:83: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:99: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:107: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:123: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/build/gensrc/native/jogamp_common_os_MachineDescriptionRuntime.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:91: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:101: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:136: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:151: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] /Users/nuxeo/Documents/workspace/gluegen/src/native/common/MachineDescriptionRuntime.c:156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jint’ [cc] lipo: can't figure out the architecture type of: /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//ccPMEZ7g.out [cc] lipo: can't figure out the architecture type of: /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//ccYH2lNW.out [cc] lipo: can't figure out the architecture type of: /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//ccD7Ddjk.out [cc] lipo: can't figure out the architecture type of: /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//cc0xG0Oo.out BUILD FAILED /Users/nuxeo/Documents/workspace/gluegen/make/build.xml:466: The following error occurred while executing this line: /Users/nuxeo/Documents/workspace/gluegen/make/build.xml:494: gcc failed with return code 1 |
Administrator
|
On 09/30/2012 06:01 PM, Martin [via jogamp] wrote:
> Hi, > I have been able to build JOGL on ubuntu, but have problem to build it on macos > Does anybody knows what to do with the following: > warning 1: cc1obj: warning: command line option "-fno-rtti" is valid for > C++/ObjC++ but not for ObjC > error 1: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘jlong’ > error 2: lipo: can't figure out the architecture type of: > /var/folders/a2/a2afwWAvE0ymkJXN1y+MXU+++TI/-Tmp-//ccPMEZ7g.out > Pls check Bug 622 for building on OSX 10.8 <https://jogamp.org/bugzilla/show_bug.cgi?id=622> If it works for you [or not], please add a comment to Bug 622, thank you. signature.asc (907 bytes) Download Attachment |
Free forum by Nabble | Edit this page |