Physics Simulation Forum

 

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: installation on linux
PostPosted: Thu Jun 28, 2012 3:28 am 
Offline

Joined: Thu Jun 28, 2012 3:24 am
Posts: 3
Hello forum,

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

Code:
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


Top
 Profile  
 
PostPosted: Thu Jun 28, 2012 11:08 pm 
Offline

Joined: Fri Jan 06, 2012 1:04 pm
Posts: 7
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


Top
 Profile  
 
PostPosted: Fri Jun 29, 2012 1:25 am 
Offline
Site Admin
User avatar

Joined: Sun Jun 26, 2005 6:43 pm
Posts: 3746
Location: California, USA
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group