Closed Dragonisser closed 4 months ago
Can you try running xrepo install -vD magnum-integration
? Does it work? and let me see the output.
It does work. Wasn't sure where to run it but it both worked in the folder where the dependency was needed and ~home.
Running xmake project -k vsxmake2019
afterwards yields the same error as reported.
C:\Users\acks>xrepo install -vD magnum-integration
xmake f -c --require=n -v -D
checking for platform ... windows
checking for architecture ... x64
checking for cl.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2019
checkinfo: cannot runv(dmd.exe --version), No such file or directory
checking for dmd ... no
checkinfo: cannot runv(ldc2.exe --version), No such file or directory
checking for ldc2 ... no
checkinfo: cannot runv(gdc.exe --version), No such file or directory
checking for gdc ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checking for link.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
configure
{
arch = x64
network = public
mode = release
plat = windows
vs = 2019
clean = true
kind = static
proxy_pac = pac.lua
buildir = build
ccache = true
theme = default
vcpkg = C:\dev\vcpkg
ndk_stdcxx = true
host = windows
}
xmake require -v -D -j 24 --extra={system=false} magnum-integration
configure
{
kind = static
ccache = true
clean = true
mode = release
plat = windows
proxy_pac = pac.lua
network = public
theme = default
arch = x64
ndk_stdcxx = true
vs = 2019
buildir = build
vcpkg = C:\dev\vcpkg
host = windows
}
checkinfo: cannot runv(unzip.exe -v), No such file or directory
checking for unzip ... no
checking for 7z ... C:\Program Files\xmake\winenv\bin\7z
checking for git ... ok
checkinfo: cannot runv(gzip.exe --version), No such file or directory
checking for gzip ... no
git rev-parse HEAD
checking for cmake ... no
checking for Microsoft Visual Studio (x64) version ... 2019
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
checkinfo: cannot runv(cmake.exe --version), No such file or directory
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
finding corrade from xmake ..
checking for xmake::corrade ... corrade v2020.06
checking for xmake-repo::opengl ... opengl
finding magnum from xmake ..
checking for xmake::magnum ... magnum v2020.06
finding magnum-integration from xmake ..
checking for xmake::magnum-integration ... magnum-integration v2020.06
try xrepo install -vD -f "imgui=true" magnum-integration
again? Does it work too?
No, it failed with the same error as reported.
C:\Users\acks>xrepo install -vD -f "imgui=true" magnum-integration
xmake f -c --require=n -v -D
checking for platform ... windows
checking for architecture ... x64
checking for cl.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe
checking for Microsoft Visual Studio (x64) version ... 2019
checkinfo: cannot runv(dmd.exe --version), No such file or directory
checking for dmd ... no
checkinfo: cannot runv(ldc2.exe --version), No such file or directory
checking for ldc2 ... no
checkinfo: cannot runv(gdc.exe --version), No such file or directory
checking for gdc ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checkinfo: cannot runv(zig.exe version), No such file or directory
checking for zig ... no
checking for link.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\link.exe
checking for the linker (ld) ... link.exe
configure
{
buildir = build
vs = 2019
mode = release
proxy_pac = pac.lua
plat = windows
clean = true
host = windows
vcpkg = C:\dev\vcpkg
ndk_stdcxx = true
kind = static
network = public
ccache = true
theme = default
arch = x64
}
xmake require -v -D -j 24 --extra={system=false,configs={imgui=true}} magnum-integration
configure
{
clean = true
arch = x64
theme = default
vs = 2019
kind = static
host = windows
network = public
proxy_pac = pac.lua
plat = windows
buildir = build
vcpkg = C:\dev\vcpkg
ndk_stdcxx = true
mode = release
ccache = true
}
checkinfo: cannot runv(unzip.exe -v), No such file or directory
checking for unzip ... no
checking for 7z ... C:\Program Files\xmake\winenv\bin\7z
checking for git ... ok
checkinfo: cannot runv(gzip.exe --version), No such file or directory
checking for gzip ... no
git rev-parse HEAD
checking for cmake ... no
checking for Microsoft Visual Studio (x64) version ... 2019
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
checkinfo: cannot runv(cmake.exe --version), No such file or directory
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
finding corrade from xmake ..
checking for xmake::corrade ... corrade v2020.06
checking for xmake-repo::opengl ... opengl
finding magnum from xmake ..
checking for xmake::magnum ... magnum v2020.06
finding imgui from xmake ..
checking for xmake::imgui ... imgui v1.87
finding magnum-integration from xmake ..
checking for xmake::magnum-integration ... no
note: install or modify (m) these packages (pass -y to skip confirm)?
in xmake-repo:
-> magnum-integration v2020.06 [imgui:y, vs_runtime:"MT"]
please input: y (y/n/m)
y
checking for ping ... ok
pinging for the host(github.com) ... 29 ms
C:\Program Files\xmake\winenv\bin\7z x -y v2020.06.zip -osource.tmp
7-Zip 19.00 (x64) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21
Scanning the drive for archives:
1 file, 517718 bytes (506 KiB)
Extracting archive: v2020.06.zip
--
Path = v2020.06.zip
Type = zip
Physical Size = 517718
Comment = a6c469de651032746a965c5aa83c243ca6a097a6
Everything is Ok
Folders: 35
Files: 175
Size: 1832633
Compressed: 517718
checkinfo: cannot runv(cmake.exe --version), No such file or directory
checking for cmake ... no
checking for cmake ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake -DBUILD_TESTS=OFF -DLIB_SUFFIX= -DCMAKE_BUILD_TYPE=Release -DBUILD_STATIC=ON -DWITH_BULLET=OFF -DWITH_DART=OFF -DWITH_EIGEN=OFF -DWITH_GLM=OFF -DWITH_IMGUI=ON -DWITH_OVR=OFF -DCMAKE_INSTALL_PREFIX=C:\Users\acks\AppData\Local\.xmake\packages\m\magnum-integration\v2020.06\90018749ba864d7cb0d91ce9b6e34cfb -DCMAKE_INSTALL_LIBDIR=C:\Users\acks\AppData\Local\.xmake\packages\m\magnum-integration\v2020.06\90018749ba864d7cb0d91ce9b6e34cfb\lib -G "Visual Studio 16 2019" -A x64 -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded "-DCMAKE_CXX_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_CXX_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" "-DCMAKE_C_FLAGS_DEBUG=/MT /Zi /Ob0 /Od /RTC1" "-DCMAKE_C_FLAGS_RELEASE=/MT /O2 /Ob2 /DNDEBUG" -DCMAKE_COMPILE_PDB_OUTPUT_DIRECTORY=pdb -DCMAKE_POSITION_INDEPENDENT_CODE=ON C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06
-- Selecting Windows SDK version 10.0.20348.0 to target Windows 10.0.19044.
-- The CXX compiler identification is MSVC 19.29.30141.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Corrade: C:/Users/acks/AppData/Local/.xmake/packages/c/corrade/v2020.06/04c61aa7d14f4ec08dc6dbb4d8add948/include found components: Containers rc Utility
-- Found Magnum: C:/Users/acks/AppData/Local/.xmake/packages/m/magnum/v2020.06/f71e1cbb0e66490e957300dbf45dacd5/include
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")
-- Found OpenGL: opengl32
-- Found Magnum: C:/Users/acks/AppData/Local/.xmake/packages/m/magnum/v2020.06/f71e1cbb0e66490e957300dbf45dacd5/include found components: GL Shaders
-- Found ImGui: C:/Users/acks/AppData/Local/.xmake/packages/i/imgui/v1.87/3b8937baa1f1486a90445f6b85d7ceae/include found components: Sources
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_RELEASE
CMAKE_INSTALL_LIBDIR
-- Build files have been written to: C:/Users/acks/AppData/Local/.xmake/cache/packages/2203/m/magnum-integration/v2020.06/source/magnum-integration-2020.06/build_90018749
checking for msbuild.exe ... C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln -nologo -t:Rebuild -m:24 -p:Configuration=Release -p:Platform=x64
Build started 17/03/2022 16:14:21.
1>Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln" on node 1 (Rebuild target(s)).
1>ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
ValidateProjects:
The project "INSTALL" is not selected for building in solution configuration "Release|x64".
1>Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln" (1) is building "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source
\magnum-integration-2020.06\build_90018749\ALL_BUILD.vcxproj.metaproj" (2) on node 1 (Rebuild target(s)).
2>Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\ALL_BUILD.vcxproj.metaproj" (2) is building "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\s
ource\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj.metaproj" (3) on node 1 (Rebuild target(s)).
3>Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj.metaproj" (3) is building "C:\Users\acks\AppData\Local\.xmake\cache\pack
ages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\ZERO_CHECK.vcxproj" (4) on node 1 (Rebuild target(s)).
4>CoreClean:
Creating directory "x64\Release\ZERO_CHECK\".
PrepareForBuild:
Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Checking Build System
FinalizeBuildStatus:
Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
4>Done Building Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\ZERO_CHECK.vcxproj" (Rebuild target(s)).
3>Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj.metaproj" (3) is building "C:\Users\acks\AppData\Local\.xmake\cache\pack
ages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj" (5) on node 1 (Rebuild target(s)).
5>CoreClean:
Creating directory "MagnumImGuiIntegration.dir\Release\".
PrepareForBuild:
Creating directory "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\Release\lib\".
Creating directory "MagnumImGuiIntegration.dir\Release\MagnumIm.CD4DB92F.tlog\".
InitializeBuildStatus:
Creating "MagnumImGuiIntegration.dir\Release\MagnumIm.CD4DB92F.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
Building Custom Rule C:/Users/acks/AppData/Local/.xmake/cache/packages/2203/m/magnum-integration/v2020.06/source/magnum-integration-2020.06/src/Magnum/ImGuiIntegration/CMakeLists.txt
MakeDirsForCl:
Creating directory "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\pdb\Release".
VcpkgTripletSelection:
Using triplet "x64-windows" from "C:\dev\vcpkg\installed\x64-windows\"
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\CL.exe /c /I"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\src" /I"C:\Users\acks\AppData\Local\
.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src" /IC:\Users\acks\AppData\Local\.xmake\packages\m\magnum\v2020.06\f71e1cbb0e66490e957300dbf45dacd5\include /IC:\Users\acks\AppData\Local\.xmake\packages\m\magnum\v
2020.06\f71e1cbb0e66490e957300dbf45dacd5\include\MagnumExternal\OpenGL /IC:\Users\acks\AppData\Local\.xmake\packages\c\corrade\v2020.06\04c61aa7d14f4ec08dc6dbb4d8add948\include /IC:\Users\acks\AppData\Local\.xmake\packages\i\imgui\v1.87\3b8937baa1f1486a90445f6b85d7ceae\in
clude /I"C:\dev\vcpkg\installed\x64-windows\include" /nologo /W4 /WX- /diagnostics:column /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D _CRT_SECURE_NO_WARNINGS /D _SCL_SECURE_NO_WARNINGS /D NOMINMAX /D WIN32_LEAN_AND_MEAN /D UNICODE /D _UNICODE /D "CMAKE_INTDIR=\"Release\""
/D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"MagnumImGuiIntegration.dir\Release\\" /Fd"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_9001874
9\src\Magnum\ImGuiIntegration\pdb\Release\\" /external:W4 /Gd /TP /wd4251 /wd4244 /wd4267 /wd4351 /wd4373 /wd4510 /wd4610 /wd4512 /wd4661 /wd4702 /wd4706 /wd4800 /wd4910 /errorReport:queue "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.
06\source\magnum-integration-2020.06\src\Magnum\ImGuiIntegration\Context.cpp"
Context.cpp
5>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: The specified task executable "CL.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Us
ers\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.dir\Release\MagnumIm.CD4DB92F.tlog'. [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m
\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\mag
num-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integratio
n\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOpt
ion, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-
integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\acks\AppData\Local\.xmake\cache\packa
ges\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean construct
OutputsFromTLogs) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles..ctor(ITaskItem[] tlogFiles) [C:\Users\acks\AppData\Local\.xmake\cache\pack
ages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.CPPTasks.CL.PostExecuteTool(Int32 exitCode) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-inte
gration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands
) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.0
6\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
5>Done Building Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj" (Rebuild target(s)) -- FAILED.
3>Done Building Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj.metaproj" (Rebuild target(s)) -- FAILED.
2>Done Building Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\ALL_BUILD.vcxproj.metaproj" (Rebuild target(s)) -- FAILED.
1>Done Building Project "C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln" (Rebuild target(s)) -- FAILED.
Build FAILED.
"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln" (Rebuild target) (1) ->
"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\ALL_BUILD.vcxproj.metaproj" (Rebuild target) (2) ->
"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj.metaproj" (Rebuild target) (3) ->
"C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj" (Rebuild target) (5) ->
(ClCompile target) ->
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: The specified task executable "CL.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\
Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.dir\Release\MagnumIm.CD4DB92F.tlog'. [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203
\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\mag
num-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integratio
n\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOpt
ion, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-
integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\acks\AppData\Local\.xmake\cache\packa
ges\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean construct
OutputsFromTLogs) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.CanonicalTrackedOutputFiles..ctor(ITaskItem[] tlogFiles) [C:\Users\acks\AppData\Local\.xmake\cache\pack
ages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.CPPTasks.CL.PostExecuteTool(Int32 exitCode) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-inte
gration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands
) [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: at Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.0
6\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.45
error: @programdir\core\sandbox\modules\os.lua:354: execv(C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\MagnumIntegration.sln -nologo -t:Rebuild -m:24 -p:Configuration=Release -p:Platform=x64) failed(1)
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:849]:
[@programdir\core\sandbox\modules\os.lua:354]:
[@programdir\core\sandbox\modules\os.lua:267]: in function 'vrunv'
[@programdir\modules\package\tools\cmake.lua:627]: in function '_install_for_msvc'
[@programdir\modules\package\tools\cmake.lua:805]: in function 'install'
[...ories\xmake-repo\packages\m\magnum-integration\xmake.lua:36]: in function 'script'
[...dir\modules\private\action\require\impl\utils\filter.lua:125]: in function 'call'
[...\modules\private\action\require\impl\actions\install.lua:205]:
=> install magnum-integration v2020.06 .. failed
error: @programdir\modules\private\async\runjobs.lua:232: ...\modules\private\action\require\impl\actions\install.lua:301: install failed!
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:849]:
[...\modules\private\action\require\impl\actions\install.lua:301]: in function 'catch'
[@programdir\core\sandbox\modules\try.lua:127]: in function 'try'
[...\modules\private\action\require\impl\actions\install.lua:170]:
[...modules\private\action\require\impl\install_packages.lua:367]: in function 'jobfunc'
[@programdir\modules\private\async\runjobs.lua:208]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:849: in function 'base/os.raiselevel'
(...tail calls...)
@programdir\modules\private\async\runjobs.lua:232: in field 'catch'
@programdir\core\sandbox\modules\try.lua:127: in global 'try'
@programdir\modules\private\async\runjobs.lua:200: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:371: in function <@programdir\core\base\scheduler.lua:368>
error: @programdir\core\main.lua:280: @programdir\core\sandbox\modules\os.lua:354: execv(xmake require -v -D -j 24 --extra={system=false,configs={imgui=true}} magnum-integration) failed(-1)
stack traceback:
[C]: in function 'error'
[@programdir\core\base\os.lua:849]:
[@programdir\core\sandbox\modules\os.lua:354]:
[@programdir\modules\private\xrepo\action\install.lua:263]: in function '_install_packages'
[@programdir\modules\private\xrepo\action\install.lua:270]:
[@programdir\modules\private\xrepo\main.lua:196]:
[@programdir\plugins\lua\main.lua:123]:
[C]: in function 'xpcall'
[@programdir\core\base\utils.lua:280]:
[@programdir\core\base\task.lua:519]: in function 'run'
[@programdir\core\main.lua:278]: in function 'cotask'
[@programdir\core\base\scheduler.lua:371]:
stack traceback:
[C]: in function 'error'
@programdir\core\base\os.lua:849: in function 'os.raiselevel'
(...tail calls...)
@programdir\core\main.lua:280: in upvalue 'cotask'
@programdir\core\base\scheduler.lua:371: in function <@programdir\core\base\scheduler.lua:368>
It should be an issue about magnum-integration (-DWITH_IMGUI=ON
).
It works for vs2019 and does not work for vs2022. https://github.com/xmake-io/xmake-repo/actions/runs/1999531475
Maybe we need to fix this package and it's dependence (corrade) for vs2022.
wired, your vs is vs2019 too, it should work.
I'm not sure what's causing the problem, looking at the error it seems to be caused by cmake not being able to handle \
, but the path is generated internally by cmake. Maybe the cmake version is too low?
.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\acks\AppData\Local\.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.dir\Release\MagnumIm.CD4DB92F.tlog'.
I tried using vs2022 as well but it failed with the same error.
Edit:
Ive installed CMake 3.23.0-rc3, same error and it the debug information said it was using it.
5>C:\Users\ruki\AppData\Local.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\src\Magnum\ImGuiIntegration\Context.cpp(33,10): fatal error C1083: Cannot open include file: 'imgui.h': No such file or directory [C:\Users\ruki\AppData\Local.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj] 5>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(687,5): error MSB6003: The specified task executable "CL.exe" could not be run. System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\ruki\AppData\Local.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.dir\Release\MagnumIm.BE61ACAD.tlog'. [C:\Users\ruki\AppData\Local.xmake\cache\packages\2203\m\magnum-integration\v2020.06\source\magnum-integration-2020.06\build_90018749\src\Magnum\ImGuiIntegration\MagnumImGuiIntegration.vcxproj] C:\Pro
Context.cpp(33,10): fatal error C1083: Cannot open include file: 'imgui.h':
Although I don't know how to fix this compilation error yet, I have added a precompiled build binary to magnum-integration with imgui as well. It should work. please try
xrepo update-repo
xmake f -c
xmake
Xmake Version
v2.6.4+HEAD.9361ffcc1
Operating System Version and Architecture
Windows 10 Pro 19044.1586
Describe Bug
Trying to generate project files
xmake project -k vsxmake2019
, when installing the dependencymagnum-integration v2020.06
it fails to do so.Expected Behavior
Installing all dependencies and generating the project files without errors
Project Configuration
Its not the whole configuration, but the part that contains the dependency and fails.
Additional Information and Error Logs