Getting Started
From wxerlang
Quick Links
|
Download
If you would like to try it out you can download it from here.
You will also need:
The current release of wxerlang contains source which has been generated against wxwidgets 2.8.9. wxwidgets 2.8.8 is known to work. 2.8.7 should work as well.
Install the prebuilt Windows and Mac Release
The prebuilt release contains mac and windows binaries so nothing else should be required. It is linked with the wxWidgets-2.8.7 libraries.
Unpack and run 'escript install.es' or 'make install', or you can copy the prebuilt (for windows or mac) download to your erlang installation or point it out with werl -pa $WXEPATH/ebin
Building from the Source
You can also grab or browse the code from subversion directly here.
You will need wxWidgets. For linux there are usually prebuilt versions available via 'apt-get', 'yum', 'YaST' or etc. You currently need the opengl 'wxGL*' packages as well even if you don't have the intention of using opengl.
If you want to build wxwidgets yourself this is how I did it.
mkdir MYBUILD; cd MYBUILD
../configure --with-opengl --enable-unicode --disable-shared --enable-graphics_ctx \
--enable-gnomeprint %% On unix only
make && make install
cd contrib/src/stc/
make && make install
For windows and mac I use static libraries, for unix (i.e. Linux and Solaris) I skip the '--disable-shared' flag.
If you want to compile with --disable-shared for linux x86-64 I had to set CFLAGS=-fPIC set CXXFLAGS=-fPIC Before running configure.
--dgud
