Inkscape 0.48.3 Windows 7 64-bit
Hi All,
New to the list but not to compiling gtk programs on Windows.
I decided to try my hand on compiling Inkscape on 64-bit Windows 7 after users of my Gimp builds urged me to look into Inkscape. However, I am running into an issue that is not making sense to me. The compile fails on the ui/dialog part of the tree with a message that giom/dbusmessage.h has an error in it!. I can post the exact error if needed. However, thought this might be familiar to veterans out there and so decided to post. I am using gcc 4.7.2 if that matters.
If/once I am successful, I will be happy to put up builds on my website.
While Googling for 64-bit builds, I see that there is virtually nothing out there for Inkscape. The SuSE builds are interesting and work. However, the ui is screwy in that you cannot open any files or save them. In other words, no dialog box shows up when you run it. So, it's not very useful. :)
Thanks in advance,
Partha www.partha.com
not entirely sure if this is relevant, but the recommended compiler is tdm-gcc 4.6.1. Version 4.7.1 has caused problems on startup
http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows#Settin... http://old.nabble.com/Compiling-on-Windows-7-x64-td34601489.html
also, Inkscape 0.48.4 is available at http://sourceforge.net/projects/inkscape/files/inkscape/0.48.4/
-- View this message in context: http://inkscape.13.n6.nabble.com/Inkscape-0-48-3-Windows-7-64-bit-tp4965864p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Hi,
Thanks for your response! I am sorry, I should have mentioned 0.48.4 and I wrote 0.48.3 by mistake. :(
I read about the usage of Tdragon compiler instead of the mingw64 compiler - I use rubenvb 4.7.2 (target x86_64-win64-mingw32) personal build which is very stable. Is it possible that this compiler will result in the error below? I can temporarily install an old compiler to test it out.
I have not been able to build because of the following build error:
CXX ui/dialog/filedialogimpl-win32.o In file included from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmethodinvocation.h:30:0, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusconnection.h:33, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusaddress.h:29, from C:/Win64/msys/opt/include/giomm-2.4/giomm.h:37, from C:/Win64/msys/opt/include/gtkmm-2.4/gtkmm.h:88, from ui/dialog/filedialog.h:22, from ui/dialog/filedialogimpl-win32.cpp:43: C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:270:94: error: expected ',' or '...' before 'struct' C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:281:126: error: expected ',' or '...' before 'struct' ui/dialog/filedialogimpl-win32.cpp: In member function 'bool Inkscape::UI::Dialog::FileOpenDialogImplWin32::set_svg_preview()': ui/dialog/filedialogimpl-win32.cpp:934:59: warning: narrowing conversion of 'scaledSvgWidth' from 'const double' to 'NR::ICoord {aka int}' inside { } is ill-formed in C++11 [-Wnarr owing] ui/dialog/filedialogimpl-win32.cpp:934:59: warning: narrowing conversion of 'scaledSvgHeight' from 'const double' to 'NR::ICoord {aka int}' inside { } is ill-formed in C++11 [-Wnar rowing] ui/dialog/filedialogimpl-win32.cpp:935:58: warning: narrowing conversion of 'scaledSvgWidth' from 'const double' to 'NR::ICoord {aka int}' inside { } is ill-formed in C++11 [-Wnarr owing] ui/dialog/filedialogimpl-win32.cpp:935:58: warning: narrowing conversion of 'scaledSvgHeight' from 'const double' to 'NR::ICoord {aka int}' inside { } is ill-formed in C++11 [-Wnar rowing] ui/dialog/filedialogimpl-win32.cpp: In static member function 'static UINT_PTR Inkscape::UI::Dialog::FileSaveDialogImplWin32::GetSaveFileName_hookproc(HWND, UINT, WPARAM, LPARAM)':
ui/dialog/filedialogimpl-win32.cpp:1757:74: warning: passing NULL to non-pointer argument 1 of 'HWND__* CreateWindowExA(DWORD, LPCSTR, LPCSTR, DWORD, int, int, int, int, HWND, HMEN U, HINSTANCE, LPVOID)' [-Wconversion-null] make[2]: *** [ui/dialog/filedialogimpl-win32.o] Error 1 make[2]: Leaving directory `/usr/src/graphics/inkscape/inkscape-0.48.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/graphics/inkscape/inkscape-0.48.4' make: *** [all] Error 2
Here is my configuration: Configuration:
Source code location: . Destination path prefix: /opt Compiler: g++ CPPFLAGS: -Werror=format-security -DG_DISABLE_SINGLE_INCLUDES -Wall -Wformat -Wformat-security -W -D_FORTIFY_SOURCE=2 -I/opt/include CXXFLAGS: -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -Wno-unused-parameter -g -O2 CFLAGS: -Wno-pointer-sign -g -O2 LDFLAGS:
Use gnome-vfs: no Use openoffice files: yes Use relocation support: no Internal Python: skipped Internal Perl: skipped Enable LittleCms: yes Enable Poppler-Cairo: yes ImageMagick Magick++: yes Libwpg: yes GTK+ backend target: win32
Thanks again, Partha
On Sun, Jan 6, 2013 at 7:21 AM, alvinpenner <penner@...1856...> wrote:
not entirely sure if this is relevant, but the recommended compiler is tdm-gcc 4.6.1. Version 4.7.1 has caused problems on startup
http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows#Settin... http://old.nabble.com/Compiling-on-Windows-7-x64-td34601489.html
also, Inkscape 0.48.4 is available at http://sourceforge.net/projects/inkscape/files/inkscape/0.48.4/
-- View this message in context: http://inkscape.13.n6.nabble.com/Inkscape-0-48-3-Windows-7-64-bit-tp4965864p... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi Partha,
De : Partha Bagchi <partha1b@...400...> I have not been able to build because of the following build error: ...
In file included from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmethodinvocation.h:30:0, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusconnection.h:33, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusaddress.h:29, from C:/Win64/msys/opt/include/giomm-2.4/giomm.h:37, from C:/Win64/msys/opt/include/gtkmm-2.4/gtkmm.h:88, from ui/dialog/filedialog.h:22, from ui/dialog/filedialogimpl-win32.cpp:43: C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:270:94: error: expected ',' or '...' before 'struct' C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:281:126: error: expected ',' or '...' before 'struct'
I ran into the same issue in my attempts to compile Inkscape with gtk3 and the OpenSuse cross-compiled libs (files and documentation available at http://bazaar.launchpad.net/~jazzynico/inkscape-devlibs/devlibs-gtk3/files). Commenting all the includes related to dbus in include/giomm-2.4/giomm.h fixed the issue. Not sure dbus works on Windows anyway.
Note that using the OpenSuse files requires that you extract the downloaded files twice (the first one generate a cpio file). You can also use a python utility called download-mingw-rpm.py (from https://github.com/mkbosmans/download-mingw-rpm) to help you download and extract everything in one go.
Did you recompile all the devlibs with g++-4.7? I'm still stuck with ImageMagick and Aspell, and it would be great if you have tips for that libs.
Regards, -- Nicolas
D-Bus on windows has now been folded into the main dev branch so theoretically it should work... http://www.freedesktop.org/wiki/Software/dbus
Getting D-Bus working on windows would enable more sophisticated extensions to be available on all platforms. I'd really like to get my union and intersection extensions working... I know some extensive work was done on exposing more of the core API through D-Bus seems like a couple of years back.
Cheers...
On 1/7/2013 7:10 AM, Nicolas Dufour wrote:
Hi Partha,
De : Partha Bagchi <partha1b@...400...> I have not been able to build because of the following build error: ... In file included from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmethodinvocation.h:30:0, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusconnection.h:33, from C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusaddress.h:29, from C:/Win64/msys/opt/include/giomm-2.4/giomm.h:37, from C:/Win64/msys/opt/include/gtkmm-2.4/gtkmm.h:88, from ui/dialog/filedialog.h:22, from ui/dialog/filedialogimpl-win32.cpp:43: C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:270:94: error: expected ',' or '...' before 'struct' C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:281:126: error: expected ',' or '...' before 'struct'
I ran into the same issue in my attempts to compile Inkscape with gtk3 and the OpenSuse cross-compiled libs (files and documentation available at http://bazaar.launchpad.net/~jazzynico/inkscape-devlibs/devlibs-gtk3/files). Commenting all the includes related to dbus in include/giomm-2.4/giomm.h fixed the issue. Not sure dbus works on Windows anyway.
Note that using the OpenSuse files requires that you extract the downloaded files twice (the first one generate a cpio file). You can also use a python utility called download-mingw-rpm.py (from https://github.com/mkbosmans/download-mingw-rpm) to help you download and extract everything in one go.
Did you recompile all the devlibs with g++-4.7? I'm still stuck with ImageMagick and Aspell, and it would be great if you have tips for that libs.
Regards,
Nicolas
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
On Sun, Jan 6, 2013 at 5:00 PM, Mark Schafer <mschafer@...2596...> wrote:
D-Bus on windows has now been folded into the main dev branch so theoretically it should work... http://www.freedesktop.org/wiki/Software/dbus
That's what I thought. Hence my surprise at the error while compiling.
Getting D-Bus working on windows would enable more sophisticated extensions to be available on all platforms. I'd really like to get my union and intersection extensions working... I know some extensive work was done on exposing more of the core API through D-Bus seems like a couple of years back.
Cheers...
On 1/7/2013 7:10 AM, Nicolas Dufour wrote:
Hi Partha,
De : Partha Bagchi <partha1b@...400...> I have not been able to build because of the following build error: ... In file included from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmethodinvocation.h:30:0,
from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusconnection.h:33,
from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusaddress.h:29,
from C:/Win64/msys/opt/include/giomm-2.4/giomm.h:37, from C:/Win64/msys/opt/include/gtkmm-2.4/gtkmm.h:88, from ui/dialog/filedialog.h:22, from ui/dialog/filedialogimpl-win32.cpp:43:
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:270:94: error:
expected ',' or '...' before 'struct'
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:281:126: error:
expected ',' or '...' before 'struct'
I ran into the same issue in my attempts to compile Inkscape with gtk3
and the OpenSuse cross-compiled libs (files and documentation available at http://bazaar.launchpad.net/~jazzynico/inkscape-devlibs/devlibs-gtk3/files). Commenting all the includes related to dbus in include/giomm-2.4/giomm.h fixed the issue. Not sure dbus works on Windows anyway.
Note that using the OpenSuse files requires that you extract the
downloaded files twice (the first one generate a cpio file). You can also use a python utility called download-mingw-rpm.py (from https://github.com/mkbosmans/download-mingw-rpm) to help you download and extract everything in one go.
Did you recompile all the devlibs with g++-4.7? I'm still stuck with
ImageMagick and Aspell, and it would be great if you have tips for that libs.
Regards,
Nicolas
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi Nicolas,
On Sun, Jan 6, 2013 at 1:10 PM, Nicolas Dufour <nicoduf@...48...> wrote:
Hi Partha,
De : Partha Bagchi <partha1b@...400...> I have not been able to build because of the following build error: ...
In file included from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmethodinvocation.h:30:0,
from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusconnection.h:33,
from
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusaddress.h:29,
from C:/Win64/msys/opt/include/giomm-2.4/giomm.h:37, from C:/Win64/msys/opt/include/gtkmm-2.4/gtkmm.h:88, from ui/dialog/filedialog.h:22, from ui/dialog/filedialogimpl-win32.cpp:43:
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:270:94: error:
expected ',' or '...' before 'struct'
C:/Win64/msys/opt/include/giomm-2.4/giomm/dbusmessage.h:281:126: error:
expected ',' or '...' before 'struct'
I ran into the same issue in my attempts to compile Inkscape with gtk3 and the OpenSuse cross-compiled libs (files and documentation available at http://bazaar.launchpad.net/~jazzynico/inkscape-devlibs/devlibs-gtk3/files). Commenting all the includes related to dbus in include/giomm-2.4/giomm.h fixed the issue. Not sure dbus works on Windows anyway.
Thanks for the tip! This worked for me! :) However, now I am stuck at the following:
make[2]: Entering directory `/usr/src/graphics/inkscape/inkscape-0.48.4/src' CXXLD inkscape.exe libinkscape.a(ege-paint-def.o):ege-paint-def.cpp:(.text+0x18bf): undefined reference to `Glib::Ascii::__strtod(std::string const&)' libinkscape.a(ege-paint-def.o):ege-paint-def.cpp:(.text+0x1982): undefined reference to `Glib::Ascii::__strtod(std::string const&)' libinkscape.a(ege-paint-def.o):ege-paint-def.cpp:(.text+0x1a45): undefined reference to `Glib::Ascii::__strtod(std::string const&)' c:/win64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.7.2/../../../../x86_64-w64-mingw32/bin/ld.exe: libinkscape.a(ege-paint-def.o): bad reloc address 0x0 in section `.pdata' collect2.exe: error: ld returned 1 exit status make[2]: *** [inkscape.exe] Error 1 make[2]: Leaving directory `/usr/src/graphics/inkscape/inkscape-0.48.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/graphics/inkscape/inkscape-0.48.4' make: *** [all] Error 2
I have to figure that one out unless you have some suggestions?
Note that using the OpenSuse files requires that you extract the downloaded
files twice (the first one generate a cpio file). You can also use a python utility called download-mingw-rpm.py (from https://github.com/mkbosmans/download-mingw-rpm) to help you download and extract everything in one go.
Yes, I am familiar with the structure used by SUSE. So, I wrote my own shell script to handle updating my system from their great gtk builds.
As a side note, I looked at their Inkscape build. It works sort of. You cannot open any files or save your work. I think this is probably due to the fact that they use gnome-vfs which I don't think works on windows. So, you don't get any file open or save dialog boxes etc.
Did you recompile all the devlibs with g++-4.7? I'm still stuck with ImageMagick and Aspell, and it would be great if you have tips for that libs.
No, I didn't or don't compile any devlibs. I rely on SUSE since they do such a bang up job! :) I compiled ImageMagick on my system without any difficulty. I can provide the binaries if you want. I have not tried Aspell. I compile Gimp all the time though.
Thanks again! Partha
Regards,
Nicolas
participants (4)
-
alvinpenner
-
Mark Schafer
-
Nicolas Dufour
-
Partha Bagchi