我正在尝试在Windows上编译CGAL lib并将其与visual studio一起使用 我已经构建了boost并成功使用CMAKE为visual studio创建了CGAL解决方案。然后我打开解决方案并使用批量构建来重建所有(没有错误),但我在教程中看到你应该独立重建安装来复制文件以创建include和lib目录。
当我尝试重建INSTALL时,我收到以下错误:
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
错误MSB3073命令“setlocal “C:\ Program Files(x86)\ CMake \ bin \ cmake.exe”-DBUILD_TYPE = Debug -P cmake_install.cmake if%errorlevel%neq 0 goto:cmEnd :cmEnd endlocal& call:cmErrorLevel%errorlevel%&转到:cmDone :cmErrorLevel 退出/ b%1 :cmDone if%errorlevel%neq 0 goto:VCEnd :VCEnd“退出代码1.安装C:\ Program Files(x86)\ MSBuild \ Microsoft.Cpp \ v4.0 \ V140 \ Microsoft.CppCommon.targets 133
答案 0 :(得分:0)
我刚修好了。
我重建了" libQGLViewer-2.6.3"。我注意到构建它时出现了一些错误。它仍然可以生成我需要的DLL。
重建" libQGLViewer-2.6.3"我覆盖了system32下的那些旧dll。
然后我成功重建"安装"。
PS。因为在重建'#34;安装"在C盘下会生成一些文件。请为Visual Studio提供管理权限。
请试一试