falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.55k stars 144 forks source link

make wine32 failed #1837

Closed tramchamploo closed 7 months ago

tramchamploo commented 7 months ago

Without libstdc++-13-dev:i386 this shows:

make[1]: [Makefile:259: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2 make[1]: Waiting for unfinished jobs.... In file included from ../includes/CarlaDefines.h:89, from JackBridge.hpp:32, from JackBridgeExport.hpp:17, from JackBridge3.cpp:17: /usr/include/c++/13/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory

After installing libstdc++-13-dev:i386, the output turns to be:

Linking jackbridge-wine32.dll.so /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/13/libstdc++.so when searching for -lstdc++ /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/13/libstdc++.a when searching for -lstdc++ /usr/bin/ld: cannot find -lstdc++: No such file or directory /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/13/libstdc++.so when searching for -lstdc++ collect2: error: ld returned 1 exit status winegcc: /usr/bin/gcc failed

I follow the procedures in INSTALL.md. make win32/win64/wine64 is all good. Enable wine bridges is blocked with an installation without wine32. I'm using wine-devel and I changed jackbridge Makefile to include its libs.