installation on linux

sajis997
Posts: 4
Joined: Thu Jun 28, 2012 3:24 am

installation on linux

Post by sajis997 »

Hello forum,

I am going through the following compilation problem while compiling the engine on ubuntu linux 11.10.

Code: Select all

In file included from /home/sajjad/Downloads/Bullet/bullet-2.80-rev2531/Demos/SharedOpenCL/btOpenCLUtils.h:22,
                 from /home/sajjad/Downloads/Bullet/bullet-2.80-rev2531/Demos/ParticlesOpenCL/btParticlesDemoDynamicsWorld.cpp:30:
/home/sajjad/Downloads/Bullet/bullet-2.80-rev2531/Demos/SharedOpenCL/btOpenCLInclude.h:41: fatal error: CL/cl_gl.h: No such file or directory
compilation terminated.
make[2]: *** [Demos/ParticlesOpenCL/MiniCL/CMakeFiles/AppParticlesOCL_Mini.dir/__/btParticlesDemoDynamicsWorld.o] Error 1
make[1]: *** [Demos/ParticlesOpenCL/MiniCL/CMakeFiles/AppParticlesOCL_Mini.dir/all] Error 2
make: *** [all] Error 2

I have checked that cl_gl.h file is there and the path is also laded inside the environment variable


Any hint ?


Regards
Sajjad
jdowner
Posts: 7
Joined: Fri Jan 06, 2012 1:04 pm

Re: installation on linux

Post by jdowner »

Hi sajjad,

Can you provide more info about how you are building Bullet? I build on ubuntu 10.10 and typically do the following,

1. mkdir build // at the top level Bullet directory
2. cd build
3. cmake ..
4. make

I just did this with Bullet v2.80 and it worked without any problems (although it's possible that I have already ironed out any issues earlier). If you are missing required packages they should result as errors in the 3rd step above.

-Josh
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Re: installation on linux

Post by Erwin Coumans »

It looks like the installer tries to use OpenCL. OpenCL is not tested under Linux so we should disable it by default.
Did you enable OpenCL support?

Thanks,
Erwin