Compiling 4.40

Posted by Larkin on Wed 25 Mar 2009 08:49 PM — 4 posts, 16,836 views.

#0
Hi, Nick!

I'm trying to compile the 4.40 source (because something I scripted is causing the whole client to hang, so I want to try and debug it), and I have no idea where to get codecs.h. Tried installing the latest DirectX SDK, but that doesn't have it. Do I need an older version of DirectX or some other SDK?

Thanks.
Australia Forum Administrator #1
I assume you have Visual Studio installed? You need that for the MFC libraries.

I found codecs.h as part of the install, in Microsoft Visual Studio -> VC98 -> Include.

#2
I'm using Visual Studio 2005, and I don't have codecs.h. Maybe I just didn't install some optional part?
Australia Forum Administrator #3
Remove the line that includes codecs.h

I got it to compile without it. :)