Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[magnum-plugins] Build error #30975

Closed
autoantwort opened this issue Apr 19, 2023 · 7 comments
Closed

[magnum-plugins] Build error #30975

autoantwort opened this issue Apr 19, 2023 · 7 comments
Assignees
Labels
depends:upstream-changes Waiting on a change to the upstream project Stale

Comments

@autoantwort
Copy link
Contributor

autoantwort commented Apr 19, 2023

Package: magnum-plugins[cgltfimporter,core,ddsimporter,icoimporter,ktximageconverter,ktximporter,meshoptimizersceneconverter,miniexrimageconverter,openddl,opengeximporter,stanfordimporter,stanfordsceneconverter,stbimageconverter,stbimageimporter,stlimporter]:x64-windows -> 2020.06#10

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.35.32216.1
  • vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: 6b718b8 2023-04-19 (2 minutes ago)

To Reproduce

vcpkg x-set-installed magnum-plugins[meshoptimizersceneconverter]

Failure logs

-- Using cached mosra-magnum-plugins-v2020.06.tar.gz.
-- Extracting source C:/Users/admin/git_projects/vcpkg2/downloads/mosra-magnum-plugins-v2020.06.tar.gz
-- Applying patch 002-fix-stb-conflict.patch
-- Using source at C:/Users/admin/git_projects/vcpkg2/buildtrees/magnum-plugins/src/v2020.06-79ad147c2a.clean
CMake Warning at ports/magnum-plugins/portfile.cmake:59 (message):
  Features cgltfimporter, glslangshaderconverter, ktximageconverter,
  ktximporter, openexrimageconverter, openexrimporter,
  spirvtoolsshaderconverter and stbdxtimageconverter are not available when
  building non-head version.
Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)


-- Found external ninja('1.11.0').
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: C:/Users/admin/git_projects/vcpkg2/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j29
    Working Directory: C:/Users/admin/git_projects/vcpkg2/buildtrees/magnum-plugins/x64-windows-dbg
    See logs for more information:
      C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\install-x64-windows-dbg-out.log

Call Stack (most recent call first):
  vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/magnum-plugins/portfile.cmake:87 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)



C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\install-x64-windows-dbg-out.log
[1/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DMESHOPTIMIZER_API=__declspec(dllimport) -DMeshOptimizerSceneConverter_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\MeshOptimizerSceneConverter\CMakeFiles\MeshOptimizerSceneConverter.dir\MeshOptimizerSceneConverter.cpp.obj /Fdsrc\MagnumPlugins\MeshOptimizerSceneConverter\CMakeFiles\MeshOptimizerSceneConverter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp
FAILED: src/MagnumPlugins/MeshOptimizerSceneConverter/CMakeFiles/MeshOptimizerSceneConverter.dir/MeshOptimizerSceneConverter.cpp.obj 
C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DMESHOPTIMIZER_API=__declspec(dllimport) -DMeshOptimizerSceneConverter_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\MeshOptimizerSceneConverter\CMakeFiles\MeshOptimizerSceneConverter.dir\MeshOptimizerSceneConverter.cpp.obj /Fdsrc\MagnumPlugins\MeshOptimizerSceneConverter\CMakeFiles\MeshOptimizerSceneConverter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(318): error C2660: 'meshopt_simplifySloppy': function does not take 7 arguments
C:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\meshoptimizer.h(354): note: see declaration of 'meshopt_simplifySloppy'
C:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\meshoptimizer.h(620): note: could be 'size_t meshopt_simplifySloppy(T *,const T *,size_t,const float *,size_t,size_t,size_t,float,float *)'
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(318): note: 'size_t meshopt_simplifySloppy(T *,const T *,size_t,const float *,size_t,size_t,size_t,float,float *)': expects 9 arguments - 7 provided
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(318): note: while trying to match the argument list '(T *, Corrade::Containers::ArrayView<const Magnum::UnsignedInt>, Magnum::UnsignedInt, const float *, Magnum::UnsignedInt, __int64, const Magnum::UnsignedInt)'
        with
        [
            T=Magnum::UnsignedInt
        ]
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(320): error C2660: 'meshopt_simplify': function does not take 8 arguments
C:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\meshoptimizer.h(339): note: see declaration of 'meshopt_simplify'
C:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\meshoptimizer.h(618): note: could be 'size_t meshopt_simplify(T *,const T *,size_t,const float *,size_t,size_t,size_t,float,unsigned int,float *)'
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(320): note: 'size_t meshopt_simplify(T *,const T *,size_t,const float *,size_t,size_t,size_t,float,unsigned int,float *)': could not deduce template argument for 'const T *' from 'Corrade::Containers::ArrayView<const Magnum::UnsignedInt>'
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MeshOptimizerSceneConverter\MeshOptimizerSceneConverter.cpp(320): note: while trying to match the argument list '(T *, Corrade::Containers::ArrayView<const Magnum::UnsignedInt>, Magnum::UnsignedInt, const float *, Magnum::UnsignedInt, __int64, const Magnum::UnsignedInt, const Magnum::Float)'
        with
        [
            T=Magnum::UnsignedInt
        ]
[2/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DMiniExrImageConverter_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\external\miniexr -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\MiniExrImageConverter\CMakeFiles\MiniExrImageConverter.dir\MiniExrImageConverter.cpp.obj /Fdsrc\MagnumPlugins\MiniExrImageConverter\CMakeFiles\MiniExrImageConverter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\MiniExrImageConverter\MiniExrImageConverter.cpp
[3/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DStbImageConverter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\external\stb -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\StbImageConverter\CMakeFiles\StbImageConverter.dir\StbImageConverter.cpp.obj /Fdsrc\MagnumPlugins\StbImageConverter\CMakeFiles\StbImageConverter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StbImageConverter\StbImageConverter.cpp
[4/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DDdsImporter_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\DdsImporter\CMakeFiles\DdsImporter.dir\DdsImporter.cpp.obj /Fdsrc\MagnumPlugins\DdsImporter\CMakeFiles\DdsImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\DdsImporter\DdsImporter.cpp
[5/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DIcoImporter_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\IcoImporter\CMakeFiles\IcoImporter.dir\IcoImporter.cpp.obj /Fdsrc\MagnumPlugins\IcoImporter\CMakeFiles\IcoImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\IcoImporter\IcoImporter.cpp
[6/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DStbImageImporter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\external\stb -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\StbImageImporter\CMakeFiles\StbImageImporter.dir\StbImageImporter.cpp.obj /Fdsrc\MagnumPlugins\StbImageImporter\CMakeFiles\StbImageImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StbImageImporter\StbImageImporter.cpp
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StbImageImporter\StbImageImporter.cpp(195) : warning C4701: potentially uninitialized local variable 'format' used
[7/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DStlImporter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\StlImporter\CMakeFiles\StlImporter.dir\StlImporter.cpp.obj /Fdsrc\MagnumPlugins\StlImporter\CMakeFiles\StlImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StlImporter\StlImporter.cpp
[8/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DStanfordSceneConverter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\StanfordSceneConverter\CMakeFiles\StanfordSceneConverter.dir\StanfordSceneConverter.cpp.obj /Fdsrc\MagnumPlugins\StanfordSceneConverter\CMakeFiles\StanfordSceneConverter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StanfordSceneConverter\StanfordSceneConverter.cpp
[9/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_IS_DEBUG_BUILD -DMagnumOpenDdlsObjects_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdlObjects.dir\Implementation\Parsers.cpp.obj /Fdsrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdlObjects.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\Implementation\Parsers.cpp
[10/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DStanfordImporter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\StanfordImporter\CMakeFiles\StanfordImporter.dir\StanfordImporter.cpp.obj /Fdsrc\MagnumPlugins\StanfordImporter\CMakeFiles\StanfordImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\StanfordImporter\StanfordImporter.cpp
[11/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_DYNAMIC_PLUGIN -DCORRADE_IS_DEBUG_BUILD -DNOMINMAX -DOpenGexImporter_EXPORTS -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\MagnumPlugins\OpenGexImporter\CMakeFiles\OpenGexImporter.dir\OpenGexImporter.cpp.obj /Fdsrc\MagnumPlugins\OpenGexImporter\CMakeFiles\OpenGexImporter.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\MagnumPlugins\OpenGexImporter\OpenGexImporter.cpp
[12/24] C:\PROGRA~1\MICROS~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x64\cl.exe   /TP -DCORRADE_IS_DEBUG_BUILD -DMagnumOpenDdl_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IC:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\x64-windows-dbg\src -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include -external:IC:\Users\admin\git_projects\vcpkg2\vcpkg_installed\x64-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdl.dir\OpenDdl.cpp.obj /Fdsrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdl.dir\ /FS -c C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\OpenDdl.cpp
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\OpenDdl.cpp(66): warning C4312: 'reinterpret_cast': conversion from 'Magnum::UnsignedInt' to 'void *' of greater size
C:\Users\admin\git_projects\vcpkg2\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\OpenDdl.cpp(767) : warning C4701: potentially uninitialized local variable 'last' used
ninja: build stopped: subcommand failed.

Additional context

@JonLiu1993 JonLiu1993 added the category:port-bug The issue is with a library, which is something the port should already support label Apr 20, 2023
@JonLiu1993
Copy link
Member

JonLiu1993 commented Apr 20, 2023

This issue could be reproduced with vcpkg 2023-04-07-bedcba5172f5e4b91caac660ab7afe92c27a9895 and VS2022 17.5.4:

CMake Warning at ports/magnum-plugins/portfile.cmake:59 (message):
  Features cgltfimporter, glslangshaderconverter, ktximageconverter,
  ktximporter, openexrimageconverter, openexrimporter,
  spirvtoolsshaderconverter and stbdxtimageconverter are not available when
  building non-head version.
Call Stack (most recent call first):
  scripts/ports.cmake:147 (include)


-- Found external ninja('1.11.0').
-- Configuring x86-windows
-- Building x86-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: F:/test/vcpkg/downloads/tools/cmake-3.25.1-windows/cmake-3.25.1-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j9
    Working Directory: F:/test/vcpkg/buildtrees/magnum-plugins/x86-windows-dbg
    See logs for more information:
      F:\test\vcpkg\buildtrees\magnum-plugins\install-x86-windows-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/magnum-plugins/portfile.cmake:87 (vcpkg_cmake_install)
  scripts/ports.cmake:147 (include)

F:\test\vcpkg\buildtrees\magnum-plugins\install-x86-windows-dbg-out.log:

[11/24] C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1435~1.322\bin\Hostx64\x86\cl.exe   /TP -DCORRADE_IS_DEBUG_BUILD -DMagnumOpenDdl_EXPORTS -DNOMINMAX -DUNICODE -DWIN32_LEAN_AND_MEAN -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -IF:\test\vcpkg\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src -IF:\test\vcpkg\buildtrees\magnum-plugins\x86-windows-dbg\src -external:IF:\test\vcpkg\installed\x86-windows\include -external:IF:\test\vcpkg\installed\x86-windows\include\MagnumExternal\OpenGL -external:W0 /nologo /DWIN32 /D_WINDOWS  /utf-8 /GR /EHsc /MP  /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  /W4 /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /showIncludes /Fosrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdl.dir\OpenDdl.cpp.obj /Fdsrc\Magnum\OpenDdl\CMakeFiles\MagnumOpenDdl.dir\ /FS -c F:\test\vcpkg\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\OpenDdl.cpp
F:\test\vcpkg\buildtrees\magnum-plugins\src\v2020.06-79ad147c2a.clean\src\Magnum\OpenDdl\OpenDdl.cpp(767) : warning C4701: potentially uninitialized local variable 'last' used
ninja: build stopped: subcommand failed.

@LilyWangLL
Copy link
Contributor

I guess magnum-plugins is too old and the used dependency to new?

This point is correct, meshoptimizer has updated the structure of its functions meshopt_simplifySloppy and meshopt_simplify.
I submitted an issue mosra/magnum-plugins#138 on the upstream of magnum-plugins, waiting for their fix.

@LilyWangLL LilyWangLL added depends:upstream-changes Waiting on a change to the upstream project and removed category:port-bug The issue is with a library, which is something the port should already support labels Apr 26, 2023
@LilyWangLL LilyWangLL self-assigned this Apr 28, 2023
@github-actions
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Oct 26, 2023
@autoantwort
Copy link
Contributor Author

Still an issue

@LilyWangLL LilyWangLL removed the Stale label Oct 26, 2023
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Apr 24, 2024
@JonLiu1993
Copy link
Member

Still an issue

@github-actions github-actions bot removed the Stale label Apr 25, 2024
Copy link

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

@github-actions github-actions bot added the Stale label Oct 25, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends:upstream-changes Waiting on a change to the upstream project Stale
Projects
None yet
Development

No branches or pull requests

3 participants