Researching python plugin
Brendan Scott
disposableemail at apps.opensourcelaw.biz
Thu Jun 8 06:48:12 UTC 2017
On 06/07/2017 06:42 PM, Boudewijn Rempt wrote:
> On Wed, 7 Jun 2017, Brendan Scott wrote:
>
>> I think the answer is
>> zypper install boost_1_61-devel
>
> That would be easy :-)
Still not quite there.
boost_1_61-devel got me to about 75% and it complained about pymodule_create2
I think I solved this by installing libpython3_4m1_0 (it was only finding libpython2.7, removing the build directory, then recreating and cmaking it.
That gets me to "100%" but there's something wrong with the linking (below). Any thoughts? It looks very close to compiling.
Thanks
[100%] Linking CXX shared module kritaexrimport.so
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/MorphologyEffectFactory.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/tools/CMakeFiles/krita_karbontools.dir/filterEffectTool/FilterResourceServerProvider.cpp.o
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....
[100%] Building CXX object plugins/tools/karbonplugins/tools/CMakeFiles/krita_karbontools.dir/filterEffectTool/FilterRegionEditStrategy.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/tools/CMakeFiles/krita_karbontools.dir/KarbonPatternOptionsWidget.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/MorphologyEffectConfigWidget.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/ConvolveMatrixEffect.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/ConvolveMatrixEffectFactory.cpp.o
[100%] Building CXX object plugins/tools/tool_transform2/CMakeFiles/kritatooltransform.dir/strokes/transform_stroke_strategy.cpp.o
[100%] Building CXX object plugins/impex/exr/CMakeFiles/kritaexrexport.dir/exr_extra_tags.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/tools/CMakeFiles/krita_karbontools.dir/qrc_karbontools.cpp.o
[100%] Building CXX object plugins/impex/exr/CMakeFiles/kritaexrexport.dir/kritaexrexport_automoc.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/ConvolveMatrixEffectConfigWidget.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/tools/CMakeFiles/krita_karbontools.dir/krita_karbontools_automoc.cpp.o
[100%] Building CXX object plugins/tools/tool_transform2/CMakeFiles/kritatooltransform.dir/kis_transform_args_keyframe_channel.cpp.o
[100%] Building CXX object plugins/tools/tool_transform2/CMakeFiles/kritatooltransform.dir/qrc_tool_transform.cpp.o
[100%] Building CXX object plugins/tools/tool_transform2/CMakeFiles/kritatooltransform.dir/kritatooltransform_automoc.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/MatrixDataModel.cpp.o
[100%] Building CXX object plugins/tools/karbonplugins/filtereffects/CMakeFiles/krita_filtereffects.dir/krita_filtereffects_automoc.cpp.o
[100%] Linking CXX shared module kritaexrexport.so
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
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
[100%] Linking CXX shared module krita_karbontools.so
[100%] Linking CXX shared module krita_filtereffects.so
[100%] Built target krita_karbontools
[100%] Linking CXX shared module kritatooltransform.so
[100%] Built target krita_filtereffects
[100%] Built target kritatooltransform
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
More information about the kimageshop
mailing list