Configure OGRE on Ubuntu

  1. Obtain OGRE souce code on  sourceforge.net.

  2. Install cmake for later compilation:

  $ sudo apt-get install cmake-gui

  3. Install some requisite softwares:

  $ sudo apt-get install libfreetype6-dev libboost-date-time-dev libboost-thread-dev nvidia-cg-toolkit libfreeimage-dev zlib1g-dev libzzip-dev libois-dev libcppunit-dev doxygen libxt-dev libxaw7-dev libxxf86vm-dev libxrandr-dev libglu-dev libboost-dev

  4. Install a requisite software font engine called freetype:

  $ cd ./Download
  $ wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.10.tar.gz
  $ tar zxvf freetype-2.4.10.tar.gz
  $ cd ./freetype-2.4.10/
  $ ./configure
  $ make
  $ sudo make install

  5. Enter the directory of OGRE souce and compile it:

  $ cmake .
  $ make
  $ make doc  $ sudo make install

  6. Configuration Done! Run ./bin/SampleBrowser to see some samples.

  Everything can be taken from a man but one thing: the freedom to choose his attitude in any given set of circumstances.

          —— Viktor E. Frankl

  

时间: 2024-12-23 16:29:03

Configure OGRE on Ubuntu的相关文章

Configure LBaaS on Ubuntu 14.04

Neutron controller node: vi /etc/neutron/neutron.confservice_plugins=router,lbaas [service_providers]service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default service neutron-s

ubuntu 16.04源码编译和配置caffe详细教程 | Install and Configure Caffe on ubuntu 16.04

本文首发于个人博客https://kezunlin.me/post/b90033a9/,欢迎阅读! Install and Configure Caffe on ubuntu 16.04 Series Part 1: Install and Configure Caffe on windows 10 Part 2: Install and Configure Caffe on ubuntu 16.04 Guide requirements: NVIDIA driver 396.54 CUDA 8

Configure a syslog server with rsyslog on Ubuntu

A syslog server represents a central log monitoring point on a network, to which all kinds of devices including Linux or Windows servers, routers, switches or any other hosts can send their logs over network. By setting up a syslog server, you can fi

腾讯云(ubuntu)下安装 nodejs + 实现 Nginx 反向代理

本文将介绍如何给腾讯云上的 Ubuntu Server 12.04 LTS 64位主机安装 node 及 nginx,并简单配置反向代理. 笔者在整个安装过程中遇到不少麻烦(不赘述),如果你希望少踩坑,可以按本文的步骤进行安装部署. 一. 新版 nodejs 安装 这里强烈推荐使用 nvm (Node版本管理器),其它方式的安装或多或少都有些问题. 具体步骤如下: 1. 通过 git 指令下载nvm 执行指令如下,我们把nvm下载到 /root/git/ 中去(记得要先安装 git): [[em

更改Ubuntu gcc、g++默认编译器版本

方法一: 首先,看一下你的Ubuntu都装了哪些版本的gcc 用命令:ls /usr/bin/gcc* -l  我的显示是 lrwxrwxrwx 1 root root      7 2011-08-14 15:17 /usr/bin/gcc -> gcc-4.6 -rwxr-xr-x 1 root root 224544 2011-10-06 05:47 /usr/bin/gcc-4.4 -rwxr-xr-x 1 root root 237072 2011-09-17 17:25 /usr/b

ubuntu 安装 GCC

网上查了好多方式,试了一下,最简单可行的是: sudo apt-get install  build-essential 等待执行完,输入 gcc -v 输出: Using built-in specs.COLLECT_GCC=gccCOLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapperTarget: x86_64-linux-gnuConfigured with: ../src/configure -v --with-

no screens found! ubuntu进不了图形界面了

结果是没装显卡 startx error. reinstall xorg, x server doesn't work. drivers no found? then i found no graphic card install it following this site: https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia#Ubuntu_14.04_and_up 解决: sudo apt-get install nvidia

ubuntu 10.04 安装arm交叉编译器

家里有一台cotext-A9(armv7-a) 的盒子,现在不用了, 一直想着废物利用.于是想怎么为这盒子编译程序. 目标机器: [email protected]:/# uname -a Linux routon-h1 2.6.34 #3 SMP Mon Oct 29 19:01:06 CST 2012 armv7l GNU/Linux 装了一台 ubuntu 10.04 X86 的虚拟机 [email protected]:~# uname -a Linux ubuntu 2.6.32-38

Ubuntu / Raspberry 下切换GCC版本

目前Ubuntu 自带的GCC版本为4.6,遗憾的是在实际使用时,反而版本越高越好问题越多,所以,一旦遇到编译问题时最好先检查你下载的工程里的readme,默认的编译器版本是否为当前的安装版本,如果不是,就需注意很可能是版本兼容问题(甚至你可能是第一个遇到此BUG的幸运者),初步调试后即可尝试降低版本测试. 目前主流gcc版本有两个,一个是gcc4.4,一个是gcc最新版本(4.6),下文介绍这两个版本切换和安装方法. 一.gcc最新版本安装 [email protected]:~# apt-g