![运行 CMake Ubuntu SDK IDE 安装向导时出错](https://linux22.com/image/1132970/%E8%BF%90%E8%A1%8C%20CMake%20Ubuntu%20SDK%20IDE%20%E5%AE%89%E8%A3%85%E5%90%91%E5%AF%BC%E6%97%B6%E5%87%BA%E9%94%99.png)
我正在尝试在 ubuntu SDK IDE 中创建 C++ Unity 范围。使用安装向导,我创建了我的项目,但 CMake 向导无法运行 CMake。我收到以下错误:
E: Failed to change to directory ‘/var/lib/schroot/chroots/click-ubuntu-sdk-15.04-armhf/mnt/Data/Programming/RealTime/UbuntuScope/build-RealTime-UbuntuSDK_for_armhf_GCC_ubuntu_sdk_15_04_vivid-Default’: No such file or directory
I: The directory does not exist inside the chroot. Use the --directory option to run the command in a different directory.
Command returned 1: schroot -c click-ubuntu-sdk-15.04-armhf-bf5c34a9-5b6b-4bfa-967d-ab92497c576e --run-session -- env DEB_BUILD_ARCH_CPU=amd64 DEB_HOST_GNU_TYPE=arm-linux-gnueabihf DEB_HOST_MULTIARCH=arm-linux-gnueabihf DEB_HOST_ARCH_ENDIAN=little DEB_HOST_ARCH=armhf DEB_BUILD_MULTIARCH=x86_64-linux-gnu DEB_BUILD_GNU_TYPE=x86_64-linux-gnu DEB_BUILD_ARCH_OS=linux DEB_HOST_ARCH_OS=linux DEB_HOST_ARCH_BITS=32 DEB_BUILD_ARCH_ENDIAN=little DEB_HOST_GNU_SYSTEM=linux-gnueabihf DEB_BUILD_ARCH_BITS=64 DEB_HOST_GNU_CPU=arm DEB_BUILD_GNU_CPU=x86_64 DEB_BUILD_ARCH=amd64 DEB_BUILD_GNU_SYSTEM=linux-gnu DEB_HOST_ARCH_CPU=arm cmake /home/pieter/Programming/RealTime/UbuntuScope/RealTime '-GCodeBlocks - Unix Makefiles'
我在 ubuntu 文档或教程中找不到任何有关此内容的信息。有人知道我在这里遗漏了什么吗?
答案1
我的所有编程项目都存储在硬盘上(安装在 /mnt 中),并符号链接到我的主目录,以便于访问。在我的主目录中创建范围项目解决了我的问题。我不知道是否有解决方法,但安装向导肯定不喜欢这样。