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