g mak wrote:
Hi,
I am a new to the project and am having a problem starting with a build on windows XP.
I followed the wiki on http://wiki.inkscape.org/wiki/index.php/Win32Port with:
* mingw 4.2.1-071022 * gtk 210-071023 * devlibs 2.12-071115
and got the following errors: C:\inks>mingwenv Setting environment variables for MinGw build of Inkscape
C:\inks>set GTK=c:/gtk210
C:\inks>set GTKDOS=c:\gtk210
C:\inks>set path=c:\mingw\bin;c:\gtk210\bin;c:\mingw\bin;c:\gtk28\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;C:\Program Files\ATI Technologies\ATI.ACE\ C:\inks>g++ buildtool.cpp -o btool buildtool.cpp:63: error: redefinition of 'struct timezone' c:\mingw\bin../lib/gcc/mingw32/4.2.1-dw2/../../../../include/sys/time.h:27: error: previous definition of 'struct timez one' buildtool.cpp:1318: warning: deprecated conversion from string constant to 'char*' buildtool.cpp:1318: warning: deprecated conversion from string constant to 'char*' buildtool.cpp:1318: warning: deprecated conversion from string constant to 'char*' buildtool.cpp:1318: warning: deprecated conversion from string constant to 'char*' buildtool.cpp:1318: warning: deprecated conversion from string constant to 'char*' buildtool.cpp: In member function 'int buildtool::Parser::getQuoted(int, buildtool::String&, int)': buildtool.cpp:1509: warning: deprecated conversion from string constant to 'char*' buildtool.cpp: In member function 'int buildtool::Parser::parseElement(int, buildtool::Element*, int)': buildtool.cpp:1741: warning: deprecated conversion from string constant to 'char*' buildtool.cpp:1761: warning: deprecated conversion from string constant to 'char*'
I then searched and found a different note on http://inkscape.modevia.com/win32_inkscape_org/win32buildnotes.html, and replaced: * gtk 210-071023 with gtk28-060502 which resulted in a successful build of btool.exe. However, when I run btool, it result in the following: C:\inks>btool #################################################### # BuildTool v0.6, 2006 Bob Jamison #################################################### ######## PARSE : build.xml ######## PARSE COMPLETE ######## EXECUTE ## Target : init ---- task : mkdir : build ---- task : mkdir : inkscape ---- task : copy : src/helper/sp-marshal.h.mingw to src/helper/sp-marshal.h ---- task : copy : src/helper/sp-marshal.cpp.mingw to src/helper/sp-marshal.cpp ---- task : makefile : inkscape_version.h ---- task : makefile : config.h ## Target : compile ---- task : cc : compile of build/obj/arc-context.o required by src/arc-context.cpp ============ cmd ============ i686-pc-mingw32-g++ -c -Wall -O3 -mms-bitfields -DVERSION=\"0.45.1\" -DHAVE_CONFIG_H -DXP_WIN -D_INTL_REDIRECT_INLINE -I . -Ic:/gtk210/include -Ic:/gtk210/include/glibmm-2.4 -Ic:/gtk210/lib/glibmm-2.4/include -Ic:/gtk210/include/gtkmm-2.4 -I c:/gtk210/lib/gtkmm-2.4/include -Ic:/gtk210/include/gdkmm-2.4 -Ic:/gtk210/lib/gdkmm-2.4/include -Ic:/gtk210/include/pang omm-1.4 -Ic:/gtk210/include/atkmm-1.6 -Ic:/gtk210/include/cairomm-1.0 -Ic:/gtk210/include/sigc++-2.0 -Ic:/gtk210/lib/sig c++-2.0/include -Ic:/gtk210/include/gtk-2.0 -Ic:/gtk210/lib/gtk-2.0/include -Ic:/gtk210/include/atk-1.0 -Ic:/gtk210/incl ude/pango-1.0 -Ic:/gtk210/include/glib-2.0 -Ic:/gtk210/lib/glib-2.0/include -Ic:/gtk210/include/libxml2 -Ic:/gtk210/incl ude/freetype2 -Ic:/gtk210/include/cairo -Wno-comment -Ic:/gtk210/perl/lib/CORE -Ic:/gtk210/python/include -Isrc -Isrc/ application -Isrc/debug -Isrc/dialogs -Isrc/display -Isrc/dom -Isrc/dom/io -Isrc/dom/odf -Isrc/dom/svg -Isrc/dom/util -I src/extension -Isrc/extension/implementation -Isrc/extension/internal -Isrc/extension/internal/libwpg -Isrc/extension/sc ript -Isrc/graphlayout -Isrc/helper -Isrc/inkjar -Isrc/io -Isrc/jabber_whiteboard -Isrc/jabber_whiteboard/dialog -Isrc/l ibavoid -Isrc/libcola -Isrc/libcroco -Isrc/libnr -Isrc/libnrtype -Isrc/libvpsc -Isrc/libvpsc/pairingheap -Isrc/livarot - Isrc/pedro -Isrc/removeoverlap -Isrc/svg -Isrc/trace -Isrc/trace/potrace -Isrc/ui -Isrc/ui/dialog -Isrc/ui/view -Isrc/ui /widget -Isrc/util -Isrc/widgets -Isrc/xml src/arc-context.cpp -o build/obj/arc-context.o ============================= Make error: executeCommand : could not create process : The system cannot find the file specified. Make error: problem compiling: After checking all the src directories, I noticed that "pixmaps" and "traits" were not referenced in the g++ call. Would that be a potential problem? The Make error did not specific the missing file(s), so I am lost on direction. I have also replaced mingw with mingw34-0510112028 from the snapshot. The result seemed to be the same. Much appreciated!
Hi,
Why is mingenv.bat still pointing to gtk210? It was changed to C:\devlibs sometime ago in svn. You should try to use svn head version, or at least a recent snapshot.