windows10下使用minGW64 编译krita源码报错

news2024/12/26 11:11:07

系列文章目录

文章目录

  • 系列文章目录
  • 前言
  • 一、错误原因
  • 二、使用步骤
    • 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
$

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/440497.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

websever|2.19-2.27|信号概述-SIGCHILD信号

2.19信号概述 信号也是进程间通信的一种方式 其中1-31是操作系统定义的标准信号&#xff0c;比较重要。需要掌握其中几个。 34-64是预定义好的信号&#xff0c;是实时的信号 core文件中保存异常终止的一些信息。 在2.20节的开头&#xff0c;老师重点讲解了 的core文件。 进程出…

57 openEuler搭建Mariadb数据库服务器-管理数据库用户

文章目录 57 openEuler搭建Mariadb数据库服务器-管理数据库用户57.1 创建用户57.2 查看用户57.3 修改用户57.3.1 修改用户名57.3.2 修改用户示例57.3.3 修改用户密码57.3.4 修改用户密码示例 57.4 删除用户57.5 用户授权57.6 删除用户权限 57 openEuler搭建Mariadb数据库服务器…

集群聊天服务器项目(四)——项目总结

集群聊天服务器项目总结 首先是就是项目介绍集群聊天服务器项目(零)——项目介绍中的内容&#xff0c;就不再次copy过来了 项目简单介绍 技术栈 环境和库依赖 按模块介绍整个项目 程序的主要模块是网络模块、业务模块、数据模块、Json、redis发布订阅消息队列模块以及ngi…

Anaconda环境闭着眼睛安装tensorflow2.0-GPU

1.创建conda环境 conda create -n tf2 python3.7 2.进入conda环境 conda activate tf2 3.输入 nvidia-smi 查看有没有显卡驱动。(没有安一个&#xff0c;不管是windows/linux) 4. 安装cudatoolkit 和 cuDNN conda install cudatoolkit10.0 cudnn 5. 安装tensorflow pip ins…

【最佳实践】OAuth标准和基于OAuth2.0实现Github 授权单点登录的保姆级教程

【最佳实践】OAuth标准和基于OAuth2.0实现Github 授权单点登录的保姆级教程 第一章&#xff1a;OAuth基础知识1.1 OAuth起源1.2 OAuth简介1.3 OAuth的角色1.4 OAuth的授权流程1.5 OAuth的安全性1.6 OAuth标准的历史版本 第二章&#xff1a;OAuth2.0的工作原理2.1 OAuth2.0简介2…

前端--移动端布局--1移动web开发流式布局

目标&#xff1a; 能够知道移动web的开发现状 能够写出标准的viewport 能够使用移动web的调试方法 能够说出移动端常见的布局方案 能够描述流式布局 能够独立完成京东移动端首页 目录&#xff1a; 移动端基础 视口 二倍图 移动端调试 移动端技术解决方案 移动端常…

【全屏导航栏菜单】

提示&#xff1a;全屏导航栏菜单,炫酷的全局动画和导航切换动画 前言 提示&#xff1a;以下是本篇文章的代码内容,供大家参考,相互学习 一、html代码 <!DOCTYPE html> <html><head><meta http-equiv"content-type" content"text/html; c…

浅尝GoWeb开发之Gin框架

一、框架简介 gin 目前应用最广泛的golang框架&#xff0c;甚至已经变成了golang的官方框架&#xff0c;但它主要是一个RESTFul的框架。封装比较优雅&#xff0c;API友好&#xff0c;源码注释比较明确。个人比较推荐。 beego 国内最早的golang框架&#xff0c;也是最全的MV…

opencv (二十二) 创建滑动条

滑动条(Trackbar)是OpenCV动态调节参数特别好用的一种工具,它依附于窗口存在。 创建滑动条:createTrackbar()函数 createTrackbar函数用于创建一个可以调整数值的滑动条(也称轨迹条),并将滑动条附加到指定的窗口上,它往往会和一个回调函数配合起来使用。 int createT…

你的GPT跟ChatGPT可能只差了一个DPU

“人类永远不会嫌网络太快&#xff0c;就像永远不会嫌高铁太快&#xff0c;你只会嫌它慢&#xff0c;希望它更快些。” 一个月内&#xff0c;百度、阿里、腾讯、商汤、讯飞、360等国内大厂扎堆发布“中国版 GPT ”&#xff0c;这家的名字还没记清楚&#xff0c;另一家的又蹦了出…

python逝练系列(终章)

目录 1、(最大数的出现)编写程序读取整数,找出它们中的最大值&#xff0c;然后计算它的出现次数。假设输入以数字0结束。假设你输入的是“352555 0";程序找出的最大数是5&#xff0c;而5的出现次数是4。(提示:维护两个变量max和 count。变量max存储的是当前最大数&#xf…

TypeScript自学文档

目录 1.什么是Ts? 1.1 设计公司&#xff1a;微软 1.2 TS概述 1.3 TS是静态类型 JS是动态类型 1.4 TS是强类型语言 JS是弱类型语言 2.TypeScript编译器 2.1 安装 2.2 TS自动编译和编译选项设置 3.TS的数据类型 3.1 基础数据类型number、string、boolean 3.2 Arrays&a…

【svn】如何批量忽略文件和文件夹

目录 一、通过svn:ignore 1、文件夹空白处右键 TortoiseSVN → Properties 打开 2、New → Other 3、global-ignores属性的值&#xff0c;即需要要忽略的文件 点击OK 4、取消忽略的文件 选中 Rmove &#xff0c;提交就可以看到idea文件了 二、svn:global-ignores 1、右键…

高通开发系列 - msm-4.9中usb初始化流程和adb功能问题

By: fulinux E-mail: fulinux@sina.com Blog: https://blog.csdn.net/fulinus 喜欢的盆友欢迎点赞和订阅! 你的喜欢就是我写作的动力! 返回高通开发系列 - 总目录 目录 USB功能集android平台adb使能流程Linux系统使能流程USB时钟USB供电U盘不能正常使用分析adb设备无法识别问…

三、JS03 DOM 操作

三、DOM 操作 3.1 JavaScript DOM 操作 DOM (Document Object Model) 为文档对象模型&#xff0c;是 HTML 和 XML 文档的编程接口 DOM 提供了对整个文档的访问模型&#xff0c;将文档作为一个树形结构 树的每个节点表示了一个 HTML 标签或标签内的文本 3.1.1 DOM 操作分类 使…

SSM整合————单表操作基础版

一、创建数据库&#xff1a; 1. 创建一个 web 项目&#xff0c;并部署到 tomcat 服务器中测试项目 是否能够正常加载并访问首页。 2. 完善项目的结构并导入 SSM 相关的jar包 3.创建SSM框架对应的配置文件 springMVC配置文件&#xff1a;1.扫描controller&#xff1b;2.配置视图…

ERROR org.springframework.web.context.ContextLoader

项目启动时报错&#xff1a; ERROR org.springframework.web.context.ContextLoader - Context initialization failed java.lang.NoSuchMethodError: org.springframework.core.annotation.AnnotationUtils.clearCache() 原因分析 这个错误的原因可能是因为 Spring 的不同…

VGG网络简介

1. 背景 VGG是常见的用于大型图片识别的极深度卷积网络&#xff0c; 这里主要介绍VGG网络预测在ImageNet数据集上的训练及预测。 2. ImageNet图像数据集简介 ImageNet包含了145W张224*224像素的三通道彩色图像数据集&#xff0c;图像划分为1000个种类。其中训练集130W张&…

Contest3070 - 计科2101~2104算法设计与分析上机作业05

问题 A: 最小平均等待时间 题目描述 有n个顾客同时在等待一项服务&#xff0c;顾客i需要的服务时间为ti&#xff0c;1≤i≤n。要安排一个服务次序使得平均等待时间最小&#xff08;平均等待时间是n个顾客等待服务时间的总和除以n&#xff09;。请编写算法&#xff0c;计算最小…

大文件上传接口响应超时

背景 开发了一个内容管理发布系统&#xff0c;在后台发布内容信息时&#xff0c;上传了一个较大的视频&#xff08;较大文件≥200M&#xff09;&#xff0c;以往未上传过如此大文件&#xff0c;然后出现报错 Status Code 413 问题&处理过程 1. status code&#xff1a;4…