How to Install WineAsio?

I’ve followed step by step tutorial on https://github.com/wineasio/wineasio
I have KDE Plasma
I can’t find out how:
To install 64bit WineASIO (substitute with the path to the 64-bit wine libs for your distro).

sudo cp build64/wineasio64.dll /usr/lib/x86_64-linux-gnu/wine/x86_64-windows/
sudo cp build64/wineasio64.dll.so /usr/lib/x86_64-linux-gnu/wine/x86_64-unix/

I can’t use these commands because the directory can’t be found. (I’ve tried finding the location of those folders inorder to place wineasio64.dll and wineasio64.dll.so in them, but i can’t find them anywhere.
Please help.

yay -S wineasio
4 aur/wineasio-git 1.2.0.r8.g6529641-1 (+7 0.10) 
    ASIO driver implementation for Wine
3 chaotic-aur/wineasio-git 1.2.0.r8.g6529641-1 (47.4 KiB 281.0 KiB) 
    ASIO driver implementation for Wine
2 chaotic-aur/wineasio 1.2.0-7 (48.6 KiB 301.3 KiB) 
    ASIO driver implementation for Wine
1 aur/wineasio 1.2.0-7 (+57 0.01) 
    ASIO driver implementation for Wine

Always check the repos and aur first.

AUR Explicit (1): wineasio-1.2.0-7
:: PKGBUILD up to date, skipping download: wineasio
1 wineasio (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 1
:: Deleting (1/1): /home/apple/.cache/yay/wineasio
HEAD is now at 9e4da95 bump pkgrel, update license
warning: could not open directory ‘pkg/’: Permission denied
Removing pkg/
Removing src/
Removing wineasio-1.2.0.tar.gz
1 wineasio (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 4
==> Making package: wineasio 1.2.0-7 (Wed 17 Jul 2024 14:44:03 CEST)
==> Retrieving sources…
→ Downloading wineasio-1.2.0.tar.gz…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 238k 100 238k 0 0 92586 0 0:00:02 0:00:02 --:–:-- 189k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums…
wineasio-1.2.0.tar.gz … Passed
:: (1/1) Parsing SRCINFO: wineasio
==> Making package: wineasio 1.2.0-7 (Wed 17 Jul 2024 14:44:07 CEST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Found wineasio-1.2.0.tar.gz
==> Validating source files with sha256sums…
wineasio-1.2.0.tar.gz … Passed
==> Removing existing $srcdir/ directory…
==> Extracting sources…
→ Extracting wineasio-1.2.0.tar.gz with bsdtar
==> Starting prepare()…
==> Sources are ready.
==> Making package: wineasio 1.2.0-7 (Wed 17 Jul 2024 14:44:08 CEST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> WARNING: Using existing $srcdir/ tree
==> Starting build()…
make build ARCH=i386 M=32
make[1]: Entering directory ‘/home/apple/.cache/yay/wineasio/src/wineasio-1.2.0’
gcc -c -I. -Irtaudio/include -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 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m32 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Werror=implicit-function-declaration -O2 -DNDEBUG -fvisibility=hidden -o build32/asio.c.o asio.c
gcc -c -I. -Irtaudio/include -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 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m32 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Werror=implicit-function-declaration -O2 -DNDEBUG -fvisibility=hidden -o build32/main.c.o main.c
gcc -c -I. -Irtaudio/include -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 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m32 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Werror=implicit-function-declaration -O2 -DNDEBUG -fvisibility=hidden -o build32/regsvr.c.o regsvr.c
winebuild -m32 --dll --fake-module -E wineasio.dll.spec build32/asio.c.o build32/main.c.o build32/regsvr.c.o -o build32/wineasio32.dll
winegcc build32/asio.c.o build32/main.c.o build32/regsvr.c.o -shared -m32 -mnocygwin wineasio.dll.spec -L/usr/lib32/wine -L/usr/lib/wine -L/usr/lib/i386-linux-gnu/wine -L/usr/lib/i386-linux-gnu/wine-development -L/opt/wine-stable/lib -L/opt/wine-stable/lib/wine -L/opt/wine-stable/lib32 -L/opt/wine-stable/lib32/wine -L/opt/wine-staging/lib -L/opt/wine-staging/lib/wine -L/opt/wine-staging/lib32 -L/opt/wine-staging/lib32/wine -ljack
-lodbc32 -lole32 -lwinmm -luuid -o build32/wineasio32.dll.so
/usr/bin/ld: cannot find -lodbc32: No such file or directory
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/gcc failed
make[1]: *** [Makefile.mk:110: build32/wineasio32.dll.so] Error 2
make[1]: Leaving directory ‘/home/apple/.cache/yay/wineasio/src/wineasio-1.2.0’
make: *** [Makefile:17: 32] Error 2
==> ERROR: A failure occurred in build().
Aborting…
→ error making: wineasio-exit status 4
→ Failed to install the following packages. Manual intervention is required:
wineasio - exit status 4

This is the error I get.

There is a precompiled version in the chaotic-aur repo, the page for the aur version seems to point to a linker issue:

https://aur.archlinux.org/packages/wineasio

Sorry If it sounds stupid, I’m not the best when It comes to linux
When you say “chaotic-aur repo” does it mean i have to use another command instead?

sudo pacman -U https://builds.garudalinux.org/repos/chaotic-aur/x86_64/wineasio-1.2.0-7-x86_64.pkg.tar.zst

Chaotic is Garuda’s prebuilt aur repo, google it. The above command should work to install the pre-compiled binary from Chaotic.
(can’t test as it wants to install stuff I don’t want :smiley: ).