Examples use <bt...h>. I wonder if I can use <bullet/bt...h> to omit the need to add -I/usr/include/bullet (and use standard /usr/include).
Thanks.
Should I #include <bullet/bt...h> or <bt...h>?
-
- Posts: 1
- Joined: Tue Mar 06, 2007 10:46 am
-
- Posts: 145
- Joined: Tue Oct 30, 2007 9:23 pm
Re: Should I #include <bullet/bt...h> or <bt...h>?
Historically, -I added stuff to the user include path, so you'd technically want to use #include "btStuff.h". That's what I do, but bullet's source is actually included in my project and built at the same time as the rest of the project.
If you've really got it installed in /usr/local/, and you intend to distribute the source for other people who do the same, #include <bullet/btStuff.h> is probably the better bet.
Gary (-;
If you've really got it installed in /usr/local/, and you intend to distribute the source for other people who do the same, #include <bullet/btStuff.h> is probably the better bet.
Gary (-;