Is there a copy of the 3rd party libraries compiled for VS2013?
As instructed in the readme file, I installed the latest version of the code and the 3rd party libraries. It's more than that though, there are also a few code changes required as discussed in this post:
mcshaffry.com/GameCode/thread.…hilight=&hilightuser=2059
> From there I just had to rebuild the 3rd party libraries
That's the stumbling block. The 3rd party libraries are not trivial and neither is compiling them. In particular, the Bullet SDK is large and requires CMAKE which, at least in my experience, never works quite as advertised and produces annoyingly cryptic errors. I don't really have the time or interest to bother with the Bullet SDK. I'd prefer to avoid rebuilding Bullet but I can't because:
> error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800' in Editor.obj
That linker error, unless I'm wrong, is because I'm using Visual Studio 2013 Pro but Editor.obj was compiled with VS2012. I really don't want to install 2012 Express (or worse, 2010) just for this book. I also really don't want to wrestle with a bunch of 3rd party code that I'll probably never use again (Bullet 2.79, DXUT).
The introduction of the book states that a CD is not included because that would preclude fixes. This is a great theory as long as fixes are actually made. Mike and Rez, are you really still using VS2010? If so, VS2013 finally has some decent C++11 support so it might be time to consider upgrading. With DX12 coming soon, dropping support for DX9 and the deprecated DX9 SDKs is probably also justified. As I'm sure you're aware, there's no need to upgrade to Windows 8 because the 8.1 SDK works fine on Windows 7.
Forgive me if I sound snotty, I am simply frustrated after spending far too long on this and still not having the code compiling. Getting Bullet to compile is not trivial, at least not for my impatient little brain. If this has been discussed in a previous forum post, I can't find it and sure would appreciate a link.
On a side note, thank you for getting rid of the Boost dependency. While it may be a fine library for some needs, avoiding that behemoth certainly keeps things much simpler.
Also, having been a game developer even longer than Mike, let me say that overall I'm happy with the book. No matter how experienced a coder is, there's always more to learn and this books has already given me some insights beyond just seeing how "the other guys" do things.
If I sound snotty maybe it's because I still hold a bit of a grudge. It was years ago but I still don't like UO because its release was the final straw that caused a game I was particularly excited about to get canceled. Although to be fair, that project was having problems anyways so I can't really blame it on Mike.
As instructed in the readme file, I installed the latest version of the code and the 3rd party libraries. It's more than that though, there are also a few code changes required as discussed in this post:
mcshaffry.com/GameCode/thread.…hilight=&hilightuser=2059
> From there I just had to rebuild the 3rd party libraries
That's the stumbling block. The 3rd party libraries are not trivial and neither is compiling them. In particular, the Bullet SDK is large and requires CMAKE which, at least in my experience, never works quite as advertised and produces annoyingly cryptic errors. I don't really have the time or interest to bother with the Bullet SDK. I'd prefer to avoid rebuilding Bullet but I can't because:
> error LNK2038: mismatch detected for '_MSC_VER': value '1700' doesn't match value '1800' in Editor.obj
That linker error, unless I'm wrong, is because I'm using Visual Studio 2013 Pro but Editor.obj was compiled with VS2012. I really don't want to install 2012 Express (or worse, 2010) just for this book. I also really don't want to wrestle with a bunch of 3rd party code that I'll probably never use again (Bullet 2.79, DXUT).
The introduction of the book states that a CD is not included because that would preclude fixes. This is a great theory as long as fixes are actually made. Mike and Rez, are you really still using VS2010? If so, VS2013 finally has some decent C++11 support so it might be time to consider upgrading. With DX12 coming soon, dropping support for DX9 and the deprecated DX9 SDKs is probably also justified. As I'm sure you're aware, there's no need to upgrade to Windows 8 because the 8.1 SDK works fine on Windows 7.
Forgive me if I sound snotty, I am simply frustrated after spending far too long on this and still not having the code compiling. Getting Bullet to compile is not trivial, at least not for my impatient little brain. If this has been discussed in a previous forum post, I can't find it and sure would appreciate a link.
On a side note, thank you for getting rid of the Boost dependency. While it may be a fine library for some needs, avoiding that behemoth certainly keeps things much simpler.
Also, having been a game developer even longer than Mike, let me say that overall I'm happy with the book. No matter how experienced a coder is, there's always more to learn and this books has already given me some insights beyond just seeing how "the other guys" do things.
If I sound snotty maybe it's because I still hold a bit of a grudge. It was years ago but I still don't like UO because its release was the final straw that caused a game I was particularly excited about to get canceled. Although to be fair, that project was having problems anyways so I can't really blame it on Mike.