https://bugs.winehq.org/show_bug.cgi?id=47471
--- Comment #52 from Steve Ebey eaglecomputers.ok@gmail.com --- (In reply to Sveinar Søpler from comment #51)
(In reply to Steve Ebey from comment #50)
ok, new twist. I do a fresh pull of wine and wine-staging git, and without applying the patch, try to compile, and it dies during compilation, with same message about missing reference. I have tested for the right vkd3d.h with your grep test, and it is there. I have removed the distro version, built vkd3d from git source, and updated the library files with ldtool. i am at a loss as to how to proceed now.
Well, there is no indication that d3d12 is touched in wine or wine-staging, so i very much doubt you are running a "clean git". By saying "doing i fresh pull" i MUST assume you are doing a "git clone https://github.com/wine-mirror/wine.git" to a completely empty folder, and not just doing a "pull". (If you have patched files in YOUR local git tree, doing a pull does not replace, unless you go through some hoops of git reset --hard upstream/master and the likes.)
Yeah, you can reset your local git folder in many ways, but if you have "tainted" your local folder by adding patches, the easiest approach when having errors that should not be there is to just simply delete the folder and do a new clone. Unless ofc you have loads of work in local branches and such ofc. Then clone it in a different temp folder of your choosing.
I have not tested the patches on GIT tho, so if you aim to have the same experience as i have, you could also just download the wine-4.20 release and wine-staging-4.20 release file.
clear echo Cleanup and fresh download of repositories needed rm -fr wine rm -fr wine-staging echo WineHQ Devel Source Git git clone https://github.com/wine-mirror/wine.git echo Unoffical Wine Staging Git git clone https://github.com/wine-staging/wine-staging.git cd wine-staging echo Working in $(pwd) ./patches/patchinstall.sh DESTDIR="../wine" --all cd ~/wine-dirs echo this is the end, if no errors were presented, then compile and enjoy