Researching python plugin

Boudewijn Rempt boud at valdyas.org
Thu Jun 8 07:09:46 UTC 2017


On Thu, 8 Jun 2017, Brendan Scott wrote:

> CMakeFiles/kritaexrimport.dir/exr_converter.cc.o: In function
> `EXRConverter::buildFile(QString const&, KisSharedPtr<KisPaintLayer>)':
> /home/user/software/krita/src/plugins/impex/exr/exr_converter.cc:1028:
> undefined reference to `Imf_2_1::Header::Header(int, int, float,
> Imath_2_2::Vec2<float> const&, float, Imf_2_1::LineOrder,
> Imf_2_1::Compression)'
> CMakeFiles/kritaexrimport.dir/exr_converter.cc.o: In function
> `EXRConverter::buildFile(QString const&, KisSharedPtr<KisGroupLayer>)':
> /home/user/software/krita/src/plugins/impex/exr/exr_converter.cc:1274:
> undefined reference to `Imf_2_1::Header::Header(int, int, float,
> Imath_2_2::Vec2<float> const&, float, Imf_2_1::LineOrder,
> Imf_2_1::Compression)'
> collect2: error: ld returned 1 exit status
> plugins/impex/exr/CMakeFiles/kritaexrimport.dir/build.make:220: recipe for
> target 'plugins/impex/exr/kritaexrimport.so' failed
> make[2]: *** [plugins/impex/exr/kritaexrimport.so] Error 1
> CMakeFiles/Makefile2:31880: recipe for target
> 'plugins/impex/exr/CMakeFiles/kritaexrimport.dir/all' failed
> make[1]: *** [plugins/impex/exr/CMakeFiles/kritaexrimport.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> 

That looks like a problem with ilmbase library; it's a bit hard to guess
what's up -- maybe there are two versions on your system?

It's this line of code...

Imf::Header header(width, height);

Which version of ilmbase do you have? I have ilmbase-2.2.0, but afaik
this code hasn't changed for ages.

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the kimageshop mailing list