In this weekend (28-29 April 2007), I figured out how to compile the wxWidgets and wxArt2D. Man, it is not that easy! I compiled the wxWidgets 2.8.3 and wxArt2D from CVS (20070429). I couldn't build wxArt2D dinamically so I needed to generate the static libraries of wxWidgets; besides that I needed to disable the io_stdstreams in wxWidgets so the wxArt2D could compile cleanly.

So, let's go:

# tar -zxf wxWidgets-2.8.3.tar.gz
# cd wxWidgets-2.8.3
# mkdir obj-static
# cd obj-static
# ../configure --prefix=/opt/wxw283 --with-gtk=2 --enable-unicode --with-opengl --disable-io_stdstreams --disable-shared
# make
# cd contrib/src
# make
# cd ../../..
# make -C locale allmo
# cd obj-static
# make install
# cd contrib
# make install

After building the wxWidgets, let's try the wxArt2D:

# cvs -d:pserver:anonymous@wxart2d.cvs.sourceforge.net:/cvsroot/wxart2d login
# cvs -z3 -d:pserver:anonymous@wxart2d.cvs.sourceforge.net:/cvsroot/wxart2d co -P wxArt2D
# cd wxArt2D
# mkdir obj-static
# cd obj-static
# ccmake ../

At this point I set up the wxArt2D path, wxWidgets path (static path) and enable unicode, disable debug and disable shared. So just hit 'c' key (check the libraries and binaries) twice, and then 'g' key (generate makefiles and exit).

# make
# cd samples
# make
# cd ../..
# make install

That's it! Isn't it easy? But I spent some hours trying to figure out this path. :-)

The next step is evaluating the components. I'm testing some of them to make sure it's useful for the project.