Error Building Jogl on Snow leopard

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Error Building Jogl on Snow leopard

Mike Ford
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.

Reply | Threaded
Open this post in threaded view
|

Re: Error Building Jogl on Snow leopard

Makoto1337
I have the same problem on snow leopard. Is there a good solution to this? It seems like a really weird error and I can't figure it out. I am using the latest version of Java and have the newest version of ant and gcc.
Reply | Threaded
Open this post in threaded view
|

Re: Error Building Jogl on Snow leopard

Sven Gothel
Administrator
On Monday, July 05, 2010 02:11:32 Makoto1337 [via jogamp] wrote:

>
> I have the same problem on snow leopard. Is there a good solution to this? It
> seems like a really weird error and I can't figure it out. I am using the
> latest version of Java and have the newest version of ant and gcc.
>
> ______________________________________
> View message @ http://jogamp.762907.n3.nabble.com/Error-Building-Jogl-on-Snow-leopard-tp882537p943201.html
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, click http://jogamp.762907.n3.nabble.com/subscriptions/Unsubscribe.jtp?code=c2dvdGhlbEBqYXVzb2Z0LmNvbXw3NjI5MDd8MzkxNDI4MzU5
>

We will make an announcement when the Mac OSX build is up and running again
within 1-2 week(s).

~Sven