飞凌 FET6818核心板解压编译器: tar zxvf arm-cortex_a9_eabi-4.7-eglibc-2.18.tar.gz -C/opt设置默认编译环境: vi /etc/profile 在打开的profile文件中加入编译器路径: export PATH=/opt/arm-cortex_a9_eabi-4.7-eglibc-2.18/bin:$PATH 保存profile文件 使新加如的环境变量生效: source /etc/profile原文:https://www.cnblogs.com/xuyouzhu/p/10733916.html
Ubuntu 15.04已经可以直接通过apt-get insall 安装clang 3.6, 并且预装的gcc版本是4.9.2。这些安装过程在这里介绍。首先下载boost源码 [plain] view plain copy print?wget -O boost.1.59.tar.bz2 http://sourceforge.net/projects/boost/files/latest/download?source=files 解压 [plain] view plain copy print?tar jxvf ./boost.1.59.tar.bz2 指定clang工具,生成编译脚本[plain] view plain copy print?./bootstrap.sh...
拿到一个RK3288的开发板,但是不得不说adb shell不太好用,像下面这样太锉了。 于是想着把busybox编译进去。1. 准备编译环境其实现在Ubuntu上交叉编译相比之前要简单那很多。1.1 安装 JDK 6:sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java6-installer1.2 依赖包:Ubuntu 12.04 软件包安装:sudo apt-get install git gnupg flex bison gperf build-essential zip curl lib...
版权声明:本文为博主原创文章,未经博主同意不得转载。 https://blog.csdn.net/gobitan/article/details/24367439 基于Ubuntu 14.04 LTS编译Android4.4.2源码? ? ? ? Dennis Hu 2014-4-21环境准备:基本环境:ubuntu-14.04-desktop-64bit LTS(裸机或者Windows下虚拟机安装均可,12.04也能够,但10.04眼下不支持了)其它要求:空暇磁盘空间100G以上,代码部分接近10G,其它为git和编译中间和目标文件准备===================...
1.平台搭建LInux下如果单纯是进行C编译环境搭建的话,是比较容易实现的,因为系统内置了编译器gcc,所以我们要做的只不过是写好c源文件然后在进行编译就可以了
如果没有gcc编译器的话,使用以下命令获取
~# sudo apt-get install gcc同时要下载辅助工具
~# sudo apt-get install binutils
头文件库 ~# sudo apt-get install Llibc6-dev
CLibrary (用来查询语法使用方式的文档)
~# sudo apt-get install glibc-docLinux下C语言编程...
交叉编译时,通常要准备mkspec, 参考: http://wiki.qt.io/Building_Qt_for_Embedded_Linuxmkspec包含两个文件:qmake.conf- This is a list of qmake variable assignments that tells qmake what flags to pass through to the compiler, which compiler to use etc.qplatformdefs.h - This is a header file with various platform-specific #includes and #defines. Often this just refers to an existing qplatformdefs.h file ...
在ubuntu14.04中用源码方式编译安装qemu时,执行/configure步骤提示错误:./configure ERROR: DTC (libfdt) version >= 1.4.0 not present. Your options:
(1) Preferred: Install the DTC (libfdt) devel package
(2) Fetch the DTC submodule, using:
git submodule update --init dtc于是,用apt-cache查找了关于libfdt的依赖包apt-cache search libfdt
libfdt-dev - Flat Device Trees manip...
1、下载gcc、g++sudo apt-get install --reinstall binutils
sudo apt-get install --reinstall build-essential
sudo apt-get install --reinstall libc6-dev
sudo apt-get install --reinstall gcc-4.7-multilib
sudo apt-get install --reinstall g++-4.7-multilib 2、7z的下载安装 3、splite压缩包的合并,解压缩,md5验证原文:http://www.cnblogs.com/lipeil/p/4840836.html
一个基于 libcurl 的 httpclient 1、ubuntu libcurl 源码下载地址: http://packages.ubuntu.com/precise/libs/libcurl32、在电脑上运行的编译方式: ①安装 指定了安装目录 /usr/local/curl ②生成Makefile:./configure --prefix=/usr/local/curl ③make && make install ④可以看到lib库,已经安装在 /usr/local/curl/lib,并且有四个目录 bin include lib share 包含了所需的库、头文件等3、经过TI交叉编...
原文网址:http://blog.csdn.net/lmhgen/article/details/7326083错误1:注意:external/protobuf/java/src/main/java/com/google/protobuf/GeneratedMessageLite.java 使用了未经检查或不安全的操作。注意:要了解详细信息,请使用 -Xlint:unchecked 重新编译。注意:external/protobuf/java/src/main/java/com/google/protobuf/micro/CodedInputStreamMicro.java 使用了未经检查或不安全的操作。注意:要了解详细信息,请使用 -X...
一、编译前的准备1.安装依赖sudo apt-get install build-essential
sudo apt-get install libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev2.下载源码git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git二、常规操作1.创建bulid目录cd ~/opencv
mkdi...
1.编译的环境配置和库需要 编译需要最起码的GCC、make、和root权限,库依赖需要ncurses,安装ncurses命令如下:sudo apt-get install build-essential kernel-package libncurses5-dev2.为了证明内核更改,需要自己先查看内核版本:uname -r3.从www.kernel.org下载最新最新内核。4.将下载好的内核解压后进入zhanghaijun@zhanghaijun-Inspiron-1420:~$ cd linux-3.9.2/5.使用make mrproper来清理旧的配置。6.使用make menuconfi...
一、安装ROS Melodic官方安装手册1. 设置Ros的软件源sudo sh -c ‘echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list‘
2. 设置密钥sudo apt install curl # if you haven‘t already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
3. 安装sudo apt-get update
sudo apt install ros-melodic-de...
在升级redmine的时候遇到ruby版本适配的问题。找了些资料。ruby安装包除了官方网站,可以参考 http://ftp.ruby-lang.org/pub/ruby/1.9/ 需要从1.9.3-p551降级到1.9.3-p484。直接安装p484版本。cd /usr/src
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p484.tar.gztar zxf ruby-1.9.3-p484.tar.gz
cd ruby-1.9.3-p484
./configure --prefix=/usr/local --disable-install-doc --with-opt-dir=/usr/local/lib
make && ma...
第一步:先安装全部用到的包apt installgcc libpcre++-dev libssl-dev make libxml2-dev libxslt-dev libgd-dev libgeoip-dev libgoogle-perftools-dev libatomic-ops-dev libperl-dev 第二步:下载并解压nginx-1.10.2.tar.gzwget http://nginx.org/download/nginx-1.10.2.tar.gztar zxvf nginx-1.10.2.tar.gz 第三步:configure./configure --with-select_module --with-poll_module --with-threads --with-file-aio --with-ipv6 ...