Reputation: 55
I am trying to install wxWidgets on Windows.
I unzipped wxWidgets and then followed this guide: http://wiki.wxwidgets.org/Adding_an_Environment_Variable_under_Windows
I copied their sample hello world source code and tried to compile it using g++ but it tells me wx/wx.h No such file...
I am new to C++. Am I doing it right? I followed the guide exactly.
PS: I use cygwin + notepad++
Upvotes: 0
Views: 1677
Reputation: 22678
With Cygwin you need to:
configure
and make
, see the appropriate section of docs/msw/install.txt
in your wxWidgets installation.make install
.wx-config --cxxflags --libs
when compiling your code, just as under Unix (because Cygwin is Unix).P.S. If you're new to C++ you're unlikely to find Cygwin the most newbie-friendly environment.
Upvotes: 1