View Full Version : Building MPC-HC
ByeByeBluRay
18th January 2009, 23:29
I still haven't been able to build MPC-HC with VS2008.
I've copied in the DirectShow base class stuff from the Platform SDK, installed DirectX from June 2007, installed MinGW32 to build the libavcodec, and have set up paths to this lot in VS2008, but I still have a couple of issues to sort out -
What did you guys do about the missing atl stuff in VS2008? I tried using the Open Source ATL Server code, but I get errors with structure redefinitions (_RTL_USER_PROCESS_PARAMETERS and _PEB_LDR_DATA)
I also have a missing file error for version.h, included from minidump.cpp
Any help would be much appreciated.
Thanks
BBBR
Casimir666
19th January 2009, 19:00
I had this error after the installation of the "Windows 7 SDK", but in your case it could be an include path conflict with the Plateform SDK.
wozio
20th January 2009, 08:19
About missing version.h, build release first. Checking repository revision is done only for release builds and version.h is created then if missing.
ByeByeBluRay
20th January 2009, 11:21
I had this error after the installation of the "Windows 7 SDK", but in your case it could be an include path conflict with the Plateform SDK.
I think I may have quite a new version of the SDK too - I'll try going back to an older one and see if it fixes it. Thanks
BBBR
ByeByeBluRay
20th January 2009, 11:25
About missing version.h, build release first. Checking repository revision is done only for release builds and version.h is created then if missing.
Thanks for that - I've only done debug builds so that would explain it.
BTW, I came across a file in the mplayerc folder last night called INSTALL.en which had some instructions - it may be an idea to put that somewhere more prominent, and name it something more likely to attract attention!
BBBR
wozio
20th January 2009, 15:50
I compiled it successfully with windows sdk 6.1 and directx sdk from august 2007. Also I didn't need mingw for libavcodec, maybe it was already compiled in svn?
With vs2005 pro.
ByeByeBluRay
21st January 2009, 10:39
I compiled it successfully with windows sdk 6.1 and directx sdk from august 2007. Also I didn't need mingw for libavcodec, maybe it was already compiled in svn?
With vs2005 pro.
I finally got it built last night with VS2008 but I had to go back to Windows SDK 6.0 , using 6.1 gave me the redefinition issue.
With Microsoft dropping support for various things, and moving headers around, at some point I guess the project will have to be cleaned up and moved fully to DX9.
It would also be good to get rid of the need to add global include paths in VS. The ones I needed to add for MPC-HC are completely wrong for all my other projects...
stax76
2nd February 2009, 23:52
Thanks for the hint, I'll install the 6.0 then instead of 6.1.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.