Closed Venemo closed 5 years ago
Take a look at the log you posted. You are using the mingw compiler and you are searching for the header provided by wine. You should look into the documentation more closely. You need to specify the crossfile intended for wine.
Where is it looking for Wine headers? Looks more like his MinGW is outdated.
OP commented that used find to look for dxgi1_4.h. His mingw is based in gcc 8.3.0 based on the log. He is lacking the mingw headers though.
Thanks for the quick reply. It is not evident to me from the log what is missing, otherwise I would not have opened this issue. Also, which documentation should I look at? I read "Building DLLs - the simple way".
In other words, which devel packages do I need? Thanks again, and sorry if this is trivial to you.
Also, the documentation is quite confusing, it looks like a carbon copy of the DXVK documentation (in some places not even the project name is replaced).
From the log you posted you can see that the crosscompiler in use is mingw:
Native C compiler: cc (gcc 9.0.1 "cc (GCC) 9.0.1 20190312 (Red Hat 9.0.1-0.10)") Cross C compiler: x86_64-w64-mingw32-gcc (gcc 8.3.0) Native C++ compiler: c++ (gcc 9.0.1 "c++ (GCC) 9.0.1 20190312 (Red Hat 9.0.1-0.10)") Cross C++ compiler: x86_64-w64-mingw32-g++ (gcc 8.3.0)
You mention that you have installed wine-devel
, but you have not specified the --winelib
option as mentioned in the documentation.
[Timur@timur-xps d9vk]$ ./package-release.sh master build --no-package
A winelib build can be created by adding the --winelib argument.
So, you have two choices, you can either build the winelib version, in which case you have to specify it in your command line as stated in the README or you can build it using the mingw compiler and you have to satisfy the header requirements by installing the relevant package from your distribution. The name of said package can vary between distributions and you have to find out how it is named for your distro.
Not my issue. Update MinGW.
Thanks @loathingKernel yes --winelib
was the answer.
I'm running Fedora 30, I installed
wine-devel
and all other dependencies, but I get an error about a missing header file:However the file installed as part of
wine-devel
:Either the header file is located at the wrong place on my system, or the include paths are set up incorrectly.
Full build log: