Error Building Jogl on Snow leopard
Posted by Mike Ford on Jun 09, 2010; 3:25pm
URL: https://forum.jogamp.org/Error-Building-Jogl-on-Snow-leopard-tp882537.html
c.build.jogl.gl2es12:
[echo] Output lib name = jogl_gl2es12
[echo] Compiling jogl_gl2es12
[cc] Starting dependency analysis for 6 files.
[cc] 6 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] Undefined symbols:
[cc] "_CGLSetPBuffer", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetPBuffer(__complex __complex __complex __complex __complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetPBuffer(__complex __complex __complex __complex __complex))
[cc] "_CGLDestroyContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyContext(__complex))
[cc] "_CGLGetCurrentContext", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetCurrentContext__ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetCurrentContext__)
[cc] "_CGLDestroyPixelFormat", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPixelFormat(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPixelFormat(__complex))
[cc] "_CGLSetParameter", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetParameter1__JILjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetParameter1__JILjava_lang_Object_2IZ)
[cc] "_CGLCreateContext", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreateContext1__JJLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreateContext1__JJLjava_lang_Object_2IZ)
[cc] "_CGLCopyContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCopyContext(__complex __complex int0_t)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCopyContext(__complex __complex int0_t))
[cc] "_CGLDescribePixelFormat", referenced from:
[cc] _CGLQueryPixelFormat in MacOSXCustomCGLCode.o
[cc] "_CGLQueryRendererInfo", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLFlushDrawable", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLFlushDrawable(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLFlushDrawable(__complex))
[cc] "_CGLSetCurrentContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetCurrentContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetCurrentContext(__complex))
[cc] "_CGLChoosePixelFormat", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLChoosePixelFormat1__Ljava_lang_Object_2IZLjava_lang_Object_2IZLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLChoosePixelFormat1__Ljava_lang_Object_2IZLjava_lang_Object_2IZLjava_lang_Object_2IZ)
[cc] "_CGLGetPixelFormat", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetPixelFormat(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetPixelFormat(__complex))
[cc] "_CGLDestroyRendererInfo", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLDescribeRenderer", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLDestroyPBuffer", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPBuffer(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPBuffer(__complex))
[cc] "_CGLCreatePBuffer", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreatePBuffer1__JJJJJLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreatePBuffer1__JJJJJLjava_lang_Object_2IZ)
[cc] "_CGLReleaseContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLReleaseContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLReleaseContext(__complex))
[cc] ld: symbol(s) not found
[cc] collect2: ld returned 1 exit status
[cc] Undefined symbols:
[cc] "_CGLSetPBuffer", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetPBuffer(__complex __complex __complex __complex __complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetPBuffer(__complex __complex __complex __complex __complex))
[cc] "_CGLDestroyContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyContext(__complex))
[cc] "_CGLGetCurrentContext", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetCurrentContext__ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetCurrentContext__)
[cc] "_CGLDestroyPixelFormat", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPixelFormat(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPixelFormat(__complex))
[cc] "_CGLSetParameter", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetParameter1__JILjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetParameter1__JILjava_lang_Object_2IZ)
[cc] "_CGLCreateContext", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreateContext1__JJLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreateContext1__JJLjava_lang_Object_2IZ)
[cc] "_CGLCopyContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCopyContext(__complex __complex int0_t)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCopyContext(__complex __complex int0_t))
[cc] "_CGLDescribePixelFormat", referenced from:
[cc] _CGLQueryPixelFormat in MacOSXCustomCGLCode.o
[cc] "_CGLQueryRendererInfo", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLFlushDrawable", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLFlushDrawable(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLFlushDrawable(__complex))
[cc] "_CGLSetCurrentContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetCurrentContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLSetCurrentContext(__complex))
[cc] "_CGLChoosePixelFormat", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLChoosePixelFormat1__Ljava_lang_Object_2IZLjava_lang_Object_2IZLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLChoosePixelFormat1__Ljava_lang_Object_2IZLjava_lang_Object_2IZLjava_lang_Object_2IZ)
[cc] "_CGLGetPixelFormat", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetPixelFormat(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLGetPixelFormat(__complex))
[cc] "_CGLDestroyRendererInfo", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLDescribeRenderer", referenced from:
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] _getRendererInfo in MacOSXWindowSystemInterface.o
[cc] "_CGLDestroyPBuffer", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPBuffer(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLDestroyPBuffer(__complex))
[cc] "_CGLCreatePBuffer", referenced from:
[cc] _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreatePBuffer1__JJJJJLjava_lang_Object_2IZ in CGL_JNI.o
[cc] (maybe you meant: _Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLCreatePBuffer1__JJJJJLjava_lang_Object_2IZ)
[cc] "_CGLReleaseContext", referenced from:
[cc] Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLReleaseContext(__complex)in CGL_JNI.o
[cc] (maybe you meant: Java_com_jogamp_opengl_impl_macosx_cgl_CGL_CGLReleaseContext(__complex))
[cc] ld: symbol(s) not found
[cc] collect2: ld returned 1 exit status
[cc] lipo: can't open input file: /var/folders/8b/8bcEYEm-ElOsgnuzzobN6E+++TI/-Tmp-//ccDitCh4.out (No such file or directory)
BUILD FAILED
/Users/mford/Documents/jogamp/jogl/make/build.xml:37: The following error occurred while executing this line:
/Users/mford/Documents/jogamp/jogl/make/build-jogl.xml:1420: The following error occurred while executing this line:
/Users/mford/Documents/jogamp/jogl/make/build-jogl.xml:1345: gcc failed with return code 1
Any ideas? I am using the newest version of apple's developer tools, the java sdk, and ant 1.8.1.