hi all :) (my first post here)
i'm trying to build zynaddsubfx from scratch. (zynaddsubfx 2.4.4 with mxml 2.5 - all other components from tc 5.x repo)
i got pretty far, pretty much all dependencies met, and it kinda builds (cmake, make).
but what still seems to be missing is a GUI.
i have installed fltk, fltk-dev, and fluid
now when building zynaddsubfx with default config, it says (among other things):
-- Found FLTK: /usr/local/lib/libfltk_images.so;/usr/local/lib/libfltk_forms.so;/usr/local/lib/libfltk.so
-- -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lfltk_images -lpng -lz -ljpeg -lfltk -lpthread -ldl -lm -lXext -lX11
-- Will build FLTK gui
-- using link directories: /usr/local/lib /usr/local/lib /usr/local/lib
-- Link libraries: /usr/lib/libz.so mxml /usr/local/lib/libasound.so;jack <- fltk missing here?
...but compilations shows some errors, and linking fails with errors like this:
UI/libzynaddsubfx_gui.a(NioUI.cpp.o):(.data.rel.ro._ZTI5NioUI[_ZTI5NioUI]+0x8): undefined reference to `typeinfo for Fl_Window'
this, to me, looks like some lib or linker option is missing.
can someone point me to what I have to edit or add or change?
i also have installed ntk and ntk-dev (for alternative GUI)
but these are - weirdly - not found by zynaddsubfx.
all other packages I installed are found (jack, mxml, fftw3, ...)
at /usr/local/lib/pkgconfig (I assume) and there's also ntk.pc, ntk_gl.pc, ntk_images.pc there
but still zynaddsubfx complains
-- checking for module 'ntk'
-- package 'ntk' not found
-- checking for module 'ntk_images'
-- package 'ntk_images' not found
what really seems weird to me is that in zynaddsubfx/src/CMakeLists.txt I can see that checking for jack, mxml, ... is exactly the same function "pkg_check_modules" as checking for ntk and ntk_images:
#Dependency check
pkg_check_modules(MXML REQUIRED mxml) <- found
pkg_check_modules(JACK jack) <- found
pkg_check_modules(NTK ntk) <- not found
pkg_check_modules(NTK_IMAGES ntk_images) <- not found
any ideas why ntk and ntk_images cannot be found?
thanks, regards,
Ro