Hello, I have just purchased the third edition (it will arrive tomorrow) and I was trying to get my visual studio set up so that I am ready to jump right into the book once it comes, however I am having some problems.
First, when trying to compile the source code I received an error that dxerr9.h was missing. I did a google search and found that with the newest release of DirectX SDK, dxerr9.h was removed, and dxerr.h is used instead. Now after I changed that, the compiler gave me a ton of lua errors (both VS2008 and VS2005). I looked through a bunch of threads in this forum about that and was able to get past those errors by using the code in the svn listed under the "test" section, rather than the main source section.
Edit: There are no build errors in my compile log now, however there are 58 warnings from libbulletcollision_d.lib. I would also like to add that sometimes when building (actually seems to be 4/5 times now) that after all of the bulletcollision errors, Microsoft Incremental Linker crashes, and then the compile fails completely.
Also, for some reason when I try to open EditorApp.exe, it immediately crashes. And when I run TeapotWarsd.exe, the physics seem really messed up and after moving for a few seconds my teapot flies off of the grid and starts spinning wildly. I don't know if this has to do with all of the bulletphysics warnings mentioned above or not.
Also I am using Windows 7 Home premium 64bit if that helps.
Any help would be appreciated greatly,
Thanks
First, when trying to compile the source code I received an error that dxerr9.h was missing. I did a google search and found that with the newest release of DirectX SDK, dxerr9.h was removed, and dxerr.h is used instead. Now after I changed that, the compiler gave me a ton of lua errors (both VS2008 and VS2005). I looked through a bunch of threads in this forum about that and was able to get past those errors by using the code in the svn listed under the "test" section, rather than the main source section.
Edit: There are no build errors in my compile log now, however there are 58 warnings from libbulletcollision_d.lib. I would also like to add that sometimes when building (actually seems to be 4/5 times now) that after all of the bulletcollision errors, Microsoft Incremental Linker crashes, and then the compile fails completely.
Also, for some reason when I try to open EditorApp.exe, it immediately crashes. And when I run TeapotWarsd.exe, the physics seem really messed up and after moving for a few seconds my teapot flies off of the grid and starts spinning wildly. I don't know if this has to do with all of the bulletphysics warnings mentioned above or not.
Also I am using Windows 7 Home premium 64bit if that helps.
Any help would be appreciated greatly,
Thanks
The post was edited 6 times, last by Junlee ().