Re: [Fink-users] Using wxWidgets

2015-02-15 Thread David Lowe
On 2015 Feb 14, at 12:32 PM, Martin Costabel wrote: > Placing `wx-config --libs` on the compiler line brings in a bunch of > libraries that might be sufficient. Well, that brought me back to the original error: "fatal error: 'wx/wx.h' file not found". It turned out the combination '-

Re: [Fink-users] Using wxWidgets

2015-02-14 Thread Martin Costabel
On 14/02/15 19:26, Daniel Johnson wrote: [] > > Oh and you need to link to wxWidgets too. Don't know the library name off the > top of my head. You might need other frameworks as well, like Cocoa. Placing `wx-config --libs` on the compiler line brings in a bunch of libraries that might be suffic

Re: [Fink-users] Using wxWidgets

2015-02-14 Thread Daniel Johnson
Daniel > On Feb 14, 2015, at 1:23 PM, Daniel Johnson > wrote: > > > > > Daniel > > On Feb 14, 2015, at 7:19 AM, David Lowe wrote: > >>> Undefined symbols for architecture x86_64: >>> "_CFRelease", referenced from: > > This indicates you need a "-framework CoreFoundation" on the link l

Re: [Fink-users] Using wxWidgets

2015-02-14 Thread Daniel Johnson
Daniel On Feb 14, 2015, at 7:19 AM, David Lowe wrote: >> Undefined symbols for architecture x86_64: >> "_CFRelease", referenced from: This indicates you need a "-framework CoreFoundation" on the link line. Daniel ---

Re: [Fink-users] Using wxWidgets

2015-02-14 Thread Alexander Hansen
> On Feb 14, 2015, at 4:19 AM, David Lowe wrote: > > On 2015 Feb 13, at 11:26 AM, Alexander Hansen > 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__ > >

Re: [Fink-users] Using wxWidgets

2015-02-13 Thread Alexander Hansen
> On Feb 13, 2015, at 10:58 AM, David Lowe wrote: > > I'm currently wanting to hand-compile a C++ program using fink's > wxwidgets packages [wxwidgets300-cocoa && shlibs]. However, the textbook > include line "#include " doesn't work here, giving me: > >> main.cpp:12:10: fatal error: '