Hi,
I'd like to use wxArt2D in one of my projects to be able to read svg-files.
I'm using MinGW (without MSYS) and wxWidgets as GUI-library. wxWidgets seems
to be compiled correctly (the samples were compiled and are working). I
tried to compile STC, which seems to be working (also it produced maaaannny
warnings).
The generation of the makefiles with Cmake worked but when I try to make
wxArt2d, the compiler produces an error in 'imagergba.cpp':
C:\lib\wxArt2D\modules\general\src\imagergba.cpp:30:24: Fehler: gtk/gtk.h:
No such file or directory
'gtk.h' is included, when __WXMSW__ is defined but __GNUWIN32__ isn't:
imagergba.cpp (line 27++):
.
#if defined(__WXMSW__) && !defined(__GNUWIN32__)
#include "wx/msw/dib.h"
#else
#include <gtk/gtk.h>
#endif
.
And __GNUWIN32__ seems to be defined by Cmake when it thinks to have found
cygwin (This is the only occurrence of __GNUWIN32_ in this file):
CMakeLists.txt from wxArt2D (line 74++):
.
IF( CYGWIN OR MINGW )
IF( CYGWIN )
SET( wxWidgets_DEFINITIONS ${wxWidgets_DEFINITIONS}
-D__GNUWIN32__ -O2 -D_WIN32_IE=0x400 -MMD -Wall )
ENDIF( CYGWIN )
ELSE( CYGWIN OR MINGW )
.
I haven't installed cygwin. Could anyone give me a hint how to compile
wxArt2D to be used in my project.
I would prefer to have an unicode, shared build but any working compile will
do to get started.
Thanks in advance, Markus
P.S.: Sorry for the doublepost, my fingers were a little fast
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev