idmillington / cyclone-physics

The Physics engine that accompanies the book "Game Physics Engine Design"
MIT License
946 stars 265 forks source link

Examples can be run on Ubuntu 14.04 LTS 64-bit #30

Closed ButchDean closed 10 years ago

ButchDean commented 10 years ago

When using the default make file I was unable to build the example for Ubuntu, there were unresolved references and other issues. I separated out that I know works under Ubuntu and made the appropriate source code changes to link correctly to the OpenGL libs and source includes.

The original makefile should still be useful for Mac.

idmillington commented 10 years ago

It would be better to tell the compiler that the include directory is in its set of include paths, rather than all the conditional includes with relative file paths. That makes the files unduly complex, I think.

ButchDean commented 10 years ago

Sure, I'll look into correcting that.

ButchDean commented 10 years ago

All updated and generally improved as per your requirements.

idmillington commented 10 years ago

Thank you so much for sticking with this and making these changes. I'm merging now.

ButchDean commented 10 years ago

No problem at all. Thank you for the great book and the merge!