It is possible to compile in CentOS 8 with Wine (4-staging) from EPEL. If I use Wine 5.4-staging (manually installed) I get ‘u_short errors’.
Here is my Ardour log from Ubuntu 18.04 (ardevst compiled with the instructions in this thread):
2020-03-20T14:15:13 [INFO]: --- Windows VST plugins Scan: /home/user/.wine/drive_c/Program Files/Native Instruments/VSTPlugins 64 bit:/home/user/.wine/drive_c/Program Files/Vstplugins:/home/user/.wine/drive_c/Program Files/Steinberg/VSTPlugins:/usr/local/lib/vst:/usr/lib/vst
2020-03-20T14:15:13 [INFO]: * /home/user/.wine/drive_c/Program Files/Native Instruments/VSTPlugins 64 bit/Kontakt.dll - x64 (64-bit)
2020-03-20T14:15:14 [INFO]: -> Cannot get Windows VST information, plugin ignored.
2020-03-20T14:15:14 [INFO]: * /home/user/.wine/drive_c/Program Files/Vstplugins/SINE Player.dll - x64 (64-bit)
2020-03-20T14:15:14 [INFO]: -> Cannot get Windows VST information, plugin ignored.
2020-03-20T14:15:14 [INFO]: * /home/user/.wine/drive_c/Program Files/Steinberg/VSTPlugins/Pianoteq 6 STAGE (64-bit).dll - x64 (64-bit)
2020-03-20T14:15:14 [INFO]: -> Cannot get Windows VST information, plugin ignored.
2020-03-20T14:15:14 [INFO]: --- Windows VST plugins Scan Done
SINE Player.dll works well with LinVst and Ardour 5.12. But I’ve only tested with Wine 5.3 and 5.4 (staging).
update:
Now I’ve tried the same way with Ardour 6 in CentOS 8 with Wine 5.4-staging. I can compile with @peder’s fix:
sed -i '513i#ifndef USE_WS_PREFIX' /usr/include/wine/windows/winsock.h
sed -i '550i#endif /* USE_WS_PREFIX */' /usr/include/wine/windows/winsock.h
When I do a Windows VST scan, I get the same output in the Ardour log:
Cannot get Windows VST information, plugin ignored.
Everything else I’ve been able to test works just as well from ./ardevst (compared to my Ardour 5.12) (midi-keyboard, Pianoteq LV2, calf-plugins, etc.).