wx-2.7 OpenGL problem on MacOSX...

Stefan Csomor csomor at advancedconcepts.ch
Tue Aug 22 22:17:08 PDT 2006


Hi

sorry, I don't really understand what the problem is - are you linking
only against macd_gl ? this file only contains the opengl specific
parts, the rest must come from somwhere else, so you have to either add
all needed static libs, or start using the shared library versions

Sorry if I misunderstood...

Stefan

> -----Original Message-----
> From: Lars Pechan [mailto:lars.pechan at parkerpechan.com] 
> Sent: Mittwoch, 23. August 2006 07:20
> To: wx-users at lists.wxwidgets.org
> Subject: wx-2.7 OpenGL problem on MacOSX...
> 
> Hello,
> I have a problem building a small utility library when using wx-2.7.0-
> r1 compiles with OpenGl support.  I configure my library 
> build like so:
> 
> ../../../../configure --with-opengl --enable-debug 
> --disable-shared -- disable-unicode --enable-monolithic 
> --enable-xrc --enable-docview
> 
> This configures fine so I run 'make' and 'make install' when 
> the first make has finished. This puts the following files in my /usr/
> local/lib:
> 
> 
> -rw-r--r--    1 lasse    develope     194M Aug 23 17:07 
> libwx_macd-2.7.a
> -rw-r--r--    1 lasse    develope     677k Aug 23 17:07  
> libwx_macd_gl-2.7.a
> -rw-r--r--    1 lasse    develope     478k Aug 23 16:47  
> libwxexpatd-2.7.a
> -rw-r--r--    1 lasse    develope     887k Aug 23 16:46 
> libwxjpegd-2.7.a
> -rw-r--r--    1 lasse    develope     637k Aug 23 16:46 
> libwxpngd-2.7.a
> -rw-r--r--    1 lasse    develope     946k Aug 23 16:47 
> libwxtiffd-2.7.a
> 
> If Ilink my util against libwx_macd_gl-2.7.a I get the following mess:
> 
> Linking CXX shared library ../../bin/libpxUtils.dylib
> ld: Undefined symbols:
> __ZN12wxStringBase4nposE
> __ZN12wxStringBase8InitWithEPKcmm
> __ZN15wxMessageDialog9ShowModalEv
> __ZN15wxMessageDialogC1EP8wxWindowRK8wxStringS4_lRK7wxPoint
> __ZN8wxDialogD2Ev
> __ZN8wxThread11TestDestroyEv
> __ZN8wxThreadD2Ev
> __ZTI8wxThread
> __ZTV15wxMessageDialog
> _wxDefaultPosition
> /usr/bin/libtool: internal link edit command failed
> 
> Funny thing is, if I link against libwx_macd-2.7.a, it links fine???
> 
> Any ideas?
> 
> TIA,
> 
> Lars
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 
> 




More information about the wx-users mailing list