Hi,
I've just included bullet into our build environment (which was suprisingly easy, thanks for having a makefile.am in place), and while I haven't had a problem yet, I am wondering if there is a list of #ifdef's that are necessary for compilation. I.e. in your build environment (configure/jam) what symbols are -D defined? I just want to make sure that I pass on the necessary ones.
I did a grep for ifdef/ifndef/defined,and found __APPLE__ , WIN32, __MINGW32__, __CYGWIN__, _MSC_VER, __sun (and variations) - all of which I assume are set with the normal configure process. Just to make sure that there aren't any other symbols I have to take care of (might be worth documenting this somewhere, since it is the recommended way to include bullet in the project's build environment).
Cheers,
Joerg
automake support
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: automake support
Hi,
You don't need to set any build-flags, indeed the platform defines should be compiler built-in.
By default, Bullet uses single floating point precision, so you don't need a build flag for that. Other configurations can be chosen at run-time (multi-threading, different collision algorithms, memory sizes etc).
Hope this helps,
Erwin
You don't need to set any build-flags, indeed the platform defines should be compiler built-in.
By default, Bullet uses single floating point precision, so you don't need a build flag for that. Other configurations can be chosen at run-time (multi-threading, different collision algorithms, memory sizes etc).
Hope this helps,
Erwin
-
- Posts: 83
- Joined: Tue Oct 24, 2006 11:52 pm
- Location: Australia
Re: automake support
Hi Erwin,
thanks - yes, that helps. I just wanted to make sure that I am not missing anything in my build environment, after I moved from your jam to my configure/makefile. Finding a problem later caused by an error in the compiler settings or so would be rather difficult.
Thanks!
Joerg
thanks - yes, that helps. I just wanted to make sure that I am not missing anything in my build environment, after I moved from your jam to my configure/makefile. Finding a problem later caused by an error in the compiler settings or so would be rather difficult.
Thanks!
Joerg