Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double precision determination fails. #23

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments
Open

Double precision determination fails. #23

GoogleCodeExporter opened this issue Mar 14, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

VS 2012 issue. osgBullet's CMake does a try_compile for this check, but the 
compile / link fails regardless of being built for double- or single-precision 
Bullet. The root cause of the failure is that VS 2012 doesn't allow mixed usage 
of the C runtime libraries, and apparently previous versions of VS allowed this.

Workaround: go back to Bullet's CMake, set USE_MSVC_RUNTIME_LIBRARY_DLL to ON, 
and rebuild Bullet.

I'm not quite sure how we'd automatically determine whether Bullet was built 
with /MD or /MT, but I'm guessing we could do another try_compile specifically 
for that, then adjust the double precision try_compile to use the appropriate 
version of the runtime libraries.

Original issue reported on code.google.com by [email protected] on 2 Jun 2013 at 8:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant