Can't get basic HelloWorld example to compile
Posted: Wed Feb 29, 2012 3:59 am
Hi,
I can't get the HelloWorld example from the wiki to compile, because it can't find the headers. I don't think it's (only) a problem with my path, because I can't find the headers myself...
I followed the directions here: http://bulletphysics.org/mediawiki-1.5. ... ake_Recipe
After running "sudo make install", I saw "Installing /usr/local/lib/pkgconfig/bullet.pc" toward the end of the output. So, I looked at that file to see the flags that I would need to set when compiling the HelloWorld demo via gcc. This file contains the following line, among other things:
However, /usr/local/include/bullet/ does not exist on my system:
I downloaded bullet-2.79-rev2440.tgz from here, if that makes any difference.
Does anyone know what could be causing this problem?
Thanks.
I can't get the HelloWorld example from the wiki to compile, because it can't find the headers. I don't think it's (only) a problem with my path, because I can't find the headers myself...
I followed the directions here: http://bulletphysics.org/mediawiki-1.5. ... ake_Recipe
After running "sudo make install", I saw "Installing /usr/local/lib/pkgconfig/bullet.pc" toward the end of the output. So, I looked at that file to see the flags that I would need to set when compiling the HelloWorld demo via gcc. This file contains the following line, among other things:
Code: Select all
Cflags: -I/usr/local/include/bullet/
Code: Select all
$ sudo ls /usr/local/include/bullet/
ls: cannot access /usr/local/include/bullet/: No such file or directory
Does anyone know what could be causing this problem?
Thanks.