It was a fresh out-of-the-box MinGW Installation. I installed gcc 3.4.4 (without uninstalling the previous version) now, and it works, thanks for that!
Here are the problems I ran into while compiling:
(1) Whiteboard: the mingw-makefile compiles all the whiteboard-files. Some fail though, since WITH_INKBOARD is not defined and in desktop.h, struct SPDesktop, the definition of the attribute whiteboard_session_manager is guarded:
#ifdef WITH_INKBOARD Inkscape::Whiteboard::SessionManager* whiteboard_session_manager() { return _whiteboard_session_manager; } Inkscape::Whiteboard::SessionManager* _whiteboard_session_manager; #endif
So it seems that the makefile is out of sync with itsself. On the one side it includes the whiteboard files, on the other side WITH_WHITEBOARD is undefined.
Workaround: I deleted all whiteboard-files from make.ofiles
(2) In "Makefile.mingw" there is a line "$(RM) libinkscape.a". This command will fail when compiling the first time and the build process will exit. Workaround: delete/comment that line.
(3) The file "dialogs/input.o" is missing in "make.ofiles", causing some undefined references when linking. Since that is a generated file it seems to be missing somewhere else, too. Workaround: insert the line " dialogs/input.o " into "make.ofiles".
greets
Bob Jamison wrote:
I was having this problem on Mingw, also. Not just with this one, but with several instantiated templates. Searching the web, I found out that the cause of this is often found to be installing one version of C++ over another.
I tried this.... Uninstalled, downloaded gcc 3.4.4 explicitly, unpacked, and tried compiling again. All seems to be OK.
I'm not saying that this is your problem, but it might be a clue to investigate.
A good place to talk about this is on the Inkscape Jabber group at conference.gristle.org. Several Inkscape/w32 guys hang out there.
Bertram Drost wrote:
I have some problems with compiling the current CVS with the current MinGW, it is unable to compile dialogs/whiteboard-*.cpp and many of the jabber_whiteboard/*.cpp files (maybe more, but since it doesn't get past this point there is no way to tell right now).
For a dump of the error see blow. It all happens while including util/ucompose.hpp, line 66:
//This is standard, not GCC-specific like wostringstream std::basic_ostringstream<wchar_t> os;
with
H:\inkscape-win32\cvs\inkscape>mingw32-g++ --version mingw32-g++ (GCC) 3.4.2 (mingw-special)
I also downloaded the .42-tarball, but that doesn't seem to be configured for MinGW (misses config.h.mingw and some more).
Any ideas/suggestions?