theNizo / linux_rocksmith

Guides to get Rocksmith 2014 running on Linux
https://thenizo.github.io/linux_rocksmith/
GNU General Public License v3.0
100 stars 10 forks source link

Error while compiling wineasio: objbase.h: No such file or directory #47

Open Matth3wW opened 3 months ago

Matth3wW commented 3 months ago

make build ARCH=i386 M=32 make[1]: Entering directory '/home/matthew/Desktop/1/wineasio-master' 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 -m32 -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -Werror=implicit-function-declaration -D_REENTRANT -O2 -DNDEBUG -fvisibility=hidden -o build32/asio.c.o asio.c asio.c:44:10: fatal error: objbase.h: No such file or directory 44 | #include "objbase.h" | ^~~ compilation terminated. make[1]: [Makefile.mk:102: build32/asio.c.o] Error 1 make[1]: Leaving directory '/home/matthew/Desktop/1/wineasio-master' make: [Makefile:17: 32] Error 2

theNizo commented 2 months ago

I tried it on a freshly set up Fedora 40 VM, normal wine (no staging).

I'm going to try to set up a VM that's closer to your setup. (I think I read the issue yesterday and tested today, therefore a vague memory of your setup)

The instructions for modifying the Makefile were confusing or wrong. I'm gonna figure that out. Modifying myself didn't work for one of these reasons.

Using the Makefile provided in the guide worked.

theNizo commented 2 months ago

Cannot replicate, because I get a different error.


Nobara 39, packages used:

gcc make glibc-devel.i686 pipewire-jack-audio-connection-kit-devel.i686 pipewire

Wine Packages: The x86 and x64 packages of wine-staging-devel conflict with each other, so I tried one at a time.