【问题标题】:List doesn't recognize subcommand transform: Error in Cmake列表无法识别子命令转换:Cmake 中的错误
【发布时间】:2021-03-29 01:17:10
【问题描述】:

我正在使用this 与树莓派交叉编译,但我卡在了这一步

../qt-everywhere-src-6.0.0/configure -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=arm-linux-gnueabihf- -sysroot /opt/qt5pi/sysroot -prefix /usr/local/qt5pi -opensource -confirm-license -skip qtscript -nomake examples -make libs -pkg-config -no-use-gold-linker -v

因为它显示错误“列表无法识别子命令转换” 我在虚拟框中使用 Ubandu 18.04 尝试在 Raspberrypi3 中交叉编译 我的所有代码都是在 QT creator (C++ - qt5 版本) 中创建的

【问题讨论】:

    标签: c++ qt raspberry-pi3 cross-compiling


    【解决方案1】:

    所以,您至少需要 3.16 版的 cmake

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-12-02
      • 1970-01-01
      • 1970-01-01
      • 2017-12-18
      • 2011-10-25
      • 1970-01-01
      • 1970-01-01
      • 2012-01-27
      相关资源
      最近更新 更多