I’m trying to build WineASIO on fedora 44. I have wine install from fedora packages - not wineHQ. Its working fine with the windows apps I’ve tried.
Staging11.0
I’m trying to build WineAsio but it’s not finding wine .h files.
I installed wine-devel but still can’t find any include files.
Wine asio is looking at the following locations
-I/usr/include/wine
-I/usr/include/wine/windows
-I/usr/include/wine-development
-I/usr/include/wine-development/wine/windows
-I/opt/wine-stable/include
-I/opt/wine-stable/include/wine/windows
-I/opt/wine-staging/include
-I/opt/wine-staging/include/wine/windows
Any ideas?
As you are building software it is usual for you to need to install some devel packages.
In this case I’d guess you need wine-devel.
Have you checked to see if any/all of those directories exist and if the .h files are there?
Dnf tells me the directory /usr/include/wine (and its content) is provided by the wine-devel package
$ sudo dnf rq --provides /usr/include/wine\*
Updating and loading repositories:
Repositories loaded.
wine-devel = 11.0-3.fc44
wine-devel(x86-32) = 11.0-3.fc44
wine-devel(x86-64) = 11.0-3.fc44
Note there are 3 different wine-devel packages and each may contain different content.
have this one wine-devel = 11.0-3.fc44
There will be after you sudo dnf install wine-devel.
Check the info and reinstall the wine-devel package if those .h files are not installed
$ sudo dnf info wine-devel
Updating and loading repositories:
Repositories loaded.
Available packages
Name : wine-devel
Epoch : 0
Version : 11.0
Release : 3.fc44
Architecture : i686
Download size : 7.6 MiB
Installed size : 121.5 MiB
Source : wine-11.0-3.fc44.src.rpm
Repository : fedora
Summary : Wine development environment
URL : https://www.winehq.org/
License : LGPL-2.1-or-later
Description : Header, include files and library definition files for developing applications
: with the Wine Windows(TM) emulation libraries.
Vendor : Fedora Project
Name : wine-devel
Epoch : 0
Version : 11.0
Release : 3.fc44
Architecture : x86_64
Download size : 9.0 MiB
Installed size : 164.7 MiB
Source : wine-11.0-3.fc44.src.rpm
Repository : fedora
Summary : Wine development environment
URL : https://www.winehq.org/
License : LGPL-2.1-or-later
Description : Header, include files and library definition files for developing applications
: with the Wine Windows(TM) emulation libraries.
Vendor : Fedora Project
Got it working thanks, need to remove winehq repo