Can't compile audio examples with JACK any more

I had an issue compiling audio examples with JACK which was resolved with help from this post, and the examples compiled fine.
I’m now trying to make some simple project and can’t compile it. I tried to re-compile some old projects I’ve compiled before, but these also can’t compile. Maybe I’ve changed something in my system and didn’t notice it? JACK is working fine BTW.
When I type make, I get the following output:

HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
Compiling OF library for Release
make[1]: Entering directory '/home/alex/Applications/openFrameworks/openFrameworks-stable/libs/openFrameworksCompiled/project'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
Done!
make[1]: Leaving directory '/home/alex/Applications/openFrameworks/openFrameworks-stable/libs/openFrameworksCompiled/project'


Compiling loopExample for Release
make[1]: Entering directory '/home/alex/Applications/openFrameworks/openFrameworks-stable/addons/ofxPd/loopExample'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
make[1]: *** No rule to make target '/home/alex/Applications/of_v0.9.1_linux64_release/addons/ofxPd/pdExample/src/ofApp.cpp', needed by 'obj/linux64/Release/src/ofApp.o'.  Stop.
make[1]: Leaving directory '/home/alex/Applications/openFrameworks/openFrameworks-stable/addons/ofxPd/loopExample'
/home/alex/Applications/openFrameworks/openFrameworks-stable/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:125: recipe for target 'Release' failed
make: *** [Release] Error 2

I did a search for the packages the compiler looks for by typing:

dpkg -s cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123

and got this output:

dpkg-query: package 'cairo' is not installed and no information is available

dpkg-query: package 'zlib' is not installed and no information is available

dpkg-query: package 'gstreamer-app-1.0' is not installed and no information is available

dpkg-query: package 'gstreamer-1.0' is not installed and no information is available

dpkg-query: package 'gstreamer-video-1.0' is not installed and no information is available

dpkg-query: package 'gstreamer-base-1.0' is not installed and no information is available

dpkg-query: package 'libudev' is not installed and no information is available

dpkg-query: package 'freetype2' is not installed and no information is available

Package: fontconfig
Status: install ok installed
Priority: optional
Section: fonts
Installed-Size: 547
Maintainer: Keith Packard <keithp@debian.org>
Architecture: amd64
Multi-Arch: foreign
Version: 2.11.0-6.3
Replaces: fontconfig-config (<< 2.5.93-1)
Depends: libc6 (>= 2.4), libfontconfig1 (>= 2.11), libfreetype6 (>= 2.2.1), fontconfig-config
Pre-Depends: dpkg (>= 1.16.1)
Description: generic font configuration library - support binaries
 Fontconfig is a font configuration and customization library, which
 does not depend on the X Window System. It is designed to locate
 fonts within the system and select them according to requirements
 specified by applications.
 .
 Fontconfig is not a rasterization library, nor does it impose a
 particular rasterization library on the application. The X-specific
 library 'Xft' uses fontconfig along with freetype to specify and
 rasterize fonts.
 .
 This package contains a program to maintain the fontconfig cache
 (fc-cache), a sample program to list installed fonts (fc-list), a program
 to test the matching rules (fc-match) and a program to dump the binary
 cache files in string form (fc-cat). It no longer makes fonts managed by defoma
 available to fontconfig applications.

dpkg-query: package 'sndfile' is not installed and no information is available

dpkg-query: package 'openal' is not installed and no information is available

Package: openssl
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1102
Maintainer: Debian OpenSSL Team <pkg-openssl-devel@lists.alioth.debian.org>
Architecture: amd64
Version: 1.0.1k-3+deb8u4
Depends: libc6 (>= 2.15), libssl1.0.0 (>= 1.0.1k-3+deb8u3)
Suggests: ca-certificates
Conffiles:
 /etc/ssl/openssl.cnf 7df26c55291b33344dc15e3935dabaf3
Description: Secure Sockets Layer toolkit - cryptographic utility
 This package is part of the OpenSSL project's implementation of the SSL
 and TLS cryptographic protocols for secure communication over the
 Internet.
 .
 It contains the general-purpose command line binary /usr/bin/openssl,
 useful for cryptographic operations such as:
  * creating RSA, DH, and DSA key parameters;
  * creating X.509 certificates, CSRs, and CRLs;
  * calculating message digests;
  * encrypting and decrypting with ciphers;
  * testing SSL/TLS clients and servers;
  * handling S/MIME signed or encrypted mail.

dpkg-query: package 'rtaudio' is not installed and no information is available

dpkg-query: package 'libpulse-simple' is not installed and no information is available

dpkg-query: package 'alsa' is not installed and no information is available

dpkg-query: package 'gl' is not installed and no information is available

dpkg-query: package 'glu' is not installed and no information is available

dpkg-query: package 'glew' is not installed and no information is available

dpkg-query: package 'gtk+-3.0' is not installed and no information is available

dpkg-query: package 'libmpg123' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents.

Trying to install these packages didn’t work as “apt-get” couldn’t find them.
Does anyone have a clue on this? I’m on Debian Jessie XFCE with openFrameworks cloned from GitHub.

Hey alexandros,

Did you figure this out? Did you install the codecs with the shell script when you were installing and compiling openFrameworks? If not, give that a try and see if that helps. You’re missing some packages, and they may be installed with the codecs script. You could also just try installing each library that appears to be missing.

Hi @TimChi, as I wrote in the original post, I did try to install these libraries, but apt-get can’t find them. For example, there is not gstreamer-1.0, but various other packages, like gstreamer0.10-alsa, which is not what I need, is it?

I’ve run the codecs and dependencies scripts and everything was fine. The weird thing is that I used to be able to compile OF programs with Jack just fine, and all of a sudden I couldn’t. I guess I’ve installed or removed something without realizing…
Don’t know if someone else is having the same problem. I know OF is not focused on audio…

Thanks

Well I wish I could be of more help, but I’m still quite low on the learning curve. Hopefully someone who knows more will pick this thread up. I’ve really limited experience with Jack, and have only used it with SuperCollider. The Ubuntu script installs several gstreamer packages, including gstreamer1.0-alsa, and a couple of libraries (libgstreamer1.0-dev for example). But, if you re-ran the shell script for Debian and everything appears to be fine then maybe something else is happening. In Ubuntu, the shell script lists all the specific dependencies that it will try to install before asking the user for confirmation to continue.

It looks like the original error (“no rule to make target”) happened when trying to build something in /addon. Are you using gcc 4.9 or higher as the compiler? I know people have had problems with oF version 0.9.x and gcc 4.8.x. Ubuntu/Mint distros (14.04, 14.10) had 4.8.x installed by default until the newest stable release, and I had to get 4.9.3 and then set it as the default compiler. You could also try downloading a new oF distribution, building it, and recreating the project files (copy/paste) in the new folder just to make sure that its not related to the oF libraries or maybe the project makefile. This might be helpful in light of the fact that you have compiled it successfully in the past. Also, again a huge novice here, but I wonder if there is a difference somehow in debug vs release versions, in terms of linkage, libraries, etc.

OK those are my thoughts and sorry I couldn’t be of more help. I’ll follow this thread though to see if anyone else chimes in.