Help setting up wxwidgets on OSX Mavericks
Posted: Fri Oct 03, 2014 11:26 am
I am unable to compile a simple wxwidgets project using CodeLite 6.1. I get the following error:
I previously downloaded wxwidgets 3.0.1 src and compiled it using command line on OSX, including sudo make install. The sample wxwidgets apps all launch and look great.
In CodeLite, I added to the workspace settings the following in order to find wx-config:
So now trying to create first wxwidgets app using CodeLite. I create new project, select wxiwdgets frame type, then try to build, and this error about unable to find type_traits.
Anyone have any ideas how to get first simple wxwidgets app to compile through CodeLite?
Code: Select all
.
.
/usr/bin/g++ -c "/Users/sjs/Documents/wxprojects/workspaces/myworkspace/tester/MainFrame.cpp" -g -O0 -Wall -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -o ./Debug/MainFrame.cpp.o -I. -I.
In file included from /Users/sjs/Documents/wxprojects/workspaces/myworkspace/tester/wxcrafter.cpp:1:
In file included from ./wxcrafter.h:4:
In file included from /usr/local/include/wx-3.0/wx/settings.h:14:
In file included from /usr/local/include/wx-3.0/wx/colour.h:15:
In file included from /usr/local/include/wx-3.0/wx/gdiobj.h:14:
In file included from /usr/local/include/wx-3.0/wx/object.h:19:
In file included from /usr/local/include/wx-3.0/wx/memory.h:15:
In file included from /usr/local/include/wx-3.0/wx/string.h:46:
/usr/local/include/wx-3.0/wx/strvararg.h:30:18: fatal error: 'tr1/type_traits' file not found
#include <tr1/type_traits>
^
In CodeLite, I added to the workspace settings the following in order to find wx-config:
Code: Select all
PATH=$PATH:/usr/local/bin
Anyone have any ideas how to get first simple wxwidgets app to compile through CodeLite?