wx-2.7 OpenGL problem on MacOSX...

Stefan Csomor csomor at advancedconcepts.ch
Tue Aug 22 23:10:41 PDT 2006


Hi Lars

we are two wanderers in the mist - as you know I'm only fluent in XCode
;-)

as the config only gives you the libwx_macd-2.7.a , I'd assume that this
is the one you should link against, not the libwx_macd_gl-2.7.a. If this
doesn't work out, I'd try linking against both

HTH

Stefan

> -----Original Message-----
> From: Lars Pechan [mailto:lars.pechan at parkerpechan.com] 
> Sent: Mittwoch, 23. August 2006 08:29
> To: wx-users at lists.wxwidgets.org
> Subject: Re: wx-2.7 OpenGL problem on MacOSX...
> 
> Hi Stefan,
> Perhaps I have misunderstood something:
> 
> wx-config --debug=yes --static=yes --unicode=no --libs gives:
> 
> -L/usr/local/lib   -framework QuickTime -framework IOKit -framework  
> Carbon -framework Cocoa -framework System  /usr/local/lib/ 
> libwx_macd-2.7.a -framework WebKit -lz -lpthread -liconv
> 
> I thought the --enable-monolithic meant there should be only 
> one lib to link against? If that's not the case I don't 
> understand why wx- config doesn't spit out the rest of the 
> required libraries?
> 
> I can't find any switches for wx-config relating to OpenGL 
> and Monolithic so I thought the fact that the only lib spat 
> out by wx- config is a monolithic lib would imply that't the 
> only one needed...
> 
> Thanks,
> 
> /Lars
> 
> On 23/08/2006, at 5:17 PM, Stefan Csomor wrote:
> 
> > 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
> >>
> >>
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> > For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> >
> 
> 
> ---------------------------------------------------------------------
> 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