openAVproductions / openAV-ArtyFX

A repository for the ArtyFX plugin bundle
GNU General Public License v2.0
81 stars 19 forks source link

Can't build, dependencies are missing. #50

Open QXR9 opened 8 months ago

QXR9 commented 8 months ago

Few dependencies are unable to get. And I try to build, then I get this:

meson-log.txt

durgunb@kuzgun13:~/.lv2$ meson /home/durgunb/İndirilenler/openAV-ArtyFX-release-1.3.1/
cd /home/durgunb/İndirilenler/openAV-ArtyFX-release-1.3.1/
ninja
ninja install
The Meson build system
Version: 1.3.2
Source dir: /home/durgunb/İndirilenler/openAV-ArtyFX-release-1.3.1
Build dir: /home/durgunb/.lv2
Build type: native build
Project name: openav_artyfx
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency benchmark found: NO (tried pkgconfig and cmake)
Run-time dependency sndfile found: YES 1.0.31
Run-time dependency threads found: YES
Run-time dependency lv2 found: YES 1.18.2
Run-time dependency cairo found: NO (tried pkgconfig and cmake)

../İndirilenler/openAV-ArtyFX-release-1.3.1/meson.build:25:10: ERROR: Dependency "cairo" not found, tried pkgconfig and cmake

A full log can be found at /home/durgunb/.lv2/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
ninja: error: loading 'build.ninja': No such file or directory
ninja: error: loading 'build.ninja': No such file or directory

When I try to use only .ttl files, despite LSP plugins are working, these are not. My DAW Waveform says when I add the plugin to the track; “This plugin was not found”.

QXR9 commented 8 months ago

This is to be a reference:

durgunb@kuzgun13:~$ LANGUAGE=en sudo pkcon install libcairo-dev lv2-dev lv2core libsndfile1-dev libsamplerate0-dev
Resolving                               [=========================]         Package not found: libcairo-dev
                                        [=========================]         Package not found: lv2-dev
                                        [=========================]         Package not found: lv2core
                                        [=========================]         Package not found: libsndfile1-dev
                                        [=========================]         Package not found: libsamplerate0-dev
                                        [=========================]         Package not found: libcairo-dev
                                        [=========================]         Package not found: lv2core
                                        [=========================]         Command failed: The selected packages may already be installed.
durgunb@kuzgun13:~$ LANGUAGE=en sudo apt install libcairo-dev lv2-dev lv2core libsndfile1-dev libsamplerate0-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libcairo2-dev' instead of 'libcairo-dev'
Package lv2core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lv2core' has no installation candidate
durgunb@kuzgun13:~$ LANGUAGE=en sudo apt-get install libcairo-dev lv2-dev lv2core libsndfile1-dev libsamplerate0-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libcairo2-dev' instead of 'libcairo-dev'
Package lv2core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lv2core' has no installation candidate
harryhaaren commented 8 months ago

Hmm, doing a meson build_dir command here works fine..?

The Meson build system
Version: 0.61.2
Source dir: /home/harry/openav/artyfx
Build dir: /home/harry/openav/artyfx/build_123
Build type: native build
Project name: openav_artyfx
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency benchmark found: NO (tried pkgconfig and cmake)
Run-time dependency sndfile found: YES 1.0.31
Run-time dependency threads found: YES
Run-time dependency lv2 found: YES 1.18.2
Run-time dependency cairo found: YES 1.16.0
Dependency sndfile found: YES 1.0.31 (cached)
Run-time dependency samplerate found: YES 0.2.2
Dependency threads found: YES unknown (cached)
Run-time dependency x11 found: YES 1.7.5
Build targets in project: 1

Where is the apt install lv2core coming from? That has been outdated for a long time I think..?

CMake should also work, it has a switch to turn off the GUI mode if that's not required? Depending on platform, also disable the SSE CPU flags?

CMake output:
-- The C compiler identification is GNU 11.4.0                                                                                                                                                
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'lv2>=1.8.0'
--   Found lv2, version 1.18.2
-- Checking for module 'sndfile'
--   Found sndfile, version 1.0.31

  ArtyFX Configuration : 
-----------------------
* Install Directory               : /usr/local
* AVTK GUI                        : OFF
* DSP Benchmarks                  : OFF

-- Configuring done
-- Generating done
-- Build files have been written to: /home/harry/openav/artyfx/build
harryhaaren commented 8 months ago

Reviewing a bit more, the above commit reduces dependencies and builds only the DSP components of the LV2 plugins.

QXR9 commented 8 months ago

Hmm, doing a meson build_dir command here works fine..?

The Meson build system
Version: 0.61.2
Source dir: /home/harry/openav/artyfx
Build dir: /home/harry/openav/artyfx/build_123
Build type: native build
Project name: openav_artyfx
Project version: undefined
C++ compiler for the host machine: c++ (gcc 11.4.0 "c++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0")
C++ linker for the host machine: c++ ld.bfd 2.38
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Found CMake: /usr/bin/cmake (3.22.1)
Run-time dependency benchmark found: NO (tried pkgconfig and cmake)
Run-time dependency sndfile found: YES 1.0.31
Run-time dependency threads found: YES
Run-time dependency lv2 found: YES 1.18.2
Run-time dependency cairo found: YES 1.16.0
Dependency sndfile found: YES 1.0.31 (cached)
Run-time dependency samplerate found: YES 0.2.2
Dependency threads found: YES unknown (cached)
Run-time dependency x11 found: YES 1.7.5
Build targets in project: 1

Where is the apt install lv2core coming from? That has been outdated for a long time I think..?

CMake should also work, it has a switch to turn off the GUI mode if that's not required? Depending on platform, also disable the SSE CPU flags?

CMake output:
-- The C compiler identification is GNU 11.4.0                                                                                                                                                
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'lv2>=1.8.0'
--   Found lv2, version 1.18.2
-- Checking for module 'sndfile'
--   Found sndfile, version 1.0.31

  ArtyFX Configuration : 
-----------------------
* Install Directory               : /usr/local
* AVTK GUI                        : OFF
* DSP Benchmarks                  : OFF

-- Configuring done
-- Generating done
-- Build files have been written to: /home/harry/openav/artyfx/build

I'm not sure, I'll check the version I download. But I saw this in requirements. I'm using KDE Neon with plasma 6.0 Latest stable now. As I said, I just want to use plugins in waveform. I don't really want to build, but Waveform does not see the plugin. I can add to a track, but a warning shows up. CMake did not work either. IDK why. DAW should have run plugins.

QXR9 commented 8 months ago

Reviewing a bit more, the above commit reduces dependencies and builds only the DSP components of the LV2 plugins.

I'm sorry, I still don't know what to do. What should I do? It completely seems like the problem belongs to my system.