Quantcast

problem compiling display/drawing-shape.o

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem compiling display/drawing-shape.o

Jabiertxo Arraiza Cenoz
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.
      *

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

signature.asc (220 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem compiling display/drawing-shape.o

liamw
Hi Jabier,

The Inkscape PPA also failed to build: https://launchpadlibrarian.net/174323756/buildlog_ubuntu-trusty-amd64.inkscape-trunk_1%3A0.48%2Bdevel%2B13329%2B47%7Eubuntu14.04.1_FAILEDTOBUILD.txt.gz

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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem compiling display/drawing-shape.o

Tavmjong Bah
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.inkscape-trunk_1%3A0.48%2Bdevel%2B13329%2B47%7Eubuntu14.04.1_FAILEDTOBUILD.txt.gz
>
> 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




------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem compiling display/drawing-shape.o

Jabiertxo Arraiza Cenoz
In reply to this post by liamw
> 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 ;)

Thanks Liam!


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

signature.asc (220 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem compiling display/drawing-shape.o

Jabiertxo Arraiza Cenoz
In reply to this post by Tavmjong Bah
> Fixed (I hope).
>
> Sorry about that. I don't know how I missed those files.
>
> Tav

Thanks Tav, now fixed.

Regards, Jabier.


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.  Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel

signature.asc (220 bytes) Download Attachment
Loading...