系列文章目录
文章目录
- 系列文章目录
- 前言
- 一、错误原因
- 二、使用步骤
- 1.引入库
前言
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [plugins\color\lcms2engine\CMakeFiles\kritalcmsengine.dir\build.make:614: bin/kritalcmsengine.dll] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:27046: plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/all] Error 2
mingw32-make[1]: *** Waiting for unfinished jobs…
一、错误原因
我在MSYS2 mingGW64中安装了:mingw-w64-x86_64-lcms2
但是在编译krita源码时,mingGW依然无法识别,估计是minGW64中的lcms2版本和krita所需的版本不匹配,所以我就使用krita安装好的liblcms2.dll
二、使用步骤
1.引入库
ASUS@LAPTOP-0R30I78P MINGW64 /e/krita-dev/krita_camke
$ mingw32-make -j8
[ 0%] [ 0%] Generating mo…
Generating ts…
[ 0%] Automatic MOC for target kritaversion
[ 0%] Automatic MOC for target xcftools
[ 0%] Automatic MOC for target krafile_dummy_obj
[ 0%] Built target tsfiles-315f5ebef3330a59ab28a275fa7a0339
[ 0%] Built target pofiles-315f5ebef3330a59ab28a275fa7a0339
[ 0%] Built target kritaversion_autogen
[ 0%] Built target xcftools_autogen
[ 0%] Built target krafile_dummy_obj_autogen
[ 0%] Built target kritaversion
[ 0%] Built target krafile_dummy_obj
[ 0%] Built target xcftools
[ 0%] Automatic MOC for target kritaglobal
[ 0%] Automatic MOC for target krita_version
[ 0%] Built target krita_version_autogen
[ 0%] Built target kritaglobal_autogen
[ 0%] Built target krita_version
[ 0%] Built target kritaglobal
[ 0%] Automatic MOC for target KisSignalAutoConnectionTest
[ 0%] Automatic MOC for target kritaplugin
[ 0%] Automatic MOC for target kritastore
[ 0%] Automatic MOC for target kritamultiarch
[ 0%] Automatic MOC for target kritacolor
[ 0%] Built target kritastore_autogen
[ 0%] Built target kritaplugin_autogen
[ 0%] Built target kritamultiarch_autogen
[ 0%] Built target KisSignalAutoConnectionTest_autogen
[ 0%] Built target kritacolor_autogen
[ 0%] Built target kritamultiarch
[ 0%] Built target kritastore
[ 0%] Built target kritaplugin
[ 0%] Built target kritacolor
[ 0%] Built target KisSignalAutoConnectionTest
[ 0%] Automatic MOC for target TestKoLZF
[ 0%] Automatic MOC for target storedroptest
[ 0%] Automatic MOC for target kritaresources
[ 0%] Automatic MOC for target KisSignalCompressorTest
[ 0%] Automatic MOC for target KisForestTest
[ 0%] Automatic MOC for target KisRectsGridTest
[ 0%] Automatic MOC for target KisLazyStorageTest
[ 0%] Built target storedroptest_autogen
[ 0%] Built target TestKoLZF_autogen
[ 0%] Built target KisForestTest_autogen
[ 0%] Built target KisRectsGridTest_autogen
[ 0%] Built target KisLazyStorageTest_autogen
[ 0%] Built target KisSignalCompressorTest_autogen
[ 0%] Built target storedroptest
[ 0%] Built target kritaresources_autogen
[ 0%] Built target TestKoLZF
[ 0%] Built target KisRectsGridTest
[ 0%] Built target KisLazyStorageTest
[ 0%] Built target KisForestTest
[ 0%] Built target KisSignalCompressorTest
[ 1%] Built target kritaresources
[ 1%] Automatic MOC for target kritawidgetutils
[ 1%] Built target kritawidgetutils_autogen
[ 2%] Built target kritawidgetutils
[ 2%] Automatic MOC for target kritacommand
[ 2%] Automatic MOC for target kritaresourcewidgets
[ 2%] Automatic MOC for target kritametadata
[ 3%] Automatic MOC for target KisDialogStateSaverTest
[ 3%] Automatic MOC for target draganddropplugin
[ 3%] Built target kritametadata_autogen
[ 3%] Built target KisDialogStateSaverTest_autogen
[ 3%] Built target kritacommand_autogen
[ 3%] Built target draganddropplugin_autogen
[ 4%] Built target kritametadata
[ 4%] Built target KisDialogStateSaverTest
[ 4%] Built target kritaresourcewidgets_autogen
[ 4%] Automatic MOC for target kis_meta_data_test
[ 5%] Built target kritacommand
[ 5%] Automatic MOC for target kritaexifcommon
[ 5%] Automatic MOC for target kritaexif
[ 5%] Built target draganddropplugin
[ 5%] Automatic MOC for target kritaiptc
[ 5%] Automatic MOC for target kritaxmp
[ 5%] Automatic MOC for target kritapigment
[ 5%] Built target kritaexifcommon_autogen
[ 5%] Automatic MOC for target TestKUndo2Stack
[ 5%] Built target kis_meta_data_test_autogen
[ 5%] Built target kritaexif_autogen
[ 5%] Built target kritaiptc_autogen
[ 5%] Built target kritaresourcewidgets
[ 5%] Built target kritaxmp_autogen
[ 5%] Built target kritaexifcommon
[ 5%] Built target TestKUndo2Stack_autogen
[ 5%] Built target kritaexif
[ 5%] Built target kritapigment_autogen
[ 6%] Built target kis_meta_data_test
[ 6%] Built target kritaiptc
[ 7%] Built target kritaxmp
[ 7%] Built target TestKUndo2Stack
[ 8%] Built target kritapigment
[ 8%] Automatic MOC for target kritaflake
[ 8%] Automatic MOC for target kritapsdutils
[ 8%] Automatic MOC for target CCSGraph
[ 9%] Automatic MOC for target TestKoColorSet
[ 9%] Automatic MOC for target TestColorConversion
[ 9%] Automatic MOC for target KoColorSpacesBenchmark
[ 9%] Automatic MOC for target KoCompositeOpsBenchmark
[ 9%] Automatic MOC for target kritalcmsengine
[ 9%] Built target kritapsdutils_autogen
[ 9%] Built target CCSGraph_autogen
[ 9%] Built target TestColorConversion_autogen
[ 9%] Built target KoColorSpacesBenchmark_autogen
[ 9%] Built target TestKoColorSet_autogen
[ 9%] Built target KoCompositeOpsBenchmark_autogen
[ 9%] Built target kritalcmsengine_autogen
[ 9%] Automatic MOC for target krita_colorspaces_extensions
[ 9%] Built target CCSGraph
[ 9%] Built target TestColorConversion
[ 9%] Built target kritapsdutils
[ 9%] Built target krita_colorspaces_extensions_autogen
[ 9%] Built target KoColorSpacesBenchmark
[ 9%] Built target KoCompositeOpsBenchmark
[ 9%] Built target TestKoColorSet
[ 9%] Automatic MOC for target TestKoColorSpaceMaths
[ 9%] Automatic MOC for target TestKisSwatchGroup
[ 9%] Automatic MOC for target TestKoStopGradient
[ 9%] Automatic MOC for target psd_utils_test
[ 9%] Automatic MOC for target compression_test
[ 9%] Built target TestKoColorSpaceMaths_autogen
[ 9%] Built target TestKoStopGradient_autogen
[ 9%] Built target TestKisSwatchGroup_autogen
[ 9%] Built target psd_utils_test_autogen
[ 10%] Built target krita_colorspaces_extensions
[ 10%] Built target kritaflake_autogen
[ 10%] Built target compression_test_autogen
[ 10%] Automatic MOC for target TestKoColorSpaceRegistry
[ 10%] Automatic MOC for target TestKoColorSpaceAbstract
[ 10%] Automatic MOC for target TestColorConversionSystem
[ 10%] Automatic MOC for target TestKoColor
[ 10%] Automatic MOC for target TestKoIntegerMaths
[ 11%] Automatic MOC for target TestConvolutionOpImpl
[ 11%] Automatic MOC for target KoRgbU8ColorSpaceTester
[ 11%] Built target TestKoColorSpaceRegistry_autogen
[ 11%] Built target TestKoColorSpaceAbstract_autogen
[ 11%] Built target TestColorConversionSystem_autogen
[ 11%] Built target TestKoColor_autogen
[ 11%] Built target TestKoIntegerMaths_autogen
[ 11%] Automatic MOC for target TestKoColorSpaceSanity
[ 11%] Built target TestConvolutionOpImpl_autogen
[ 11%] Built target KoRgbU8ColorSpaceTester_autogen
[ 11%] Linking CXX shared module …\bin\kritalcmsengine.dll
[ 11%] Automatic MOC for target TestFallBackColorTransformation
[ 11%] Automatic MOC for target TestKoChannelInfo
[ 11%] Built target TestKoColorSpaceSanity_autogen
[ 11%] Built target TestKoColorSpaceMaths
[ 11%] Built target TestFallBackColorTransformation_autogen
[ 11%] Built target TestKisSwatchGroup
[ 12%] Built target TestKoStopGradient
[ 12%] Built target TestKoChannelInfo_autogen
[ 12%] Built target psd_utils_test
[ 12%] Built target TestKoColorSpaceRegistry
[ 12%] Built target compression_test
[ 12%] Built target TestKoColorSpaceAbstract
[ 12%] Built target TestKoIntegerMaths
[ 12%] Built target TestColorConversionSystem
[ 12%] Built target TestKoColor
[ 12%] Built target TestConvolutionOpImpl
[ 12%] Built target KoRgbU8ColorSpaceTester
[ 12%] Built target TestFallBackColorTransformation
[ 12%] Built target TestKoColorSpaceSanity
[ 12%] Built target TestKoChannelInfo
[ 16%] Built target kritaflake
[ 16%] Automatic MOC for target kritawidgets
[ 16%] Automatic MOC for target TestPosition
[ 16%] Automatic MOC for target TestSvgParser
[ 16%] Automatic MOC for target TestSvgParserCloned
[ 16%] Automatic MOC for target TestSvgParserRoundTrip
[ 16%] Automatic MOC for target TestPointMergeCommand
[ 16%] Automatic MOC for target TestSvgText
[ 16%] Built target TestPosition_autogen
[ 16%] Built target TestSvgParser_autogen
[ 16%] Built target TestPointMergeCommand_autogen
[ 16%] Built target TestSvgParserCloned_autogen
[ 16%] Built target TestSvgParserRoundTrip_autogen
[ 16%] Built target TestSvgText_autogen
[ 16%] Automatic MOC for target TestSvgTextCloned
[ 16%] Automatic MOC for target TestSvgTextRoundTrip
[ 16%] Built target TestPosition
[ 16%] Built target TestSvgTextCloned_autogen
[ 16%] Built target TestSvgParser
[ 16%] Built target TestSvgTextRoundTrip_autogen
[ 16%] Built target TestSvgParserCloned
[ 16%] Built target TestSvgParserRoundTrip
[ 16%] Automatic MOC for target TestSelection
[ 16%] Automatic MOC for target TestPathTool
[ 16%] Automatic MOC for target TestShapeAt
[ 16%] Built target TestSvgText
[ 17%] Built target TestPointMergeCommand
[ 17%] Built target TestSvgTextCloned
[ 17%] Built target TestSelection_autogen
[ 17%] Built target TestPathTool_autogen
[ 17%] Built target TestShapeAt_autogen
[ 17%] Automatic MOC for target TestShapePainting
[ 17%] Automatic MOC for target TestKoShapeFactory
[ 17%] Automatic MOC for target TestShapeContainer
[ 17%] Automatic MOC for target TestShapeGroupCommand
[ 17%] Automatic MOC for target TestShapeReorderCommand
[ 17%] Automatic MOC for target TestResourceManager
[ 17%] Built target TestShapePainting_autogen
[ 17%] Built target TestKoShapeFactory_autogen
[ 17%] Built target TestShapeContainer_autogen
[ 17%] Built target TestShapeGroupCommand_autogen
[ 17%] Built target TestShapeReorderCommand_autogen
[ 17%] Built target TestResourceManager_autogen
[ 17%] Automatic MOC for target TestShapeBackgroundCommand
[ 18%] Automatic MOC for target TestShapeStrokeCommand
[ 18%] Automatic MOC for target TestShapeShadowCommand
[ 18%] Automatic MOC for target TestInputDevice
[ 18%] Automatic MOC for target TestSnapStrategy
[ 18%] Automatic MOC for target TestPathShape
[ 18%] Built target TestShapeBackgroundCommand_autogen
[ 18%] Built target TestShapeStrokeCommand_autogen
[ 18%] Built target TestShapeShadowCommand_autogen
[ 18%] Built target TestInputDevice_autogen
[ 18%] Built target TestSnapStrategy_autogen
[ 18%] Built target TestPathShape_autogen
[ 18%] Automatic MOC for target TestControlPointMoveCommand
[ 18%] Automatic MOC for target TestPointTypeCommand
[ 18%] Automatic MOC for target TestPointRemoveCommand
[ 18%] Automatic MOC for target TestRemoveSubpathCommand
[ 18%] Automatic MOC for target TestPathSegment
[ 18%] Automatic MOC for target TestSegmentTypeCommand
[ 18%] Built target TestControlPointMoveCommand_autogen
[ 18%] Built target TestPointTypeCommand_autogen
[ 18%] Built target TestPointRemoveCommand_autogen
[ 18%] Built target TestRemoveSubpathCommand_autogen
[ 18%] Built target TestPathSegment_autogen
[ 18%] Built target TestSegmentTypeCommand_autogen
[ 18%] Automatic MOC for target TestKoDrag
[ 18%] Automatic MOC for target TestKoMarkerCollection
[ 18%] Built target kritawidgets_autogen
[ 18%] Built target TestSvgTextRoundTrip
[ 18%] Built target TestSelection
[ 18%] Built target TestPathTool
[ 18%] Built target TestKoDrag_autogen
[ 18%] Built target TestShapeAt
[ 18%] Built target TestKoMarkerCollection_autogen
[ 18%] Built target TestKoShapeFactory
[ 18%] Built target TestShapeContainer
[ 18%] Built target TestShapeReorderCommand
[ 18%] Built target TestShapePainting
[ 18%] Built target TestShapeGroupCommand
[ 18%] Built target TestShapeBackgroundCommand
[ 18%] Built target TestResourceManager
[ 18%] Built target TestShapeStrokeCommand
[ 18%] Built target TestShapeShadowCommand
[ 18%] Built target TestInputDevice
[ 18%] Built target TestPathShape
[ 18%] Built target TestControlPointMoveCommand
[ 18%] Built target TestPointTypeCommand
[ 18%] Built target TestSnapStrategy
[ 18%] Built target TestRemoveSubpathCommand
[ 18%] Built target TestPathSegment
[ 18%] Built target TestSegmentTypeCommand
[ 18%] Built target TestPointRemoveCommand
[ 18%] Built target TestKoDrag
[ 18%] Built target TestKoMarkerCollection
[ 20%] Built target kritawidgets
[ 20%] Automatic MOC for target kritaimage
[ 21%] Automatic MOC for target zoomhandler_test
[ 21%] Automatic MOC for target TestResourceCacheDb
[ 21%] Automatic MOC for target TestKoLcmsColorProfile
[ 21%] Automatic MOC for target krita_shape_image
[ 21%] Built target TestResourceCacheDb_autogen
[ 21%] Built target zoomhandler_test_autogen
[ 21%] Built target TestKoLcmsColorProfile_autogen
[ 21%] Built target krita_shape_image_autogen
[ 21%] Built target krita_shape_image
[ 21%] Built target zoomhandler_test
[ 21%] Built target TestResourceCacheDb
[ 21%] Built target TestKoLcmsColorProfile
[ 21%] Automatic MOC for target zoomcontroller_test
[ 21%] Automatic MOC for target KoAnchorSelectionWidgetTest
[ 21%] Automatic MOC for target TestKoZoomAction
[ 21%] Automatic MOC for target TestKisTagSelectionWidget
[ 21%] Automatic MOC for target TestKisPaletteModel
[ 21%] Automatic MOC for target TestResourceLoaderRegistry
[ 21%] Built target zoomcontroller_test_autogen
[ 21%] Built target KoAnchorSelectionWidgetTest_autogen
[ 21%] Built target TestKoZoomAction_autogen
[ 21%] Built target TestKisPaletteModel_autogen
[ 21%] Built target TestKisTagSelectionWidget_autogen
[ 21%] Built target TestResourceLoaderRegistry_autogen
[ 21%] Automatic MOC for target TestResourceLocator
[ 21%] Automatic MOC for target TestResourceStorage
[ 21%] Automatic MOC for target TestFolderStorage
[ 21%] Automatic MOC for target TestMemoryStorage
[ 21%] Automatic MOC for target TestTag
[ 21%] Automatic MOC for target TestBundleStorage
[ 21%] Built target TestResourceLocator_autogen
[ 21%] Built target TestResourceStorage_autogen
[ 21%] Built target TestFolderStorage_autogen
[ 21%] Built target TestMemoryStorage_autogen
[ 21%] Built target TestTag_autogen
[ 21%] Built target TestBundleStorage_autogen
[ 21%] Automatic MOC for target TestResourceModel
[ 21%] Automatic MOC for target TestTagFilterResourceProxyModel
[ 21%] Automatic MOC for target TestTagModel
[ 21%] Automatic MOC for target TestResourceTypeModel
[ 21%] Automatic MOC for target TestStorageModel
[ 21%] Automatic MOC for target TestResourceSearchBoxFilter
[ 21%] Built target TestResourceModel_autogen
[ 21%] Built target TestTagFilterResourceProxyModel_autogen
[ 21%] Built target TestTagModel_autogen
[ 21%] Built target TestResourceTypeModel_autogen
[ 21%] Built target TestStorageModel_autogen
[ 21%] Built target TestResourceSearchBoxFilter_autogen
[ 21%] Automatic MOC for target TestStorageFilterProxyModel
[ 21%] Automatic MOC for target TestTagResourceModel
[ 21%] Automatic MOC for target TestColorSpaceRegistry
[ 21%] Automatic MOC for target TestLcmsRGBP2020PQColorSpace
[ 21%] Automatic MOC for target TestProfileGeneration
[ 21%] Built target kritaimage_autogen
[ 21%] Built target TestStorageFilterProxyModel_autogen
[ 21%] Built target TestColorSpaceRegistry_autogen
[ 21%] Built target TestTagResourceModel_autogen
[ 21%] Built target TestLcmsRGBP2020PQColorSpace_autogen
[ 21%] Built target TestProfileGeneration_autogen
[ 21%] Built target zoomcontroller_test
[ 21%] Built target KoAnchorSelectionWidgetTest
[ 21%] Built target TestKoZoomAction
[ 21%] Built target TestKisTagSelectionWidget
[ 21%] Built target TestResourceLoaderRegistry
[ 21%] Built target TestKisPaletteModel
[ 21%] Built target TestResourceLocator
[ 22%] Built target TestResourceStorage
[ 22%] Built target TestFolderStorage
[ 22%] Built target TestTag
[ 22%] Built target TestMemoryStorage
[ 22%] Built target TestBundleStorage
[ 22%] Built target TestResourceModel
[ 22%] Built target TestTagFilterResourceProxyModel
[ 23%] Built target TestTagModel
[ 23%] Built target TestResourceTypeModel
[ 23%] Built target TestStorageModel
[ 23%] Built target TestResourceSearchBoxFilter
[ 23%] Built target TestStorageFilterProxyModel
[ 23%] Built target TestTagResourceModel
[ 23%] Built target TestColorSpaceRegistry
[ 23%] Built target TestLcmsRGBP2020PQColorSpace
[ 23%] Built target TestProfileGeneration
[ 30%] Built target kritaimage
[ 30%] Automatic MOC for target KisActionsSnapshotTest
[ 30%] Automatic MOC for target KoGamutMaskTest
[ 30%] Automatic MOC for target kritalibbrush
[ 30%] Automatic MOC for target kritaimpex
[ 30%] Automatic MOC for target KisRandomGeneratorDemo
[ 30%] Automatic MOC for target kis_base_node_test
[ 30%] Automatic MOC for target kis_transform_mask_test
[ 30%] Built target kritaimpex_autogen
[ 30%] Automatic MOC for target kis_perspective_transform_worker_test
[ 30%] Built target KisActionsSnapshotTest_autogen
[ 30%] Built target KoGamutMaskTest_autogen
[ 30%] Automatic MOC for target kis_tiled_data_manager_test
[ 31%] Automatic MOC for target kritapsd
[ 31%] Built target kritapsd_autogen
[ 31%] Built target KisRandomGeneratorDemo_autogen
[ 31%] Automatic MOC for target kis_all_filter_test
[ 31%] Automatic MOC for target kis_crash_filter_test
[ 31%] Built target kis_base_node_test_autogen
[ 31%] Built target kis_transform_mask_test_autogen
[ 31%] Automatic MOC for target KisScreentoneGeneratorTest
[ 31%] Automatic MOC for target kis_seexpr_generator_test
[ 31%] Built target kis_perspective_transform_worker_test_autogen
[ 31%] Automatic MOC for target KisDatamanagerBenchmark
[ 31%] Built target kritalibbrush_autogen
[ 31%] Automatic MOC for target KisHLineIteratorBenchmark
[ 31%] Built target kis_tiled_data_manager_test_autogen
[ 31%] Automatic MOC for target KisVLineIteratorBenchmark
[ 31%] Built target kis_all_filter_test_autogen
[ 31%] Built target kis_crash_filter_test_autogen
[ 31%] Automatic MOC for target KisRandomIteratorBenchmark
[ 31%] Automatic MOC for target KisBContrastBenchmark
[ 31%] Built target kis_seexpr_generator_test_autogen
[ 31%] Built target KisScreentoneGeneratorTest_autogen
[ 31%] Automatic MOC for target KisBlurBenchmark
[ 31%] Automatic MOC for target KisLevelFilterBenchmark
[ 31%] Built target KisDatamanagerBenchmark_autogen
[ 31%] Automatic MOC for target KisPainterBenchmark
[ 31%] Built target KisHLineIteratorBenchmark_autogen
[ 31%] Automatic MOC for target KisStrokeBenchmark
[ 31%] Built target KisVLineIteratorBenchmark_autogen
[ 31%] Automatic MOC for target KisFastMathBenchmark
[ 31%] Built target KisRandomIteratorBenchmark_autogen
[ 31%] Automatic MOC for target KisFloodfillBenchmark
[ 31%] Built target KisBContrastBenchmark_autogen
[ 31%] Automatic MOC for target KisGradientBenchmark
[ 31%] Built target KisBlurBenchmark_autogen
[ 31%] Built target KisFastMathBenchmark_autogen
[ 31%] Built target KisLevelFilterBenchmark_autogen
[ 31%] Automatic MOC for target KisMaskGeneratorBenchmark
[ 31%] Automatic MOC for target KisLowMemoryBenchmark
[ 31%] Automatic MOC for target KisFilterSelectionsBenchmark
[ 31%] Built target KisPainterBenchmark_autogen
[ 32%] Automatic MOC for target KisThumbnailBenchmark
[ 32%] Built target KisStrokeBenchmark_autogen
[ 32%] Building CXX object libs/widgetutils/tests/CMakeFiles/KisActionsSnapshotTest.dir/cmake_pch.hxx.gch
[ 32%] Built target KisFloodfillBenchmark_autogen
[ 32%] Building CXX object libs/flake/resources/tests/CMakeFiles/KoGamutMaskTest.dir/KoGamutMaskTest_autogen/mocs_compilation.cpp.obj
[ 32%] Built target KisMaskGeneratorBenchmark_autogen
[ 32%] Built target KisLowMemoryBenchmark_autogen
[ 32%] Building CXX object libs/flake/resources/tests/CMakeFiles/KoGamutMaskTest.dir/KoGamutMaskTest.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/cmake_pch.hxx.gch
[ 32%] Built target KisThumbnailBenchmark_autogen
[ 32%] Building CXX object libs/impex/CMakeFiles/kritaimpex.dir/cmake_pch.hxx.gch
[ 32%] Built target KisGradientBenchmark_autogen
[ 32%] Generating ui_kis_random_generator_demo.h
[ 32%] Building CXX object libs/image/tests/CMakeFiles/KisRandomGeneratorDemo.dir/KisRandomGeneratorDemo_autogen/mocs_compilation.cpp.obj
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_base_node_test.dir/cmake_pch.hxx.gch
[ 32%] Built target KisFilterSelectionsBenchmark_autogen
[ 32%] Building CXX object libs/image/tests/CMakeFiles/KisRandomGeneratorDemo.dir/kis_random_generator_demo.cpp.obj
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_transform_mask_test.dir/kis_transform_mask_test_autogen/mocs_compilation.cpp.obj
[ 32%] Building CXX object libs/image/tests/CMakeFiles/KisRandomGeneratorDemo.dir/kimageframe.cpp.obj
[ 32%] Building CXX object libs/widgetutils/tests/CMakeFiles/KisActionsSnapshotTest.dir/KisActionsSnapshotTest_autogen/mocs_compilation.cpp.obj
[ 32%] Linking CXX executable …\bin\KisRandomGeneratorDemo.exe
[ 32%] Built target KisRandomGeneratorDemo
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_transform_mask_test.dir/kis_transform_mask_test.cpp.obj
[ 32%] Building CXX object libs/widgetutils/tests/CMakeFiles/KisActionsSnapshotTest.dir/KisActionsSnapshotTest.cpp.obj
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_perspective_transform_worker_test.dir/kis_perspective_transform_worker_test_autogen/mocs_compilation.cpp.obj
[ 32%] Linking CXX executable …\bin\KoGamutMaskTest.exe
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kritalibbrush_autogen/mocs_compilation.cpp.obj
[ 32%] Built target KoGamutMaskTest
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_perspective_transform_worker_test.dir/kis_perspective_transform_worker_test.cpp.obj
[ 32%] Building CXX object libs/impex/CMakeFiles/kritaimpex.dir/kritaimpex_autogen/mocs_compilation.cpp.obj
[ 32%] Linking CXX executable …\bin\KisActionsSnapshotTest.exe
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_base_node_test.dir/kis_base_node_test_autogen/mocs_compilation.cpp.obj
[ 32%] Building CXX object libs/impex/CMakeFiles/kritaimpex.dir/KisExportCheckBase.cpp.obj
[ 32%] Built target KisActionsSnapshotTest
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_predefined_brush_factory.cpp.obj
[ 32%] Building CXX object libs/impex/CMakeFiles/kritaimpex.dir/KisPreExportChecker.cpp.obj
[ 32%] Building CXX object libs/image/tests/CMakeFiles/kis_base_node_test.dir/kis_base_node_test.cpp.obj
[ 32%] Building CXX object libs/image/tiles3/tests/CMakeFiles/kis_tiled_data_manager_test.dir/cmake_pch.hxx.gch
[ 32%] Building CXX object libs/impex/CMakeFiles/kritaimpex.dir/KisExportCheckRegistry.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_auto_brush.cpp.obj
C:/msys64/mingw64/bin/…/lib/gcc/x86_64-w64-mingw32/12.2.0/…/…/…/…/x86_64-w64-mingw32/bin/ld.exe: CMakeFiles\kritalcmsengine.dir/lcmsengineplugin.cpp.obj: in function LcmsEnginePlugin::LcmsEnginePlugin(QObject*, QList<QVariant> const&)': E:/krita-dev/krita/plugins/color/lcms2engine/LcmsEnginePlugin.cpp:316: undefined reference to
cmsFastFloatExtensions’
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/cmake_pch.hxx.gch
[ 32%] Linking CXX executable …\bin\kis_base_node_test.exe
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_boundary.cc.obj
[ 32%] Built target kis_base_node_test
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_brush.cpp.obj
collect2.exe: error: ld returned 1 exit status
mingw32-make[2]: *** [plugins\color\lcms2engine\CMakeFiles\kritalcmsengine.dir\build.make:614: bin/kritalcmsengine.dll] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:27046: plugins/color/lcms2engine/CMakeFiles/kritalcmsengine.dir/all] Error 2
mingw32-make[1]: *** Waiting for unfinished jobs…
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_scaling_size_brush.cpp.obj
[ 32%] Linking CXX executable …\bin\kis_transform_mask_test.exe
[ 32%] Linking CXX executable …\bin\kis_perspective_transform_worker_test.exe
[ 32%] Built target kis_transform_mask_test
[ 32%] Built target kis_perspective_transform_worker_test
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_brush_registry.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/KisBrushServerProvider.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_gbr_brush.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_abr_brush.cpp.obj
[ 32%] Linking CXX shared library …\bin\libkritaimpex.dll
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_abr_brush_collection.cpp.obj
[ 32%] Built target kritaimpex
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_imagepipe_brush.cpp.obj
[ 32%] Building CXX object libs/image/tiles3/tests/CMakeFiles/kis_tiled_data_manager_test.dir/kis_tiled_data_manager_test_autogen/mocs_compilation.cpp.obj
[ 32%] Building CXX object libs/image/tiles3/tests/CMakeFiles/kis_tiled_data_manager_test.dir/kis_tiled_data_manager_test.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_pipebrush_parasite.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_png_brush.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_svg_brush.cpp.obj
E:\krita-dev\krita\libs\brush\kis_brush.cpp: In member function ‘virtual void KisBrush::generateMaskAndApplyMaskOrCreateDab(KisFixedPaintDeviceSP, ColoringInformation*, const KisDabShape&, const KisPaintInformation&, double, double, qreal, qreal) const’:
E:\krita-dev\krita\libs\brush\kis_brush.cpp:676:72: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
676 | QScopedArrayPointer alphaArray(new quint8[maskWidth]);
| ^
In file included from C:/msys64/mingw64/include/c++/12.2.0/bits/stl_construct.h:59,
from C:/msys64/mingw64/include/c++/12.2.0/bits/stl_tempbuf.h:60,
from C:/msys64/mingw64/include/c++/12.2.0/bits/stl_algo.h:61,
from C:/msys64/mingw64/include/c++/12.2.0/algorithm:61,
from C:/msys64/mingw64/include/QtCore/qglobal.h:142,
from C:/msys64/mingw64/include/QtCore/qnamespace.h:43,
from C:/msys64/mingw64/include/QtCore/qobjectdefs.h:48,
from C:/msys64/mingw64/include/QtCore/qobject.h:46,
from C:/msys64/mingw64/include/QtCore/QObject:1,
from E:/krita-dev/krita/pch/kis_image_pch.h:1,
from E:/krita-dev/krita_camke/libs/brush/CMakeFiles/kritalibbrush.dir/cmake_pch.hxx:5,
from :
C:/msys64/mingw64/include/c++/12.2.0/new:128:26: note: in a call to allocation function 'void* operator new ’ declared here
128 | _GLIBCXX_NODISCARD void* operator new _GLIBCXX_THROW (std::bad_alloc)
| ^~~~~~~~
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/kritapsd_autogen/mocs_compilation.cpp.obj
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_additional_layer_info_block.cpp.obj
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_header.cpp.obj
In lambda function,
inlined from ‘void applyToRect(const QRect&, Func) [with Func = LazyCopyingStressJob::run()::<lambda(int, int)>]’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:821:17,
inlined from ‘virtual void LazyCopyingStressJob::run()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:883:40:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:870:47: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
870 | tile->lockForWrite();
| ~~~~~~~~~~~~~^~
In file included from E:/krita-dev/krita/libs/image/kis_types.h:335,
from E:/krita-dev/krita/pch/kis_image_pch.h:8,
from E:/krita-dev/krita_camke/libs/image/tiles3/tests/CMakeFiles/kis_tiled_data_manager_test.dir/cmake_pch.hxx:5,
from :
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘LazyCopyingStressJob::run()::<lambda(int, int)>’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:869:71,
inlined from ‘void applyToRect(const QRect&, Func) [with Func = LazyCopyingStressJob::run()::<lambda(int, int)>]’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:821:17,
inlined from ‘virtual void LazyCopyingStressJob::run()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:883:40:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
In lambda function,
inlined from ‘void applyToRect(const QRect&, Func) [with Func = LazyCopyingStressJob::run()::<lambda(int, int)>]’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:821:17,
inlined from ‘virtual void LazyCopyingStressJob::run()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:883:40:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:871:49: warning: pointer may be used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
871 | tile->unlockForWrite();
| ~~~~~~~~~~~~~~~^~
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘LazyCopyingStressJob::run()::<lambda(int, int)>’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:869:71,
inlined from '[ 32%] void applyToRect(const QRect&, Func) [with Func = LazyCopyingStressJob::run()::<lambda(int, int)>]
’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:821:17,
inlined from ‘virtual void LazyCopyingStressJob::run()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:883:40:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_qimage_pyramid.cpp.obj
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_layer_section.cpp.obj
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp: In member function ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:598:31: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
598 | tile->lockForWrite();
| ~~~~~~~~~~~~~^~
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:597:51:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp: In member function ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:599:33: warning: pointer may be used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
599 | tile->unlockForWrite();
| ~~~~~~~~~~~~~~~^~
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:597:51:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp: In member function ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:614:35: warning: pointer used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
614 | tile->lockForWrite();
| ~~~~~~~~~~~~~^~
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:613:55:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp: In member function ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’:
E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:615:37: warning: pointer may be used after ‘void operator delete(void*, std::size_t)’ [-Wuse-after-free]
615 | tile->unlockForWrite();
| ~~~~~~~~~~~~~~~^~
In static member function ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’,
inlined from ‘static bool KisSharedPtr::deref(const KisSharedPtr, T) [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:191:24,
inlined from ‘void KisSharedPtr::deref() const [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:213:23,
inlined from ‘KisSharedPtr::~KisSharedPtr() [with T = KisTile]’ at E:/krita-dev/krita/libs/global/kis_shared_ptr.h:97:14,
inlined from ‘KisTileSP KisTiledDataManager::getTile(qint32, qint32, bool)’ at E:/krita-dev/krita/libs/image/tiles3/kis_tiled_data_manager.h:114:9,
inlined from ‘void KisTiledDataManagerTest::benchmarkCOWImpl()’ at E:\krita-dev\krita\libs\image\tiles3\tests\kis_tiled_data_manager_test.cpp:613:55:
E:/krita-dev/krita/libs/global/kis_shared_ptr.h:199:13: note: call to ‘void operator delete(void*, std::size_t)’ here
199 | delete t;
| ^
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_pixel_utils.cpp.obj
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_resource_block.cpp.obj
[ 32%] Linking CXX executable …\bin\kis_tiled_data_manager_test.exe
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_text_brush.cpp.obj
[ 32%] Built target kis_tiled_data_manager_test
[ 32%] Building CXX object libs/psd/CMakeFiles/kritapsd.dir/psd_resource_section.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_auto_brush_factory.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/kis_text_brush_factory.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/KisAbrStorage.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/KisColorfulBrush.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/KisBrushTypeMetaDataFixup.cpp.obj
[ 32%] Building CXX object libs/brush/CMakeFiles/kritalibbrush.dir/KisBrushModel.cpp.obj
[ 32%] Linking CXX shared library …\bin\libkritapsd.dll
[ 32%] Built target kritapsd
[ 32%] Linking CXX shared library …\bin\libkritalibbrush.dll
[ 32%] Built target kritalibbrush
mingw32-make: *** [Makefile:145: all] Error 2
ASUS@LAPTOP-0R30I78P MINGW64 /e/krita-dev/krita_camke
$