Search code examples
macoswxwidgetscompilation

How to use wxWidgets in Mac


I am completely newbie in wxWidget and want to learn about this library. I've try to install with "make" command and try to make a program (using the g++ stuff) and no success. I've try to use http://max.berger.name/howto/wxWidgets/wxWidgets_Eclipse.jsp#d43e34 but no succes either.

So actually how to use wxWidgets and compile a program? Am I have to write my own Makefile? Am I have to put the source code in the wxWidgets installation?

Thanks for advance


Solution

  • On the Mac there's two ways: use ./configure && make && make install in your wxWidgets download folder, or use Xcode to build wxWidgets. Both these ways are documented on the wxWidgets wiki: