Compile Error With Window

Discussion about writing code for Inkscape.
Mahendra
Posts: 5
Joined: Fri Jun 03, 2011 9:32 pm

Compile Error With Window

Postby Mahendra » Wed Jun 08, 2011 5:33 pm

Hello
I am tring to compile inkScape on Window ,I follow the step.

Code: Select all



E:\Editor\inkscape-0.48.1\inkscape-0.48.1> mingwenv
E:\Editor\inkscape-0.48.1\inkscape-0.48.1> g++ buildtool.cpp -o btool
E:\Editor\inkscape-0.48.1\inkscape-0.48.1> btool


The Following error occur during build.

Code: Select all

Make error line 299: problem compiling: In file included from c:\devlibs/lib/gli
b-2.0/include/glibconfig.h:13:0,
                 from c:\devlibs/include/glib-2.0/glib/gtypes.h:34,
                 from src/xml/node.h:21,
                 from src/xml/subtree.cpp:15:
src/extension/param/PaxHeaders.1328/float.h:1:1: error: expected unqualified-id
before numeric constant
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/new:42:0
,
                 from src/gc-core.h:19,
                 from src/gc-managed.h:17,
                 from src/gc-anchored.h:15,
                 from src/xml/node.h:22,
                 from src/xml/subtree.cpp:15:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/exception:37:37: error: expect
ed declaration before end of line


Please suggest how to resolve the error?

Thanks

User avatar
LiquidAsh
Posts: 71
Joined: Fri Apr 22, 2011 11:35 pm
Contact:

Re: Compile Error With Window

Postby LiquidAsh » Sat Nov 19, 2011 10:41 pm

I was getting some errors similar to this the other day. My problem was that my inkscape project had newer code than the devlib versions I was using. The solution for me was to pull the lastest versions of each.


Return to “Programming”