I was wanting to modify the DCX dll from its source,
using VS C++ 2012
I had to make 3 changes in order for it to compile.
1.
Removed:
#ifdef DCX_USE_DXSDK #include <Dxsdkver.h>
Reason: fatal error C1083: Cannot open include file: 'Dxsdkver.h': No such file or directory
I read that this wasn't required:
You should remove the reference to dxsdkver.h. All it contained were the following #defines:
_DXSDK_PRODUCT_MAJOR
_DXSDK_PRODUCT_MINOR
_DXSDK_BUILD_MAJOR
_DXSDK_BUILD_MINOR
2. Since I don't have github installed, i couldn't run the batch file to get the version numbers, so
i set them from
#define DLL_VERSION GIT_DESCRIBE #define DLL_BUILD GIT_HASH #define DLL_DEV_BUILD 24
to:
#define DLL_VERSION "2.0.1120" #define DLL_BUILD 1 #define DLL_DEV_BUILD 24
didn't figure this would make a difference.
3.
post-build events, removed $UPX packager in previous directory.
It compiles successfully. i did a file comparison on the dependencies from PE explorer
and they are identical.
when I try to load the dll, i get:
/dll: unable to open file
any ideas on how i might go about fixing this?