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