NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.69k stars 342 forks source link

Failed to build openfx-arena #327

Closed Sunderland93 closed 5 years ago

Sunderland93 commented 5 years ago

Problem

openfx-arena failed to build with GCC 8.2 (Flatpak):

../Extra/ReadCDR.cpp: In member function ‘virtual void {anonymous}::ReadCDRPlugin::decode(const string&, OfxTime, int, bool, const OfxRectI&, float*, const OfxRectI&, OFX::PixelComponentEnum, int, int)’:
../Extra/ReadCDR.cpp:142:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadCDR.cpp:20:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadCDR.cpp:142:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadCDR.cpp:20:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadCDR.cpp: In member function ‘virtual bool {anonymous}::ReadCDRPlugin::getFrameBounds(const string&, OfxTime, int, OfxRectI*, OfxRectI*, double*, std::__cxx11::string*, int*, int*)’:
../Extra/ReadCDR.cpp:262:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadCDR.cpp:20:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadCDR.cpp:262:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadCDR.cpp:20:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
  CXX      Linux-64-release/ReadSVG.o
../Extra/ReadSVG.cpp: In member function ‘virtual void {anonymous}::ReadSVGPlugin::decodePlane(const string&, OfxTime, int, bool, const OfxRectI&, float*, const OfxRectI&, OFX::PixelComponentEnum, int, const string&, int)’:
../Extra/ReadSVG.cpp:236:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadSVG.cpp:18:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadSVG.cpp:236:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadSVG.cpp:18:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadSVG.cpp: In member function ‘virtual bool {anonymous}::ReadSVGPlugin::getFrameBounds(const string&, OfxTime, int, OfxRectI*, OfxRectI*, double*, std::__cxx11::string*, int*, int*)’:
../Extra/ReadSVG.cpp:341:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadSVG.cpp:18:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
../Extra/ReadSVG.cpp:341:38: warning: ‘void rsvg_set_default_dpi_x_y(double, double)’ is deprecated [-Wdeprecated-declarations]
     rsvg_set_default_dpi_x_y(dpi, dpi);
                                      ^
In file included from ../Extra/ReadSVG.cpp:18:
/usr/include/librsvg-2.0/librsvg/rsvg.h:135:6: note: declared here
 void rsvg_set_default_dpi_x_y (double dpi_x, double dpi_y);
      ^~~~~~~~~~~~~~~~~~~~~~~~
  CXX      Linux-64-release/ReadKrita.o
  CXX      Linux-64-release/OpenRaster.o
  CXX      Linux-64-release/ReadPDF.o
  CXX      Linux-64-release/Sketch.o
  CXX      Linux-64-release/Polaroid.o
  CXX      Linux-64-release/Edges.o
  CXX      Linux-64-release/Texture.o
  CXX      Linux-64-release/Tile.o
  CXX      Linux-64-release/Reflection.o
  CXX      Linux-64-release/Arc.o
  CXX      Linux-64-release/Polar.o
  CXX      Linux-64-release/Roll.o
  CXX      Linux-64-release/Wave.o
  CXX      Linux-64-release/Swirl.o
  CXX      Linux-64-release/Implode.o
  CXX      Linux-64-release/Charcoal.o
  CXX      Linux-64-release/Oilpaint.o
  CXX      Linux-64-release/ReadPSD.o
  CXX      Linux-64-release/Modulate.o
  CXX      Linux-64-release/ReadMisc.o
  CXX      Linux-64-release/Text.o
  CXX      Linux-64-release/MagickPlugin.o
  CXX      Linux-64-release/ofxsOGLTextRenderer.o
  CXX      Linux-64-release/ofxsOGLFontData.o
  CXX      Linux-64-release/ofxsRectangleInteract.o
  CXX      Linux-64-release/ofxsTransform3x3.o
  CXX      Linux-64-release/ofxsTransformInteract.o
  CXX      Linux-64-release/ofxsShutter.o
  CXX      Linux-64-release/ofxsMultiPlane.o
  CXX      Linux-64-release/GenericReader.o
In file included from ../OpenFX-IO/IOSupport/GenericReader.h:29,
                 from ../OpenFX-IO/IOSupport/GenericReader.cpp:24:
../OpenFX-IO/IOSupport/GenericReader.cpp: In member function ‘virtual void OFX::IO::GenericReaderPlugin::changedFilename(const OFX::InstanceChangedArgs&)’:
../SupportExt/ofxsMacros.h:45:38: note: #pragma message: WARNING: OpenColorIO was updated, check that the following code is still necessary
 #   define WARN(exp) ("WARNING: " exp)
                                      ^
../OpenFX-IO/IOSupport/GenericReader.cpp:2081:17: note: in expansion of macro ‘WARN’
 #pragma message WARN("OpenColorIO was updated, check that the following code is still necessary")
                 ^~~~
  CXX      Linux-64-release/GenericOCIO.o
  CXX      Linux-64-release/SequenceParsing.o
  CXX      Linux-64-release/ofxsMultiThread.o
  CXX      Linux-64-release/ofxsInteract.o
  CXX      Linux-64-release/ofxsProperty.o
  CXX      Linux-64-release/ofxsLog.o
  CXX      Linux-64-release/ofxsCore.o
  CXX      Linux-64-release/ofxsPropertyValidation.o
  CXX      Linux-64-release/ofxsImageEffect.o
  CXX      Linux-64-release/ofxsParams.o
  CXXLD    Linux-64-release/Arena.ofx
/usr/lib/gcc/x86_64-unknown-linux-gnu/8.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lstaticpixbufloader-png
/usr/lib/gcc/x86_64-unknown-linux-gnu/8.2.0/../../../../x86_64-unknown-linux-gnu/bin/ld: cannot find -lstaticpixbufloader-jpeg
collect2: error: ld returned 1 exit status
make[1]: *** [../OpenFX/Support/Plugins/Makefile.master:175: Linux-64-release/Arena.ofx] Error 1
make[1]: Leaving directory '/run/build/openfx-arena/Bundle'
make: *** [Makefile:13: Bundle] Error 2

Expected behavior: openfx-arena must build fine

Actual behavior: See log

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

You may submit a link to any screenshots/videos that can be used to understand how to reproduce the issue.

Versions

devernay commented 5 years ago

what was the issue, and how did you fix it? (for the record)

Sunderland93 commented 5 years ago

I simply added gdk-pixbuf to Flatpak build script. OpenFX Arena failed to build with gdk-pixbuf from Flatpak SDK.