On Thu, 2008-05-01 at 23:34 -0700, rygle wrote:
Hi guys,
Having problems building the last two trunk revisions on Win32;
SVN 18500 gives me this;
Make error line 201: problem compiling: mingw32-g++: src/dom/svgparser.cpp: No s uch file or directory mingw32-g++: no input files
I'm not sure of the proper fix (it's a build/makefile issue). However, as a quick work-around I just edited src/Makefile to remove lines regarding svgparser.* (and the few other files that come up next).
=====
So I updated to SVN 18501, and someone changed main.cpp, which now gives me this error;
...
src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f
...
Oooh, those look like Win32 specific issues that probably should be corrected at some point.
This next one is mine:
src/main.cpp:1523: error: invalid conversion from 'const gchar*' to 'gchar*' src/main.cpp:1523: error: initializing argument 1 of 'void std::vector<_Tp, _A lloc>::push_back(const _Tp&) [with _Tp = gchar*, _Alloc = std::allocator<gchar*> ]'
blankParam was gchar*, but pointing to a string literal. Those are const, and trying to change one would be bad. Adding 'const' gives the correctness to fix that.
The problem is that we're dealing with args on main, which were defined in the days before "const". I've tried a different solution. See if that works.