Researching python plugin
Brendan Scott
disposableemail at apps.opensourcelaw.biz
Thu Jun 8 08:18:03 UTC 2017
On 06/08/2017 05:09 PM, Boudewijn Rempt wrote:
> 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.
Upgraded to ilmbase-devel-2.2.0-37.3.x86_64 (previously 2.2.0-3.1)
now it fails at 89%. Sigh, so close. Am popping out for a bit now.
[ 89%] Built target kritatangentnormalpaintop
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....
[ 89%] Built target kritatoolcrop
[ 89%] Built target kritatoolpolygon
[ 90%] Built target krita_flaketools
CMakeFiles/kritaexrexport.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/kritaexrexport.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
[ 90%] Built target kritatoolpolyline
plugins/impex/exr/CMakeFiles/kritaexrexport.dir/build.make:224: recipe for target 'plugins/impex/exr/kritaexrexport.so' failed
make[2]: *** [plugins/impex/exr/kritaexrexport.so] Error 1
CMakeFiles/Makefile2:31825: recipe for target 'plugins/impex/exr/CMakeFiles/kritaexrexport.dir/all' failed
make[1]: *** [plugins/impex/exr/CMakeFiles/kritaexrexport.dir/all] Error 2
[ 91%] Built target kritadefaulttools
[ 93%] Built target kritaselectiontools
[ 94%] Built target kritatooltransform
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
More information about the kimageshop
mailing list