falkTX / Carla

Audio plugin host
https://kx.studio/carla
1.62k stars 146 forks source link

[SOLVED] FAIL to compile on Kubuntu 22.04.3 LTS #1900

Open juanpc2018 opened 4 months ago

juanpc2018 commented 4 months ago

2.5.8 posix32 & wine32 fail to compile in Kubuntu 22.04.3 LTS Clean install 2.5.7 compiled in 22.04.1 LTS. 2.5.8 compiled almost perfect on 22.04.1 LTS see comment:

libqt4-dev is missing in 22.04.x LTS FFmpeg 7:4.4.0 "Too New or Missing" FFmpeg 7:4.4.2 "Too New or Missing"

i can install 2.4.2 wine bridge from apt but... gives TimeOut Error with 2.5.8 Screenshot_20240703_233938

~/Downloads/Carla-2.5.8$ make posix32
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Compiling JackBridge1.cpp (posix32)
In file included from ../includes/CarlaDefines.h:89,
                 from JackBridge.hpp:32,
                 from JackBridge1.cpp:17:
/usr/include/c++/11/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory
   49 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:233: ../../build/jackbridge/Release/JackBridge1.cpp.posix32.o] Error 1
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make: *** [Makefile:118: /home/j/Downloads/Carla-2.5.8/build/modules/Release/jackbridge.posix32.a] Error 2
~/Downloads/Carla-2.5.8$ make wine32
make -C source/jackbridge wine32
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Compiling JackBridge1.cpp (wine32)
In file included from ../includes/CarlaDefines.h:89,
                 from JackBridge.hpp:32,
                 from JackBridge1.cpp:17:
/usr/include/c++/11/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory
   49 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
winegcc: /usr/bin/gcc failed
make[1]: *** [Makefile:253: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make: *** [Makefile:385: wine32] Error 2
j@j-Mac:~/Downloads/Carla-2.5.8$

$ neofetch

OS: Kubuntu 22.04.3 LTS x86_64 Host: Aspire A515-54 V1.22 Kernel: 6.9.7-1-liquorix-amd64 Uptime: 1 hour, 47 mins Packages: 2782 (dpkg), 9 (snap) Shell: bash 5.1.16 Resolution: 1920x1080 DE: Plasma 5.24.7 WM: KWin WM Theme: Andromeda Theme: [Plasma], Breeze [GTK2/3] Icons: breeze [Plasma], breeze [GTK2/3] Terminal: konsole CPU: Intel i3-10110U (4) @ 2.300GHz GPU: Intel CometLake-U GT2 [UHD Graphics] Memory: 3385MiB / 7770MiB


installed all libwine $ make wine64 No longer work. were already installed, Not detected, Not used by compiler. Removed and **installing Only -dev:i386 & -developer-dev:i386 No effect on $ make wine32 libwine only affected $ make wine64

$ sudo apt list | grep libwine

libwine-dev/jammy,now 6.0.3~repack-1 amd64 [installed]
**libwine-dev/jammy 6.0.3~repack-1 i386
libwine-development-dev/jammy,now 6.0+repack-1ubuntu1 amd64 [installed]
**libwine-development-dev/jammy 6.0+repack-1ubuntu1 i386
libwine-development/jammy,now 6.0+repack-1ubuntu1 amd64 [installed]
*libwine-development/jammy,now 6.0+repack-1ubuntu1 i386 [installed,automatic]
libwine/jammy,now 6.0.3~repack-1 amd64 [installed]
*libwine/jammy,now 6.0.3~repack-1 i386 [installed,automatic]
~/Downloads/Carla-2.5.8$ make wine64
make -C source/jackbridge wine64
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Linking jackbridge-wine64.dll.so
/usr/bin/ld: tmp6689e4e8/jackbridge-wine64-00000000.spec.o: in function `__wine_spec_nt_header':
(.data+0x28): undefined reference to `__wine_spec_dll_entry'
collect2: error: ld returned 1 exit status
winegcc: /usr/bin/gcc failed
make[1]: *** [Makefile:197: ../../build/modules/Release/jackbridge-wine64.dll.so] Error 2
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make: *** [Makefile:389: wine64] Error 2

Removed:
libwine-development will be removed
libwine-development-dev will be removed
libwine-development:i386 will be removed**
wine32-development-preloader:i386 will be removed**
wine32-development:i386 will be removed**
fonts-wine will be removed
wine32-preloader:i386 will be removed***
wine32:i386 will be removed***
libwine will be removed
libwine-dev will be removed
libwine:i386 will be removed
$ sudo apt list | grep wine | grep dev | grep installed

dxvk-wine32-development/jammy,now 1.9.4+ds1-1ubuntu1 i386 [installed,automatic]
dxvk-wine64-development/jammy,now 1.9.4+ds1-1ubuntu1 amd64 [installed]
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-dev/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed]
wine-stable-dev/jammy,now 9.0.0.0~jammy-1 amd64 [installed]
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
$ make wine64
make -C source/jackbridge wine64
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Compiling JackBridge1.cpp (wine64)
Linking jackbridge-wine64.dll.so
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
cp -f /home/j/Downloads/Carla-2.5.8/build/modules/Release/jackbridge-wine64.dll.so /home/j/Downloads/Carla-2.5.8/bin/jackbridge-wine64.dll

If i remove winehq-devel:i386 $ make wine32 gives "winegcc missing"

$ sudo apt list | grep wine | grep dev | grep 9.12

wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-dbg/jammy 9.12~jammy-1 amd64
wine-devel-dbg/jammy 9.12~jammy-1 i386
wine-devel-dev/jammy 9.12~jammy-1 amd64
wine-devel-dev/jammy,now 9.12~jammy-1 i386 [installed]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy 9.12~jammy-1 amd64
wine-devel/jammy,now 9.12~jammy-1 i386 [installed]
wine-staging-dev/jammy 9.12~jammy-1 amd64
wine-staging-dev/jammy 9.12~jammy-1 i386
winehq-devel/jammy 9.12~jammy-1 amd64
winehq-devel/jammy 9.12~jammy-1 i386

$ sudo apt list | grep wine | grep dev | grep installed

wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-dev/jammy,now 9.12~jammy-1 i386 [installed]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 i386 [installed]

$ sudo apt list | grep wine | grep installed

libkwineffects13/jammy-updates,jammy-security,now 4:5.24.7-0ubuntu0.2 amd64 [installed,automatic]
q4wine/jammy,now 1.3.12-1 amd64 [installed]
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-dev/jammy,now 9.12~jammy-1 i386 [installed]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 i386 [installed]
wine-stable-amd64/jammy,now 9.0.0.0~jammy-1 amd64 [installed,automatic]
wine-stable-i386/jammy,now 9.0.0.0~jammy-1 i386 [installed,automatic]
wine-stable/jammy,now 9.0.0.0~jammy-1 amd64 [installed]
$ make wine32
make -C source/jackbridge wine32
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Compiling JackBridge1.cpp (wine32)
make[1]: winegcc: No such file or directory
make[1]: *** [Makefile:253: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 127
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make: *** [Makefile:385: wine32] Error 2

installing winehq-devel $ make wine32 gives the typical compile error

$ sudo apt list | grep wine | grep installed

libkwineffects13/jammy-updates,jammy-security,now 4:5.24.7-0ubuntu0.2 amd64 [installed,automatic]
q4wine/jammy,now 1.3.12-1 amd64 [installed]
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
$ make wine32
make -C source/jackbridge wine32
make[1]: Entering directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
Compiling JackBridge1.cpp (wine32)
In file included from ../includes/CarlaDefines.h:89,
                 from JackBridge.hpp:32,
                 from JackBridge1.cpp:17:
/usr/include/c++/11/cstddef:49:10: fatal error: bits/c++config.h: No such file or directory
   49 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
winegcc: /usr/bin/gcc failed
make[1]: *** [Makefile:253: ../../build/jackbridge/Release/JackBridge1.cpp.wine32.o] Error 2
make[1]: Leaving directory '/home/j/Downloads/Carla-2.5.8/source/jackbridge'
make: *** [Makefile:385: wine32] Error 2

the question is ¿why wine has so many different -dev installers ? but only winehq or some libwine are detected?

$ sudo apt list | grep wine | grep 9. | grep dev

dxvk-wine32-development/jammy 1.9.4+ds1-1ubuntu1 i386
dxvk-wine64-development/jammy 1.9.4+ds1-1ubuntu1 amd64
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel-dbg/jammy 9.12~jammy-1 amd64
wine-devel-dbg/jammy 9.12~jammy-1 i386
wine-devel-dev/jammy 9.12~jammy-1 amd64
wine-devel-dev/jammy 9.12~jammy-1 i386
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel/jammy 9.12~jammy-1 i386
wine-stable-dev/jammy 9.0.0.0~jammy-1 amd64
wine-stable-dev/jammy 9.0.0.0~jammy-1 i386
wine-staging-dev/jammy 9.12~jammy-1 amd64
wine-staging-dev/jammy 9.12~jammy-1 i386
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
winehq-devel/jammy 9.12~jammy-1 i386
$ sudo apt list | grep wine | grep 9.

dxvk-wine32-development/jammy 1.9.4+ds1-1ubuntu1 i386
dxvk-wine64-development/jammy 1.9.4+ds1-1ubuntu1 amd64
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel-dbg/jammy 9.12~jammy-1 amd64
wine-devel-dbg/jammy 9.12~jammy-1 i386
wine-devel-dev/jammy 9.12~jammy-1 amd64
wine-devel-dev/jammy 9.12~jammy-1 i386
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel/jammy 9.12~jammy-1 i386
wine-stable-amd64/jammy,now 9.0.0.0~jammy-1 amd64 [residual-config]
wine-stable-dbg/jammy 9.0.0.0~jammy-1 amd64
wine-stable-dbg/jammy 9.0.0.0~jammy-1 i386
wine-stable-dev/jammy 9.0.0.0~jammy-1 amd64
wine-stable-dev/jammy 9.0.0.0~jammy-1 i386
wine-stable-i386/jammy,now 9.0.0.0~jammy-1 i386 [residual-config]
wine-stable/jammy,now 9.0.0.0~jammy-1 amd64 [residual-config]
wine-stable/jammy 9.0.0.0~jammy-1 i386
wine-staging-amd64/jammy 9.12~jammy-1 amd64
wine-staging-dbg/jammy 9.12~jammy-1 amd64
wine-staging-dbg/jammy 9.12~jammy-1 i386
wine-staging-dev/jammy 9.12~jammy-1 amd64
wine-staging-dev/jammy 9.12~jammy-1 i386
wine-staging-i386/jammy 9.12~jammy-1 i386
wine-staging/jammy 9.12~jammy-1 amd64
wine-staging/jammy 9.12~jammy-1 i386
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
winehq-devel/jammy 9.12~jammy-1 i386
winehq-stable/jammy 9.0.0.0~jammy-1 amd64
winehq-stable/jammy 9.0.0.0~jammy-1 i386
winehq-staging/jammy 9.12~jammy-1 amd64
winehq-staging/jammy 9.12~jammy-1 i386
$ sudo apt list | grep wine

carla-bridge-wine32/jammy 2.4.2-0ubuntu2 i386
carla-bridge-wine64/jammy 2.4.2-0ubuntu2 amd64
dxvk-wine32-development/jammy 1.9.4+ds1-1ubuntu1 i386
dxvk-wine64-development/jammy 1.9.4+ds1-1ubuntu1 amd64
fonts-wine/jammy,jammy 6.0.3~repack-1 all
gnome-wine-icon-theme/jammy,jammy 5.5.1-2.1 all
libkwineffects13/jammy-updates,jammy-security,now 4:5.24.7-0ubuntu0.2 amd64 [installed,automatic]
libwine-dev/jammy 6.0.3~repack-1 amd64
libwine-dev/jammy 6.0.3~repack-1 i386
libwine-development-dev/jammy 6.0+repack-1ubuntu1 amd64
libwine-development-dev/jammy 6.0+repack-1ubuntu1 i386
libwine-development/jammy 6.0+repack-1ubuntu1 amd64
libwine-development/jammy 6.0+repack-1ubuntu1 i386
libwine/jammy 6.0.3~repack-1 amd64
libwine/jammy 6.0.3~repack-1 i386
q4wine/jammy,now 1.3.12-1 amd64 [installed]
shiki-wine-theme/jammy,jammy 4.6-2ubuntu1 all
twine/jammy,jammy 3.8.0-1 all
wine-binfmt/jammy,jammy 6.0.3~repack-1 all
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel-dbg/jammy 9.12~jammy-1 amd64
wine-devel-dbg/jammy 9.12~jammy-1 i386
wine-devel-dev/jammy 9.12~jammy-1 amd64
wine-devel-dev/jammy 9.12~jammy-1 i386
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed,automatic]
wine-devel/jammy 9.12~jammy-1 i386
wine-development/jammy,jammy 6.0+repack-1ubuntu1 all
wine-stable-amd64/jammy,now 9.0.0.0~jammy-1 amd64 [residual-config]
wine-stable-dbg/jammy 9.0.0.0~jammy-1 amd64
wine-stable-dbg/jammy 9.0.0.0~jammy-1 i386
wine-stable-dev/jammy 9.0.0.0~jammy-1 amd64
wine-stable-dev/jammy 9.0.0.0~jammy-1 i386
wine-stable-i386/jammy,now 9.0.0.0~jammy-1 i386 [residual-config]
wine-stable/jammy,now 9.0.0.0~jammy-1 amd64 [residual-config]
wine-stable/jammy 9.0.0.0~jammy-1 i386
wine-staging-amd64/jammy 9.12~jammy-1 amd64
wine-staging-dbg/jammy 9.12~jammy-1 amd64
wine-staging-dbg/jammy 9.12~jammy-1 i386
wine-staging-dev/jammy 9.12~jammy-1 amd64
wine-staging-dev/jammy 9.12~jammy-1 i386
wine-staging-i386/jammy 9.12~jammy-1 i386
wine-staging/jammy 9.12~jammy-1 amd64
wine-staging/jammy 9.12~jammy-1 i386
wine32-development-preloader/jammy 6.0+repack-1ubuntu1 i386
wine32-development-tools/jammy 6.0+repack-1ubuntu1 i386
wine32-development/jammy 6.0+repack-1ubuntu1 i386
wine32-preloader/jammy 6.0.3~repack-1 i386
wine32-tools/jammy 6.0.3~repack-1 i386
wine32/jammy 6.0.3~repack-1 i386
wine64-development-preloader/jammy 6.0+repack-1ubuntu1 amd64
wine64-development-tools/jammy 6.0+repack-1ubuntu1 amd64
wine64-development/jammy 6.0+repack-1ubuntu1 amd64
wine64-preloader/jammy 6.0.3~repack-1 amd64
wine64-tools/jammy 6.0.3~repack-1 amd64
wine64/jammy 6.0.3~repack-1 amd64
wine/jammy,jammy 6.0.3~repack-1 all
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
winehq-devel/jammy 9.12~jammy-1 i386
winehq-stable/jammy 9.0.0.0~jammy-1 amd64
winehq-stable/jammy 9.0.0.0~jammy-1 i386
winehq-staging/jammy 9.12~jammy-1 amd64
winehq-staging/jammy 9.12~jammy-1 i386
winetricks/jammy,jammy 0.0+20210206-2 all
juanpc2018 commented 4 months ago

removed and added many packages to test different configurations. this was the Starting configuration for 1st compile run:

$ sudo apt list | grep wine | grep installed

dxvk-wine32-development/jammy,now 1.9.4+ds1-1ubuntu1 i386 [installed,automatic]
dxvk-wine64-development/jammy,now 1.9.4+ds1-1ubuntu1 amd64 [installed]
fonts-wine/jammy,jammy,now 6.0.3~repack-1 all [installed]
libwine-development/jammy,now 6.0+repack-1ubuntu1 i386 [installed,automatic]
libwine/jammy,now 6.0.3~repack-1 i386 [installed,automatic]
q4wine/jammy,now 1.3.12-1 amd64 [installed]
wine-devel-amd64/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-dev/jammy,now 9.12~jammy-1 amd64 [installed]
wine-devel-i386/jammy,now 9.12~jammy-1 i386 [installed,automatic]
wine-devel/jammy,now 9.12~jammy-1 amd64 [installed]
wine-stable-amd64/jammy,now 9.0.0.0~jammy-1 amd64 [installed,automatic]
wine-stable-dev/jammy,now 9.0.0.0~jammy-1 amd64 [installed]
wine-stable-i386/jammy,now 9.0.0.0~jammy-1 i386 [installed,automatic]
wine-stable/jammy,now 9.0.0.0~jammy-1 amd64 [installed]
wine32-development-preloader/jammy,now 6.0+repack-1ubuntu1 i386 [installed]
wine32-development/jammy,now 6.0+repack-1ubuntu1 i386 [installed,automatic]
wine32-preloader/jammy,now 6.0.3~repack-1 i386 [installed]
wine32/jammy,now 6.0.3~repack-1 i386 [installed,automatic]
winehq-devel/jammy,now 9.12~jammy-1 amd64 [installed]
winetricks/jammy,jammy,now 0.0+20210206-2 all [installed]
$ sudo apt list | grep mingw | grep installed

binutils-mingw-w64-i686/jammy,now 2.38-3ubuntu1+9build1 amd64 [installed,automatic]
binutils-mingw-w64-x86-64/jammy,now 2.38-3ubuntu1+9build1 amd64 [installed,automatic]
binutils-mingw-w64/jammy,jammy,now 2.38-3ubuntu1+9build1 all [installed]
g++-mingw-w64-i686-posix/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
g++-mingw-w64-i686-win32/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
g++-mingw-w64-i686/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed,automatic]
g++-mingw-w64-x86-64-posix/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
g++-mingw-w64-x86-64-win32/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
g++-mingw-w64-x86-64/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed,automatic]
g++-mingw-w64/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed]
gcc-mingw-w64-base/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-i686-posix-runtime/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-i686-posix/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-i686-win32-runtime/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-i686-win32/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-i686/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed,automatic]
gcc-mingw-w64-x86-64-posix-runtime/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-x86-64-posix/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-x86-64-win32-runtime/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-x86-64-win32/jammy,now 10.3.0-14ubuntu1+24.3 amd64 [installed,automatic]
gcc-mingw-w64-x86-64/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed,automatic]
gcc-mingw-w64/jammy,jammy,now 10.3.0-14ubuntu1+24.3 all [installed]
libz-mingw-w64/jammy,jammy,now 1.2.11+dfsg-4 all [installed,automatic]
mingw-w64-common/jammy,jammy,now 8.0.0-1 all [installed,automatic]
mingw-w64-i686-dev/jammy,jammy,now 8.0.0-1 all [installed,automatic]
mingw-w64-tools/jammy,now 8.0.0-1 amd64 [installed]
mingw-w64-x86-64-dev/jammy,jammy,now 8.0.0-1 all [installed,automatic]
mingw-w64/jammy,jammy,now 8.0.0-1 all [installed]
win-iconv-mingw-w64-dev/jammy,jammy,now 0.0.8-4 all [installed]
juanpc2018 commented 3 months ago

compiling on a different Kernel requires to re install compilers, some library versions are Not compatible with some Kernel versions. would require to install multiple Kernels to have different library versions.

2.5.8 was compiled with: $ uname -a Linux 6.5.0-42-lowlatency #42.1~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jun 13 16:37:39 UTC x86_64 x86_64 x86_64 GNU/Linux

required: winehq

sudo apt install libQt5Core5a binutils-mingw-w64 binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 mingw-w64-i686-dev mingw-w64-common mingw-w64 mingw-w64-x86-64-dev python3-pyqt5.qtsvg python3-rdflib pyqt5-dev-tools libmagic-dev liblo-dev libasound2-dev libpulse-dev libx11-dev libxcursor-dev libxext-dev libgtk2.0-dev libgtk-3-dev qtbase5-dev libfluidsynth-dev wine-devel-amd64 wine-devel-dev libd3dadapter9-mesa-dev

FAIL libqt4-dev FAIL make posix32 FAIL make wine32

$ make features

---> Main features 
Front-End:     YES
LV2 plugin:    YES
VST2 plugin:   YES
Link support:  YES
OSC support:   YES
Binary detect: YES

---> Engine drivers 
JACK:        YES
ALSA:        YES
PulseAudio:  YES
CoreAudio:   NO  [MacOS only]
ASIO:        NO  [Windows only]
DirectSound: NO  [Windows only]
WASAPI:      NO  [Windows only]
SDL:         YES

---> Plugin formats: 
Internal: YES
LADSPA:   YES
DSSI:     YES
LV2:      YES
VST2:     YES (with UI)
VST3:     YES (with UI, using JUCE)
AU:       NO  [MacOS only]

---> LV2 UI toolkit support: 
External: YES (direct)
Gtk2:     YES (bridge)
Gtk3:     YES (bridge)
Qt4:      NO  [Qt4 missing]
Qt5:      YES (bridge)
X11:      YES (direct+bridge)
Cocoa:    NO  [MacOS only]
Windows:  NO  [Windows only]

---> File formats: 
Basic: YES
MP3:   YES
Extra: NO [FFmpeg missing or too new]
SF2/3: YES
SFZ:   YES

---> Internal plugins: 
Basic Plugins:    YES
Carla-Patchbay:   YES
Carla-Rack:       YES
External Plugins: NO

$ make msys2fix $ make $ make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ $ make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ $ make wine64

2.5.8 Almost perfect.

Screenshot_20240722_210132

windowsrefund commented 3 months ago

Compiling 2.5.8 on Ubuntu 24.04 bombs

/usr/bin/ld: ../../build/modules/Release/dgl.a(pugl.cpp.o): undefined reference to symbol 'XSyncIntToValue'
/usr/bin/ld: /lib/x86_64-linux-gnu/libXext.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:292: ../../bin/carla-bridge-native] Error 1