> On Feb 14, 2015, at 4:19 AM, David Lowe <doctorjl...@verizon.net> wrote:
> 
> On 2015 Feb 13, at 11:26 AM, Alexander Hansen <alexanderk.han...@gmail.com> 
> wrote:
> 
>> $ wx-config --cppflags
>> -I/sw/lib/wx/include/osx_cocoa-unicode-3.0 -I/sw/include/wx-3.0 
>> -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__
> 
>       Okeh, i've done that now [my output is just like yours].  When i add 
> those arguments to the command i now get missing symbol errors.  I'll post 
> the output at the end of this message since it is quite long.  Are the flags 
> in the right place, or did i miss something?       
> 
>> $ g++ -Wall -I/sw/lib/wx/include/osx_cocoa-unicode-3.0 -I/sw/include/wx-3.0 
>> -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ 
>> -D__WXOSX_COCOA__ DrawingFrame.cpp DrawingWindow.cpp Line.cpp main.cpp
>> Undefined symbols for architecture x86_64:
>>  "_CFRelease", referenced from:
>>      void wxCFRelease<CGColor>(CGColor*) in DrawingFrame-2ad6e7.o
>>      void wxCFRelease<CGColor>(CGColor*) in DrawingWindow-793dff.o
>>      void wxCFRelease<CGColor>(CGColor*) in main-31251d.o
>>  "_CFRetain", referenced from:
>>      CGColor* wxCFRetain<CGColor>(CGColor*) in DrawingFrame-2ad6e7.o

>> 

<snip>

>>      ...
>> ld: symbol(s) not found for architecture x86_64
>> clang: error: linker command failed with exit code 1 (use -v to see 
>> invocation)
> 
> sent from Mountain Lion
> 
> Mal: "Next time you want to stab me in the back, have the guts to do it to my 
> face."


_CFRelease and _CFRetain look like they might be from the CoreFoundation 
framework.  I’m guessing that wx-config maybe doesn’t provide all of the flags 
for libraries outside of wxwidgets.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to