Linux下编译boost库和qt和ImageMagick
需要把整个PCIE的工程移植到Linux下,当初就是用cmake来管理的工程的。但是命令行之类的还是需要改动。改动还不少,cmake里面很多东西都依赖于windows。包括我用cmake重新管理的工程IMageMagick,相当繁琐,工作量也大。
当然,首先需要在Linux下安装SVN:
http://www.cnblogs.com/macula/archive/2012/02/12/2347637.html
http://www.blogjava.net/jasmine214--love/archive/2011/01/12/342839.html
sudo apt-get install subversion一下就行了
然后
svn checkout url [desnation dir]
然后输入本机的账户的密码,之后再输入svn的账户和密码。然后就从server上抓取文件了
boost库的编译:
http://blog.csdn.net/summer_liuwei/article/details/6224467
http://www.boost.org/boost-build2/doc/html/index.html (官方文档,墙裂推荐)
boost工程大概是这样配置:
chmod 777 ./bootstrap.sh
chmod 777 ./tools/build/v2/engine/build.sh
./bootstrap.sh
./b2 address-model=64 --with-system --with-filesystem --with-program_options --with-regex --with-python --with-date_time link=static threading=multi runtime-link=static --build-dir=${CMAKE_BINARY_DIR} --stagedir=${CMAKE_BINARY_DIR} stage
qt的编译:
http://qt-project.org/doc/qt-5/configure-options.html
Qt工程大概是这样配置:
./configure -prefix /home/username/qt -static -confirm-license -opensource -qt-zlib -no-libpng -no-libjpeg -qt-freetype -qt-xcb -opengl desktop -nomake tests -nomake examples -skip activeqt -skip declarative -skip doc -skip graphicaleffects -skip quick1 -skip sensors -skip serialport -skip tools -skip translations -skip webkit -skip webkit-examples -skip x11extras -skip xmlpatterns -skip location -skip connectivity
make install
ImageMagick的工程大概是这样配置的:
./configure --prefix=/home/username/ImageMagick --with-pic --with-gnu-ld
make install
都是自带的工具配置编译的。
相关文章
- 【Linux】linux常用基本命令
- qt创建多层目录_Qt多工程多目录的编译案例
- linux,crontab定时任务中为脚本指定使用参数,crontab的脚本中是否可以带参数
- STM32MP157开发板Linux+Qt项目实战:智能猫眼
- puppeteer在mac和linux上表现不一致的问题记录
- 在CentOS/RHEL/Scientific Linux 6 & 7 上安装Telnet
- linux多线程随机数,随机数SecureRandom在Linux下阻塞
- QT中操作Txt文件(Qt中QString与QByteArray互相转化方法)
- 【QT】Qt项目demo:数据在ui界面上显示,鼠标双击可弹窗显示具体信息
- linux 使用 ioctl 参数
- lilybbs-faq - linux入门以及百合 Linux 版精华区导读
- Qt编写跨平台视频监控系统(64通道占用7%CPU/支持win_linux_mac等)
- Linux_查看linux并发连接数
- Linux 如何将linux主机变为路由器&&iptables的基本用法
- Linux基础:文件基础属性及如何更改文件属性、文件与目录管理、linux软硬链接的理解、linux用户和用户组管理
- 【正点原子Linux连载】 第三章 Qt优化摘自【正点原子】ATK-DLRV1126Qt开发环境搭建手册
- 【正点原子Linux连载】第二章 C++基础摘自【正点原子】I.MX6U嵌入式Qt开发指南V1.0.2
- 【正点原子Linux连载】第十一章 网络编程 摘自【正点原子】I.MX6U嵌入式Qt开发指南V1.0.2
- Linux学习笔记(24)linux发邮件 mailx发邮件
- Linux学习笔记(19)linux定时任务(crontab)
- Linux学习笔记(7)CRT实现windows与linux的文件上传下载
- 多台Linux服务器SSH相互访问无需密码--转