Setting up Irrlicht (WISP) under Ubuntu

Source: Internet
Author: User

Mine is ubuntu14.04 and Irrlicht 1.8.1.

First, make sure that the system libraries are installed and the following libraries are required
Build-essential
Xserver-xorg-dev
X11proto-xf86vidmode-dev
Libxxf86vm-dev
Mesa-common-dev
Libgl1-mesa-dev
Libglu1-mesa-dev
Libxext-dev
Libxcursor-dev

If the dependency is not met, try

sudo apt-get-f Install

Decompression Irrlicht-1.8.1.zip, in order to facilitate the best set Chmod-r 777 permissions, or you can not use the IDE to compile.

Next go to the Irrlicht-1.8.1/source/irrlicht directory, make

May error: Show ' pglblendequation ' is not declared in this scope (if not omitted)

This time download http://sourceforge.net/p/irrlicht/code/HEAD/tree/trunk/source/Irrlicht/glext.h replace the glext.h in the current directory

Make again and finish. Entering Irrlicht-1.8.1/bin/linux, you can see that an executable demo has been generated.


Next, build the project with Code::Blocks and confirm that the entire Irrlicht directory permission is open.

Enter Irrlicht-1.8.1/examples/01.helloworld,mkdir. obj and open the CBP project.

It's still not compiled, and you may not be able to find aXConvertSelection。打开 project->build options->linker settings,添加以下两个库

/usr/lib/x86_64-linux-gnu/libX11.so/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1

This will run.


Setting up Irrlicht (wisp) under Ubuntu

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.