Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ 在ubuntu中创建自动安装程序_C++_Qt_Cmake_Qt5_Eigen3 - Fatal编程技术网

C++ 在ubuntu中创建自动安装程序

C++ 在ubuntu中创建自动安装程序,c++,qt,cmake,qt5,eigen3,C++,Qt,Cmake,Qt5,Eigen3,我正在尝试安装并运行此软件 它是针对一个项目的,但它无法编译缺少的依赖项(3) 我想创建一个自动安装脚本来运行它 我已经做了最多,但我认为我在链接cmake和qt5.10中的路径和特征时有问题 autoinstall.sh代码: 安装依赖项 sudo apt install mesa-common-dev freeglut3-dev coinor-libipopt-dev libblas-dev liblapack-dev gfortran liblapack-dev coinor-libipo

我正在尝试安装并运行此软件 它是针对一个项目的,但它无法编译缺少的依赖项(3)

我想创建一个自动安装脚本来运行它

我已经做了最多,但我认为我在链接cmake和qt5.10中的路径和特征时有问题

autoinstall.sh代码:

安装依赖项

sudo apt install mesa-common-dev freeglut3-dev coinor-libipopt-dev libblas-dev liblapack-dev gfortran liblapack-dev coinor-libipopt-dev cmake gcc build-essential libglib2.0-dev default-jdk python-all-dev liblua5.1-dev golang doxygen python-epydoc
克隆MIT迷你猎豹软件

git clone https://github.com/mit-biomimetics/Cheetah-Software.git
cd Cheetah-Software
特征库

wget https://gitlab.com/libeigen/eigen/-/archive/3.3.7/eigen-3.3.7.zip
unzip eigen-3.3.7.zip
lcm库

wget https://github.com/lcm-proj/lcm/releases/download/v1.4.0/lcm-1.4.0.zip
unzip lcm-1.4.0.zip
cd lcm-1.4.0

mkdir build
cd build
cmake ..
make
sudo make install
cd ..
cd ..
Qt

建造

cd scripts # for now, you must actually go into this folder
./make_types.sh # you may see an error like `rm: cannot remove...` but this is okay
cd ..
mkdir build
cd build
cmake .. # there are still some warnings here
make -j
  • configure或setup.py或INSTALL或README.MD中相关的任何内容(必需)
  • 制造
  • 安装
  • 但实际上你并没有选择最严格的工作,即使作为一名开发人员,我在使用克隆源代码时也多次感到惊讶。
    您应该尝试为您的机器人或任何允许您从二进制安装的发行版预编译ROS,但在开发完成后,您仍然可以交叉编译。

    因此,在几次研究和询问论坛后,我能够编译并运行它,这是一个与lcm库和openjdk兼容的问题,所以请下载oracle jdk,做一些手动链接,一切都很好,编译时绝对没有错误

    Cheetah软件Ubuntu 18.04-AutoInstall.sh:


    基本上它是另一个linux发行版。但是我们通常更喜欢使用VM和模拟器在一台强大的机器上开发,然后重新编译ROS或其他任何东西。关于你的Qt,我会克隆Git repositoryok我在github Repository上发布了一个问题,我希望会有答案……你的问题是什么?你好,我正在尝试创建一个自动启动脚本来运行mini猎豹软件模拟;但我有一个错误,特别是在eigen3中…我在剧目中发布了一个问题,如果你能查一下的话?很好,您已经发布了一个问题,但它与GH无关,因此您应该在问题中显示错误消息,指示生成了哪个命令行。请阅读并复习。你使用什么版本的ubuntu?
    cd scripts # for now, you must actually go into this folder
    ./make_types.sh # you may see an error like `rm: cannot remove...` but this is okay
    cd ..
    mkdir build
    cd build
    cmake .. # there are still some warnings here
    make -j