Tuesday, September 10, 2013

Compiling flamerobin with wxwidgets 3.0

This is guide compiling the flamerobin version from git with wxwidgets 3.0 on ubuntu 13.10


download wxwidgets 3.0


./configure  --enable-debug --enable-unicode --prefix=/opt/wxwidgets
make -j4
make install


clone flamerobin from git

./configure --with-wx-config=/opt/wxwidgets/bin/wx-config --enable-debug --prefix=/opt/flamerobin

make
then make install


First issue Fixed : I needed to add
-lwx_gtk2u_aui-2.9 -lwx_gtk2u_stc-2.9 to the compile/linking line (i need to change the bkl file like is done for windows with 29 system libs added)
Second issue Fixed:
I investigate this error now when i fetch data from a table in the grid

/opt/wxwidgets/include/wx-2.9/wx/strvararg.h(452): assert "(argtype & (wxFormatStringSpecifier::value)) == argtype" failed in wxArgNormalizer(): format specifier doesn't match argument type

Update:
Solved by a small modification (long type format was needed)