/opt/cmake/bin/cmake目录中没有文件
我正在新鲜的Raspberry Pi 4上安装QT6,运行最新官方32bit OS
https://www.tal.org/tutorials/building-qt-62-raspberry-pi
,我被困在 中/em>部分要求我执行这一行,
/opt/cmake/bin/cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=/opt/Qt/6.2.3-armv7l \
-DQT_FEATURE_opengles2=ON \
-DQT_FEATURE_opengles3=ON \
-DCMAKE_TOOLCHAIN_FILE=tc.cmake \
-DQT_AVOID_CMAKE_ARCHIVING_API=ON ../qtbase-everywhere-src-6.2.3
但是我遇到了一个错误
bash: /opt/cmake/bin/cmake: No such file or directory
,我遵循每一步的障碍,没有问题,一切都会顺利进行这部分。有人可以帮助我解决这个问题吗?
I am installing Qt6 using this guide on my fresh raspberry pi 4 running the latest official 32bit OS
https://www.tal.org/tutorials/building-qt-62-raspberry-pi
and i am stuck in the Configure the Qt 6.2 build portion where it asks me to execute this line
/opt/cmake/bin/cmake -G Ninja \
-DCMAKE_INSTALL_PREFIX=/opt/Qt/6.2.3-armv7l \
-DQT_FEATURE_opengles2=ON \
-DQT_FEATURE_opengles3=ON \
-DCMAKE_TOOLCHAIN_FILE=tc.cmake \
-DQT_AVOID_CMAKE_ARCHIVING_API=ON ../qtbase-everywhere-src-6.2.3
but i am getting an error
bash: /opt/cmake/bin/cmake: No such file or directory
I followed every step behore hand and there were no problems, everthing went smoothly exempt this part. Can anybody help me with this problem ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
默认路径
如果您已经通过APT安装了Cmake,则应尝试查看是否存在 。如果是,您可能需要
用
另一种方法来替换,如果您安装了CMAKE,其他地方将是运行命令:
If you have installed Cmake through apt, the default path should be
Try to see if is there. If yes, you might want to replace
with
Another way to find if you have cmake installed somewhere else would be to run the command: