sadko4u / tamgamp.lv2

Tamgamp (Rhymes with: "Damage Amp") is LV2 guitar amp simulator
GNU Lesser General Public License v3.0
42 stars 5 forks source link

Cannot compile (zita-resampler not found) #2

Closed lrfinotti closed 4 years ago

lrfinotti commented 4 years ago

I cannot compile. I get:

$ make
Building source
mkdir -p /home/finotti/src/tamgamp.lv2/.build/src
make -C src all BUILD_DIR=/home/finotti/src/tamgamp.lv2/.build/src BUILD_FILE=/home/finotti/src/tamgamp.lv2/.build/tamgamp-lv2.so
make[1]: Entering directory '/home/finotti/src/tamgamp.lv2/src'
mkdir -p /home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2
make -C tamgamp.lv2 all BUILD_DIR=/home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2 BUILD_FILE=/home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2.o
make[2]: Entering directory '/home/finotti/src/tamgamp.lv2/src/tamgamp.lv2'
mkdir -p /home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2/
g++ -o /home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2/tamgamp.o -c tamgamp.cpp -fPIC  -O2 -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -pipe -Wall -I/home/finotti/src/tamgamp.lv2/include 
In file included from tamgamp.cpp:24:
../../include/tamgamp.lv2/tamgamp.h:31:10: fatal error: zita-resampler/resampler.h: No such file or directory
   31 | #include <zita-resampler/resampler.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:40: /home/finotti/src/tamgamp.lv2/.build/src/tamgamp.lv2/tamgamp.o] Error 1
make[2]: Leaving directory '/home/finotti/src/tamgamp.lv2/src/tamgamp.lv2'
make[1]: *** [Makefile:51: tamgamp.lv2] Error 2
make[1]: Leaving directory '/home/finotti/src/tamgamp.lv2/src'
make: *** [Makefile:109: all] Error 2

zita-resampler is installed:

$ apt policy zita-resampler zita-resampler-static 
zita-resampler:
  Installed: 1.6.2-2
  Candidate: 1.6.2-2
  Version table:
 *** 1.6.2-2 500
        500 http://httpredir.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
zita-resampler-static:
  Installed: 5:1.6.2-1kxstudio2
  Candidate: 5:1.6.2-1kxstudio2
  Version table:
 *** 5:1.6.2-1kxstudio2 500
        500 http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status

I'm running Debian Sid:

$ inxi -v3
System:    Host: debian Kernel: 5.5.0-8.slh.1-aptosid-amd64 x86_64 bits: 64 compiler: gcc v: 9.2.1 Desktop: KDE Plasma 5.17.5 
           Distro: aptosid 2013-01 - kde-full - (201305050307) base: Debian GNU/Linux bullseye/sid 
Machine:   Type: Desktop System: ASUS product: All Series v: N/A serial: <root required> 
           Mobo: ASUSTeK model: Z87-PRO v: Rev 1.xx serial: <root required> UEFI: American Megatrends v: 2103 date: 08/18/2014 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Mouse PID:0036 charge: 55% (should be ignored) 
           status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard PID:0056 charge: 70% (should be ignored) 
           status: Discharging 
           Device-3: hidpp_battery_2 model: Logitech M310 charge: 55% (should be ignored) status: Discharging 
CPU:       Topology: Quad Core model: Intel Core i7-4771 bits: 64 type: MT MCP arch: Haswell rev: 3 L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 55966 
           Speed: 3652 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 3652 2: 3577 3: 3601 4: 3664 5: 3772 6: 3793 7: 3676 
           8: 3606 
Graphics:  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics vendor: ASUSTeK driver: i915 v: kernel 
           bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.7 driver: intel resolution: 1280x1024~60Hz, 1920x1080~60Hz 
           OpenGL: renderer: Mesa DRI Intel Haswell Desktop v: 4.5 Mesa 19.3.3 direct render: Yes 
Network:   Device-1: Intel Ethernet I217-V vendor: ASUSTeK driver: e1000e v: 3.2.6-k port: f080 bus ID: 00:19.0 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: e0:3f:49:a3:4c:a6 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 12.06 TiB used: 5.76 TiB (47.7%) 
Info:      Processes: 391 Uptime: 1d 10h 16m Memory: 31.25 GiB used: 12.67 GiB (40.6%) Init: systemd runlevel: 5 Compilers: 
           gcc: 9.3.0 Shell: bash v: 5.0.16 inxi: 3.0.37

Please let me know if I can provide any more info. (And thanks for this new project!)

sadko4u commented 4 years ago

For building you need development package of zita-resampler.

lrfinotti commented 4 years ago

Thanks! Indeed installing the Debian package libzita-resampler-dev worked.