Build problems - Last two commits (18500 & 18501)
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 =====
So I updated to SVN 18501, and someone changed main.cpp, which now gives me this error; ===== Make error line 201: problem compiling: src/main.cpp: In function 'void sp_do_ex port_png(SPDocument*)': src/main.cpp:1027: warning: 'sp_item_invoke_bbox' is deprecated (declared at src /sp-item.h:215) src/main.cpp: In function 'bool replaceArgs(int&, char**&)': src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tCreationTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastAccessTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastWriteTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeHigh' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeLow' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved0' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved1' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c FileName' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c AlternateFileName' 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*> ]' =====
I don't think the first error has yet been dealt with, but the second error simply occurs before the first error gets a chance.
Cheers,
Rygle.
Viewing the SVN tree,
@ 18501 - Joncruz has done some string cleanups in main.cpp - gchar* blankParam = ""; has been changed to gchar const* blankParam = "";
This lines up with the build error, which complains about; src/main.cpp:1523: error: invalid conversion from 'const gchar*' to 'gchar*'
Rygle.
I think the error at SNV 18500 could be from a rename of /src/dom/svgparser.cpp to /src/dom/svgreader.cpp at SVN 18494 or 18495 by Ishmal.
Here's more of the error;
cc : compile of build/obj/dom/svgparser.o required by included: src/dom/svg. h ============ cmd ============ (cut for brevity) ============================= Make error line 201: problem compiling: mingw32-g++: src/dom/svgparser.cpp: No s uch file or directory mingw32-g++: no input files
Rygle.
OK, JonCruz has fixed main.cpp (thanks!) and it seems that a cleanup of the build directory (btool clean on Windows) may fix the previous error. Just trying again. Will reply if it's not OK, but it should be.
Rygle.
On Fri, May 02, 2008 at 12:07:48AM -0700, rygle wrote:
OK, JonCruz has fixed main.cpp (thanks!) and it seems that a cleanup of the build directory (btool clean on Windows) may fix the previous error. Just trying again. Will reply if it's not OK, but it should be.
It sure did fix the build problem for me, so it seems like it's OK now.
-- Marcin Floryan http://marcin.floryan.pl/ [GPG Key ID: 0D5581C5]
rygle,
A couple file were deleted( and added) in the last couple revisions, you probably need to just rebuild your make files using btool.
Joshua L. Blocher verbalshadow
On Fri, May 2, 2008 at 12:34 AM, rygle <pittos@...1208...> 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 =====
So I updated to SVN 18501, and someone changed main.cpp, which now gives me this error; ===== Make error line 201: problem compiling: src/main.cpp: In function 'void sp_do_ex port_png(SPDocument*)': src/main.cpp:1027: warning: 'sp_item_invoke_bbox' is deprecated (declared at src /sp-item.h:215) src/main.cpp: In function 'bool replaceArgs(int&, char**&)': src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tCreationTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastAccessTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastWriteTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeHigh' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeLow' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved0' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved1' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c FileName' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c AlternateFileName' 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*> ]' =====
I don't think the first error has yet been dealt with, but the second error simply occurs before the first error gets a chance.
Cheers,
Rygle.
View this message in context: http://www.nabble.com/Build-problems---Last-two-commits-%2818500---18501%29-... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
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.
This is because a couple of files were renamed. Your file list can be regenerated by simply deleting build.dep and running buildtool again. This avoids recompiling everything, like a "build clean" would do.
bob
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 =====
So I updated to SVN 18501, and someone changed main.cpp, which now gives me this error; ===== Make error line 201: problem compiling: src/main.cpp: In function 'void sp_do_ex port_png(SPDocument*)': src/main.cpp:1027: warning: 'sp_item_invoke_bbox' is deprecated (declared at src /sp-item.h:215) src/main.cpp: In function 'bool replaceArgs(int&, char**&)': src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tCreationTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastAccessTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::f tLastWriteTime' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeHigh' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::n FileSizeLow' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved0' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::d wReserved1' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c FileName' src/main.cpp:1419: warning: missing initializer for member '_WIN32_FIND_DATAW::c AlternateFileName' 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*> ]' =====
I don't think the first error has yet been dealt with, but the second error simply occurs before the first error gets a chance.
Cheers,
Rygle.
participants (5)
-
Bob Jamison
-
Jon A. Cruz
-
Joshua Blocher
-
Marcin Floryan
-
rygle