-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deviare DB cannot be rebuilt #28
Comments
As a quick fix, would it work to |
I'll give that a try and report back. BTW, VS2017 also can not rebuild the DB. The problems are different, and include a number of broken header files in the SDK 10.0. Probably worth waiting on that until 2017 is more complete. |
Adding that #define to the start of the preprocessed32W.h file does work to remove all of the deprecated errors. This is using \Windows Kits\8.1 for the header files, instead of the \Windows Kits\10.0 There are still a handful of errors as:
Mostly I'm not worried about missing a few of those calls in the DB, so commenting them out is an OK temporary solution. |
With a bit of manual trickery, setting the Include path for cl, I forced it to use the \Windows Kits\8.0 This is older of course, and not necessarily what people would want. We have to use the 8.0 headers for our 3Dmigoto tool. Running the build32.bat full, and build64.bat full, and then build_db32.bat, that still fails with a handful of the same errors:
These are actually easy enough to fix, the processing created a function like:
Which doesn't make sense of course. If I change that in the preprocessed32W.h file to long double then it works. Don't know if this is helpful, but thought the extra details might help someone. |
Always possible I'm doing something wrong, but I'm getting fatal errors when trying to rebuild the DB.
I wanted access to the d3d9.dll!SetRenderState function. As near as I can tell, that function is missing from the DB that ships with 2.8.3. If I use the DbFunctions call, I do not find that function in the returned list.
Trying to limit the function list to just the d3d9.dll module, I get an AccessViolation exception when I try to fetch the functions for that module. Not sure if this is related, but it seemed odd.
Searching the entire function list for a partial name match of "SetRender" did not show any results, which makes me think it is missing.
Then took a look at rebuilding the DB with current header files. As near as I can tell, this is not currently possible.
The documentation suggests using a zip file that is not available, but seems to be clearly related to the other tools in the Database folder. Running the build32.bat full and build64.bat full generated the expected preprocessed*.h files.
However, running the DbBuilder/build_32.bat against those files gives 60 or so errors.
This error appears to happen because the gcc compiler used for building the DB is old, and does not support parameters for the 'deprecated' attribute. For example:
It's not the double quotes, it's the entire string parameter it does not like.
There are a handful of other errors as well.
Not sure this is helpful, but thought I'd report it as not working with Visual Studio 2013, and SDK 8.1 headers. As noted, I cannot be certain I setup or built this all correctly.
The text was updated successfully, but these errors were encountered: