Install Ogre1.7.3, Cegui0.7.6 and related libraries in Ubuntu10.10

Source: Internet
Author: User
Tags doxygen
0. Problem and Solution: if the reader uses the closed-source binary driver module provided by NVIDIA in Ubuntu, after the driver provided by NVIDIA is installed successfully, the/usr/lib/libGL is not re-created. then, when making, the system will prompt "No Rules are available to create the target/usr/lib/libGL required by RenderSystem_GL.so. so ". It's easy to solve this problem. Just re-create the/usr/lib/libGL. so Link and install

0. Problems and Solutions:
If the reader uses the closed-source binary driver module provided by NVIDIA in Ubuntu, and the driver provided by NVIDIA is successfully installed, the/usr/lib/libGL is not re-created. then, when making, the system will prompt "No Rules are available to create the target/usr/lib/libGL required by RenderSystem_GL.so. so ".
To solve this problem is very simple, re-create the/usr/lib/libGL. so Link, the author installed the NVIDIA-Linux-x86-280.13 as an example, in the terminal enter the following code to solve this problem

Cd/usr/lib

Sudo rm libGL. so

Sudo ln-s libGL. so.280.13 libGL. so

Before proceeding with this article, make sure that:
You have successfully installed Ubuntu 10.10;
Ubuntu 10.10 is connected to the Internet.

1. Open a terminal:
Alt + F2 enter gnome-terminal
Or: Application --> Appendix --> Terminal

2. Install the compiler and the configuration tool. Enter the command on the terminal and press Enter.
Sudo apt-get install build-essential automake libtool cmake-gui

3. Install the libraries on which Ogre depends
Sudo apt-get install libois-dev libfreeimage-dev libfreetype6-devlibzzip-dev libxaw7-dev libglew1.5-dev libxrandroid-dev

4. Install the optional Ogre dependent Libraries
Sudo apt-get install doxygen graphviz nvidia-cg-toolkit libboost-devlibcppunit-dev

5. Install Ogre
Click link http://sourceforge.net/projects/ogre/files/ogre/1.7/ogre_src_v1-7-3.tar.bz2/download
Download OGRE 1.7.3 Source for Linux/OSX
Decompress the file name ogre_src_v1-7-3.tar.bz2 to your desired folder.
For example, if I extract to/home/me/sdk, the home Directory of Ogre is/home/me/sdk/ogre_src_v1-7-3.

Enter
Cd/home/me/sdk/ogre_src_v1-7-3
C make/home/me/sdk/ogre_src_v1-7-3

Replace your Ogre home directory with/home/me/sdk/ogre_src_v1-7-3
Enter the current terminal
Make
Sudo make install

If everything goes well, Ogre is successfully installed.

6. Install the Cegui dependency Library
Sudo apt-get install libpcre ++-dev libwxgtk2.8-dev libjpeg62-dev

7. Install Cegui's optional dependent Libraries
Sudo apt-get install doxygen graphviz

8. Install Cegui dependency library Silly
Download http://sourceforge.net/projects/crayzedsgui/files/SILLY/0.1.0/SILLY-0.1.0.tar.gz/download
Unzip the SILLY-0.1.0.tar.gz to/home/me/sdk/SILLY-0.1.0

Terminal Input
Cd/home/me/sdk/SILLY-0.1.0
./Configure
Make
Sudo makeinstall

9. Install CEGUI 0.7.6
Download http://sourceforge.net/projects/crayzedsgui/files/CEGUI%20Mk-2/0.7.6/CEGUI-0.7.6.tar.gz/download
CEGUI-0.7.6.tar.gz unzip to/home/me/sdk/CEGUI-0.7.6
Terminal Input
Cd/home/me/sdk/CEGUI-0.7.6
./Bootstrap
./Configure
Make
Sudo make install
Successful CEGUI Installation

10. Install CEGUILayout editor and CEGUI Imageset Editor.

Download the stable (stable) version to the http://www.cegui.org.uk/wiki/index.php/Downloads
CEGUILayout editor
The installation of CEGUI Imageset Editor is similar to that of CEGUI.

11. Use Eclispe for OGRE development in Ubuntu

Http://www.ogre3d.org/tikiwiki/tiki-index.php? Page = Setting % 20Up % 20An % 20 Application


The installation and testing are all OK according to the steps in this article and the steps in this article.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.