> On Feb 13, 2015, at 10:58 AM, David Lowe <doctorjl...@verizon.net> 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 <wx/wx.h>" doesn't work here, giving me: > >> main.cpp:12:10: fatal error: 'wx/wx.h' file not found >> #include <wx/wx.h> >> ^ >> 1 error generated. >
I’m guessing you don’t have -I/sw/include/wx-3.0 in your compiler line. $ dpkg -S wx.h wxwidgets300-cocoa: /sw/include/wx-3.0/wx/wx.h I’d recommend using the wx-config helper tool to get the appropriate include paths, especially if you decide you might want to switch over to wxwidgets300-osxcocoa, since that’s the package that I’m actually updating. $ 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__ -- 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