-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
CMake error : The source directory "D:/mumble/build/overlay/overlay_xcompile-prefix/src /overlay_xcompile" does not appear to contain CMakeLists.txt. #6725
Comments
These paths look odd to me... just for the fun of it: does the same error appear when you configure and build in Release mode instead? |
What's odd about the path? It's almost the same mistake, but with an extra mistake in the Release mode , something about "/O2" and "/RTC1" are incompatible |
The fact that you have a |
It's in the build directory, not the source one. |
Doesn't change my statement. I have never noticed this directory being generated. |
It's generated on Windows when cross-compiling the overlay library. |
@archie2010 For future reference, could you tell us how you solved the issue, please? |
The issue
Run the cmake generator sucessfully,but run the cmake in build-mode failed
I even switched to a new Windows computer and followed the entire build_static process, but I'm still encountering this error.
I've been stuck on this issue for two days, requesting help.
Run the cmake generator sucessfully:
cmake .. -G "Visual Studio 17 2022" -A x64 -DVCPKG_TARGET_TRIPLET=x64-windows-static-md -DCMAKE_TOOLCHAIN_FILE=D:\vcpkg\scripts\buildsystems\vcpkg.cmake -DIce_HOME=D:\vcpkg\installed\x64-windows-static-md -DCMAKE_BUILD_TYPE=Debug
Run cmake --build . Error:
"D:/CodeSpace/CodeRTC/mumble/overlay"
CUSTOMBUILD : CMake error : The source directory "D:/CodeSpace/CodeRTC/mumble/build/overlay/overlay_xcompile-prefix/src
/overlay_xcompile" does not appear to contain CMakeLists.txt. [D:\CodeSpace\CodeRTC\mumble\build\overlay\overlay_xcompi
le.vcxproj]
Specify --help for usage, or press the help button on the CMake GUI.
D:\install\VisualStudio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: “D:
\CodeSpace\CodeRTC\mumble\build\CMakeFiles\945a16b09d3184b49fb494d7cb4ad34f\overlay_xcompile-mkdir.rule;D:\CodeSpace\Co
deRTC\mumble\build\CMakeFiles\945a16b09d3184b49fb494d7cb4ad34f\overlay_xcompile-download.rule;D:\CodeSpace\CodeRTC\mumb
le\build\CMakeFiles\945a16b09d3184b49fb494d7cb4ad34f\overlay_xcompile-update.rule;D:\CodeSpace\CodeRTC\mumble\build\CMa
keFiles\945a16b09d3184b49fb494d7cb4ad34f\overlay_xcompile-patch.rule;D:\CodeSpace\CodeRTC\mumble\build\CMakeFiles\945a1
6b09d3184b49fb494d7cb4ad34f\overlay_xcompile-configure.rule;D:\CodeSpace\CodeRTC\mumble\build\CMakeFiles\945a16b09d3184
b49fb494d7cb4ad34f\overlay_xcompile-build.rule;D:\CodeSpace\CodeRTC\mumble\build\CMakeFiles\945a16b09d3184b49fb494d7cb4
ad34f\overlay_xcompile-install.rule;D:\CodeSpace\CodeRTC\mumble\build\CMakeFiles\bbdb16d0b30d498c7fe232db3af6ece1\overl
ay_xcompile-complete.rule;D:\CodeSpace\CodeRTC\mumble\build\CMakeFiles\b458a3e2f15d29b9826dd6d4694f3f68\overlay_xcompil
e.rule;D:\CodeSpace\CodeRTC\mumble\overlay\CMakeLists.txt”的自定义生成已退出,代码为 1。 [D:\CodeSpace\CodeRTC\mumble\build\overlay\o
verlay_xcompile.vcxproj]
Mumble version
master
Mumble component
Client
OS
Windows
Additional information
No response
The text was updated successfully, but these errors were encountered: