problem compiling display/drawing-shape.o
Hi to all, im tryind to complile whith clang and get this error: Jabiertxo.
CXX inkscape-version.o AR libinkversion.a CXX display/drawing-shape.o In file included from ../../fillet/src/display/drawing-shape.cpp:16: ../../fillet/src/2geom/svg-path-parser.h:62:5: warning: ignoring return value of function declared with warn_unused_result attribute [-Wunused-result] fgets(input, 1024 * 10, fi); ^~~~~ ~~~~~~~~~~~~~~~~~~~~ ../../fillet/src/display/drawing-shape.cpp:153:15: error: out-of-line definition of '_renderFill' does not match any declaration in 'Inkscape::DrawingShape' DrawingShape::_renderFill(DrawingContext &dc) ^~~~~~~~~~~ ../../fillet/src/display/drawing-shape.cpp:169:15: error: out-of-line definition of '_renderStroke' does not match any declaration in 'Inkscape::DrawingShape' DrawingShape::_renderStroke(DrawingContext &dc) ^~~~~~~~~~~~~ ../../fillet/src/display/drawing-shape.cpp:223:18: error: no member named 'paint_order_layer' in 'NRStyle' if( _nrstyle.paint_order_layer[0] == NRStyle::PAINT_ORDER_NORMAL ) { ~~~~~~~~ ^ ../../fillet/src/display/drawing-shape.cpp:223:51: error: no member named 'PAINT_ORDER_NORMAL' in 'NRStyle' if( _nrstyle.paint_order_layer[0] == NRStyle::PAINT_ORDER_NORMAL ) { ~~~~~~~~~^ ../../fillet/src/display/drawing-shape.cpp:258:39: error: no member named 'PAINT_ORDER_LAYERS' in 'NRStyle' for (unsigned i = 0; i < NRStyle::PAINT_ORDER_LAYERS; ++i) { ~~~~~~~~~^ ../../fillet/src/display/drawing-shape.cpp:259:26: error: no member named 'paint_order_layer' in 'NRStyle' switch (_nrstyle.paint_order_layer[i]) { ~~~~~~~~ ^ 1 warning and 6 errors generated. *
Hi Jabier,
The Inkscape PPA also failed to build: https://launchpadlibrarian.net/174323756/buildlog_ubuntu-trusty-amd64.inksca...
Basically, you have to reconfigure with svg2 features enabled: CPPFLAGS="-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2 $CPPFLAGS" ../inkscape/configure and then you will have no problems compiling.
Or you could wait until someone fixes it ;)
Regards, Liam
-- View this message in context: http://inkscape.13.x6.nabble.com/problem-compiling-display-drawing-shape-o-t... Sent from the Inkscape - Dev mailing list archive at Nabble.com.
On Thu, 2014-05-01 at 11:52 -0700, liamw wrote:
Hi Jabier,
The Inkscape PPA also failed to build: https://launchpadlibrarian.net/174323756/buildlog_ubuntu-trusty-amd64.inksca...
Basically, you have to reconfigure with svg2 features enabled: CPPFLAGS="-DWITH_MESH -DWITH_CSSBLEND -DWITH_CSSCOMPOSITE -DWITH_SVG2 $CPPFLAGS" ../inkscape/configure and then you will have no problems compiling.
Or you could wait until someone fixes it ;)
Fixed (I hope).
Sorry about that. I don't know how I missed those files.
Tav
participants (3)
-
Jabiertxo Arraiza Cenoz
-
liamw
-
Tavmjong Bah