linux_rocksmith icon indicating copy to clipboard operation
linux_rocksmith copied to clipboard

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

Open Matth3wW opened this issue 1 year ago • 2 comments

  • Which distro do you use? Nobara 39 (modified Fedora 39)
  • Which Proton or wine version do you use? Wine-9.9 (Staging)
  • Do you use pipewire? Yes
  • What appears to be the problem? (Describe it as best as you can) When running make 32 or make 64, the following error is displayed:

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

  • Did you notice any other unexpected behavior? No
  • What did you try already? Reinstalled wine-staging
  • Did you do any of the steps differently or leave them out? Nobara uses the winehq repo, so I changed sudo dnf install -y gcc make glibc-devel.i686 wine wine-devel.i686 wine-devel.x86_64 ... to sudo dnf install -y gcc make glibc-devel.i686 winehq-staging.x86_64 ...

Matth3wW avatar Jun 19 '24 18:06 Matth3wW

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 avatar Jul 06 '24 14:07 theNizo

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.

  • wine-staging.x86_64 wine-staging-devel.i686: starts with a different error: "cannot find -ljack: no such file or directory"
  • wine-staging.x86_64 wine-staging-devel.x86_64: compiled
  • wine-staging.i686 wine-staging-devel.i686: same error

theNizo avatar Jul 09 '24 15:07 theNizo

Is this issue still up to date?

theNizo avatar Jan 21 '25 18:01 theNizo

Closing because of no further interaction. If you still want help with this, we can reopen it of course.

theNizo avatar Feb 12 '25 16:02 theNizo