openframeworks / openFrameworks

openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
http://openframeworks.cc
Other
9.97k stars 2.55k forks source link

[archlinux] gstreamer1.0 breaks gstreamer projects #1984

Closed ewanas closed 11 years ago

ewanas commented 11 years ago

Here's the discussion

arturoc commented 11 years ago

@benben can you take a look? i think we are missing some packages in the install_dependencies script, i think gst-plugins-base-libs but also something else

benben commented 11 years ago

downloaded 0.7.4 64bit version since I only have an Arch 64bit ready as a VM.

$ uname -a
Linux vagrant 3.8.4-1-ARCH #1 SMP PREEMPT Wed Mar 20 22:10:25 CET 2013 x86_64 GNU/Linux

$ pacman -Qs gstreamer
local/gst-libav 1.0.6-1
    Gstreamer libav Plugin
local/gst-plugins-bad 1.0.6-1
    GStreamer Multimedia Framework Bad Plugins
local/gst-plugins-base 1.0.6-1
    GStreamer Multimedia Framework Base Plugins
local/gst-plugins-base-libs 1.0.6-1
    GStreamer Multimedia Framework Base Plugin libraries
local/gst-plugins-good 1.0.6-1
    GStreamer Multimedia Framework Good Plugins
local/gst-plugins-ugly 1.0.6-1
    GStreamer Multimedia Framework Ugly Plugins
local/gstreamer 1.0.6-1
    GStreamer Multimedia Framework

$ cd examples/video/videoPlayerExample/ && make -j4
cp -r ../../../export/linux64/libs bin/

     compiling done
     to launch the application

     cd bin
     ./videoPlayerExample

@foocraft try to remove all old gstreamer packages (your log shows you have both versions installed) and compile the vanilla videoPlayerExample from the 0.7.4 package. does this work?

arturoc commented 11 years ago

at least in ubuntu it doesn't matter if you have both, the makefile autodetects which one to include, could it be that you have some extra package in your vm that is not in the scripts? will try later from a clean arch vm anyway

benben commented 11 years ago

I think I know the problem now. I installed a clean arch and ran install_deps from 0.7.4 package: It quits with

../../../openFrameworks/video/ofGstUtils.h:12:21: fatal error: gst/gst.h: No such file or directory

problem is:

$ find / -name gst.h
/usr/include/gstreamer-1.0/gst/gst.h

@arturoc what do you think is the best way to fix this?

arturoc commented 11 years ago

mmh that shouldn't happen, can you run:

pkg-config gstreamer-1.0 --cflags
ewanas commented 11 years ago

I did a clean ubuntu install, and I got the same error as @benben

The output from pkg-config gstreamer-1.0 --cflags is: -pthread -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include

arturoc commented 11 years ago

that seems correct, it could be that the makefile is not detecting the gstreamer version correctly, can you try:

pkg-config gstreamer-1.0 --exists; echo $?

it should return a 0

ewanas commented 11 years ago

pkg-config gstreamer-1.0 --exists; echo $? does return a 0, the problem is that ubuntu seems to complain about the same errors as archlinux did with ./install_dependencies.sh

What's the missing package?

Here's the output from ./install_dependencies.sh

Hit http://qa.archive.ubuntu.com quantal Release.gpg
Hit http://extras.ubuntu.com quantal Release.gpg
Hit http://security.ubuntu.com quantal-security Release.gpg
Hit http://qa.archive.ubuntu.com quantal-updates Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://qa.archive.ubuntu.com quantal-backports Release.gpg
Hit http://extras.ubuntu.com quantal/main Sources
Hit http://security.ubuntu.com quantal-security Release
Hit http://qa.archive.ubuntu.com quantal Release
Hit http://extras.ubuntu.com quantal/main i386 Packages
Hit http://security.ubuntu.com quantal-security/main Sources
Hit http://qa.archive.ubuntu.com quantal-updates Release
Hit http://qa.archive.ubuntu.com quantal-backports Release
Hit http://security.ubuntu.com quantal-security/restricted Sources
Hit http://qa.archive.ubuntu.com quantal/main Sources
Hit http://security.ubuntu.com quantal-security/universe Sources
Hit http://qa.archive.ubuntu.com quantal/restricted Sources
Hit http://security.ubuntu.com quantal-security/multiverse Sources
Hit http://qa.archive.ubuntu.com quantal/universe Sources
Hit http://qa.archive.ubuntu.com quantal/multiverse Sources
Hit http://security.ubuntu.com quantal-security/main i386 Packages
Hit http://qa.archive.ubuntu.com quantal/main i386 Packages
Hit http://security.ubuntu.com quantal-security/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal/universe i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Hit http://security.ubuntu.com quantal-security/universe i386 Packages
Hit http://qa.archive.ubuntu.com quantal/multiverse i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse i386 Packages
Hit http://qa.archive.ubuntu.com quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://qa.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal/restricted Translation-en
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/main Sources
Hit http://qa.archive.ubuntu.com quantal-updates/restricted Sources
Hit http://qa.archive.ubuntu.com quantal-updates/universe Sources
Hit http://security.ubuntu.com quantal-security/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse Sources
Hit http://qa.archive.ubuntu.com quantal-updates/main i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/universe i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/main Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/main Sources
Hit http://qa.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://qa.archive.ubuntu.com quantal-backports/universe Sources
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse Sources
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/main i386 Packages
Hit http://qa.archive.ubuntu.com quantal-backports/restricted i386 Packages
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/universe i386 Packages
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/universe Translation-en
Ign http://qa.archive.ubuntu.com quantal/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/universe Translation-en_US
Reading package lists...
selecting gstreamer 1.0
Reading package lists...
Building dependency tree...
Reading state information...
freeglut3-dev is already the newest version.
g++ is already the newest version.
libasound2-dev is already the newest version.
libdrm-dev is already the newest version.
libglew-dev is already the newest version.
libglu1-mesa-dev is already the newest version.
libgtk2.0-dev is already the newest version.
libraw1394-dev is already the newest version.
libsndfile1-dev is already the newest version.
libudev-dev is already the newest version.
libxmu-dev is already the newest version.
libxxf86vm-dev is already the newest version.
portaudio19-dev is already the newest version.
python-lxml is already the newest version.
python2.7 is already the newest version.
libfreeimage-dev is already the newest version.
libopenal-dev is already the newest version.
libcairo2-dev is already the newest version.
libfreetype6-dev is already the newest version.
libgl1-mesa-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
gstreamer1.0-alsa is already the newest version.
gstreamer1.0-libav is already the newest version.
gstreamer1.0-plugins-bad is already the newest version.
gstreamer1.0-plugins-base is already the newest version.
gstreamer1.0-plugins-good is already the newest version.
gstreamer1.0-pulseaudio is already the newest version.
gstreamer1.0-x is already the newest version.
libgstreamer-plugins-base1.0-dev is already the newest version.
libgstreamer1.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Package gstreamer-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.10' found
Package gstreamer-video-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-video-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-video-0.10' found
Package gstreamer-base-0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-base-0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-base-0.10' found
compiling object for  ../../../openFrameworks/video/ofGstVideoPlayer.cpp
mkdir -p obj/Debug/openFrameworks/video
g++ -g3 -Wall -fexceptions -I../../../FreeImage/include -I../../../assimp/include -I../../../assimp/include/Compiler -I../../../fmodex/include -I../../../freetype/include -I../../../freetype/include/freetype2 -I../../../freetype/include/freetype2/freetype -I../../../freetype/include/freetype2/freetype/internal -I../../../freetype/include/freetype2/freetype/internal/services -I../../../freetype/include/freetype2/freetype/config -I../../../kiss/include -I../../../portaudio/include -I../../../rtAudio/include -I../../../tess2/include -I../../../poco/include -I../../../glu/include -I../../../openFrameworks/ -I../../../openFrameworks/utils -I../../../openFrameworks/types -I../../../openFrameworks/sound -I../../../openFrameworks/app -I../../../openFrameworks/3d -I../../../openFrameworks/gl -I../../../openFrameworks/communication -I../../../openFrameworks/graphics -I../../../openFrameworks/events -I../../../openFrameworks/math -I../../../openFrameworks/video  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -DOF_USING_GTK  -MMD -MP -MFobj/Debug/openFrameworks/video/ofGstVideoPlayer.d -MTobj/Debug/openFrameworks/video/ofGstVideoPlayer.o -o obj/Debug/openFrameworks/video/ofGstVideoPlayer.o -c ../../../openFrameworks/video/ofGstVideoPlayer.cpp
In file included from ../../../openFrameworks/video/ofGstVideoPlayer.h:3:0,
                 from ../../../openFrameworks/video/ofGstVideoPlayer.cpp:8:
../../../openFrameworks/video/ofGstUtils.h:12:21: fatal error: gst/gst.h: No such file or directory
compilation terminated.
make: *** [obj/Debug/openFrameworks/video/ofGstVideoPlayer.o] Error 1
there has been a problem compiling Debug OF library
please report this problem in the forums
chown: cannot access `../../lib/linux/*': No such file or directory
arturoc commented 11 years ago

from the output it seems like it's not detecting properly the version of gstreamer cause it's trying to pkg-config 0.10

can you try with the latest nightly version?

http://www.openframeworks.cc/nightlybuilds.html

ewanas commented 11 years ago

Here's the output from the latest nightly, it is not a gstreamer error, but just a head's up since it's a gtk error:

Hit http://security.ubuntu.com quantal-security Release.gpg
Hit http://extras.ubuntu.com quantal Release.gpg
Hit http://qa.archive.ubuntu.com quantal Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://qa.archive.ubuntu.com quantal-updates Release.gpg
Hit http://qa.archive.ubuntu.com quantal-backports Release.gpg
Hit http://extras.ubuntu.com quantal/main Sources
Hit http://security.ubuntu.com quantal-security Release
Hit http://qa.archive.ubuntu.com quantal Release
Hit http://extras.ubuntu.com quantal/main i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates Release
Hit http://qa.archive.ubuntu.com quantal-backports Release
Hit http://qa.archive.ubuntu.com quantal/main Sources
Hit http://security.ubuntu.com quantal-security/main Sources
Hit http://security.ubuntu.com quantal-security/restricted Sources
Hit http://security.ubuntu.com quantal-security/universe Sources
Hit http://security.ubuntu.com quantal-security/multiverse Sources
Hit http://qa.archive.ubuntu.com quantal/restricted Sources
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Hit http://qa.archive.ubuntu.com quantal/universe Sources
Hit http://security.ubuntu.com quantal-security/main i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en
Hit http://qa.archive.ubuntu.com quantal/multiverse Sources
Hit http://security.ubuntu.com quantal-security/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal/main i386 Packages
Hit http://security.ubuntu.com quantal-security/universe i386 Packages
Hit http://qa.archive.ubuntu.com quantal/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal/universe i386 Packages
Hit http://security.ubuntu.com quantal-security/multiverse i386 Packages
Hit http://qa.archive.ubuntu.com quantal/multiverse i386 Packages
Hit http://qa.archive.ubuntu.com quantal/main Translation-en
Hit http://security.ubuntu.com quantal-security/main Translation-en
Hit http://security.ubuntu.com quantal-security/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal/restricted Translation-en
Hit http://security.ubuntu.com quantal-security/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/main Sources
Hit http://qa.archive.ubuntu.com quantal-updates/restricted Sources
Hit http://security.ubuntu.com quantal-security/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/universe Sources
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse Sources
Hit http://qa.archive.ubuntu.com quantal-updates/main i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/restricted i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/universe i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse i386 Packages
Hit http://qa.archive.ubuntu.com quantal-updates/main Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal-updates/universe Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/main Sources
Hit http://qa.archive.ubuntu.com quantal-backports/restricted Sources
Hit http://qa.archive.ubuntu.com quantal-backports/universe Sources
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse Sources
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/main i386 Packages
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/restricted i386 Packages
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/universe i386 Packages
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse i386 Packages
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Hit http://qa.archive.ubuntu.com quantal-backports/main Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/multiverse Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/restricted Translation-en
Hit http://qa.archive.ubuntu.com quantal-backports/universe Translation-en
Ign http://qa.archive.ubuntu.com quantal/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://qa.archive.ubuntu.com quantal-backports/universe Translation-en_US
Reading package lists...
selecting gstreamer 1.0
Reading package lists...
Building dependency tree...
Reading state information...
freeglut3-dev is already the newest version.
g++ is already the newest version.
libasound2-dev is already the newest version.
libdrm-dev is already the newest version.
libglew-dev is already the newest version.
libglu1-mesa-dev is already the newest version.
libgtk2.0-dev is already the newest version.
libraw1394-dev is already the newest version.
libsndfile1-dev is already the newest version.
libudev-dev is already the newest version.
libxmu-dev is already the newest version.
libxxf86vm-dev is already the newest version.
portaudio19-dev is already the newest version.
python-lxml is already the newest version.
python2.7 is already the newest version.
libfreeimage-dev is already the newest version.
libopenal-dev is already the newest version.
libcairo2-dev is already the newest version.
libfreetype6-dev is already the newest version.
libgl1-mesa-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
gstreamer1.0-alsa is already the newest version.
gstreamer1.0-libav is already the newest version.
gstreamer1.0-plugins-bad is already the newest version.
gstreamer1.0-plugins-base is already the newest version.
gstreamer1.0-plugins-good is already the newest version.
gstreamer1.0-pulseaudio is already the newest version.
gstreamer1.0-x is already the newest version.
libgstreamer-plugins-base1.0-dev is already the newest version.
libgstreamer1.0-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'openssl' found
Compiling ../../../libs/openFrameworks/utils/ofSystemUtils.cpp
mkdir -p ../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/utils
g++ -g3 -Wall -fexceptions -march=native -mtune=native -DOF_USING_GTK -I../../../libs/fmodex/include -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/portaudio/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/video -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/utils/ofSystemUtils.d -MT../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/utils/ofSystemUtils.o -o ../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/utils/ofSystemUtils.o -c ../../../libs/openFrameworks/utils/ofSystemUtils.cpp
../../../libs/openFrameworks/utils/ofSystemUtils.cpp:69:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make[1]: *** [../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/utils/ofSystemUtils.o] Error 1
make: *** [Debug] Error 2
there has been a problem compiling Debug OF library
please report this problem in the forums
ewanas commented 11 years ago

And the output from find /usr/include/ -name "gtk.h" is

/usr/include/gtk-2.0/gtk/gtk.h
bilderbuchi commented 11 years ago

on the road currently, but I think the original gstreamer problem is only apparent on 32bit systems, since in 4b94da93 only the linux64 makefile got updated to catch the gstreamer0.10/1.0 logic, the 32bit makefile didn't. See this post on the forum. correct, @arturoc ?

arturoc commented 11 years ago

yes, that seems to be the problem, i'll try to update the linux package with the linux64 makefile since they are both the same actually

arturoc commented 11 years ago

@foocraft to fix it with the nightly builds can you try installing openssl:

pacman -S openssl
ewanas commented 11 years ago

On ubuntu, with openssl installed, I'm getting the same gtk/gtk.h issue that I mentioned. The build didn't go as far as gstreamer, exactly like the last post, but I'm guessing it's the same issue.

Instead of gtk/gtk.h it seems to want to be gtk-2.0/gtk/gtk.h And instead of gst/gst.h it should be gstreamer-1.0/gst/gst.h

But that doesn't seem like the best way to solve this. Ideas?

ewanas commented 11 years ago

Not to promote sloppiness, but it seems like the files that depend on this change are very few:

ack-grep -a "gtk.h|gst.h":

libs/openFrameworks/utils/ofSystemUtils.cpp
69:#include <gtk/gtk.h>

libs/openFrameworks/video/ofGstVideoPlayer.cpp
9:#include <gst/gst.h>

libs/openFrameworks/video/ofGstUtils.h
12:#include <gst/gst.h>

libs/openFrameworks/video/ofGstVideoGrabber.cpp
26:#include <gst/gst.h>
ewanas commented 11 years ago

Nevermind about the last post, it must be something not right with how/where pkg-config is used. (I didn't know about it previously. Sorry)

ewanas commented 11 years ago

This fixes the gstreamer and gtk issue with compiling:

diff --git a/libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk b/libs/openFrameworksCompiled/project/makefileCommon/config.linu
index 5d427c4..81ec2df 100644
--- a/libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk
+++ b/libs/openFrameworksCompiled/project/makefileCommon/config.linux.common.mk
@@ -23,13 +23,13 @@ ifeq ($(PLATFORM_ARCH),armv7l)
 endif

 #check if gtk exists and add it
-HAS_SYSTEM_GTK = $(shell pkg-config gtk+-2.0 --exists; echo $$?)
+HAS_SYSTEM_GTK = $(shell pkg-config gtk+-2.0 --exists; echo $?)

 #check if mpg123 exists and add it
-HAS_SYSTEM_MPG123 = $(shell pkg-config libmpg123 --exists; echo $$?)
+HAS_SYSTEM_MPG123 = $(shell pkg-config libmpg123 --exists; echo $?)

 #check gstreamer version
-ifeq ($(shell pkg-config gstreamer-1.0 --exists; echo $$?),0)
+ifeq ($(shell pkg-config gstreamer-1.0 --exists; echo $?),0)
     GST_VERSION = 1.0
 else
     GST_VERSION = 0.10

but this error pops up:

g++ -g3 -Wall -fexceptions -march=native -mtune=native -I../../../libs/fmodex/include -I../../../libs/kiss/include -I../../../libs/openssl/include -I../../../libs/openssl/include/openssl -I../../../libs/poco/include -I../../../libs/portaudio/include -I../../../libs/rtAudio/include -I../../../libs/tess2/include -I../../../libs/openFrameworks -I../../../libs/openFrameworks/utils -I../../../libs/openFrameworks/types -I../../../libs/openFrameworks/sound -I../../../libs/openFrameworks/app -I../../../libs/openFrameworks/3d -I../../../libs/openFrameworks/gl -I../../../libs/openFrameworks/communication -I../../../libs/openFrameworks/graphics -I../../../libs/openFrameworks/events -I../../../libs/openFrameworks/math -I../../../libs/openFrameworks/video -MMD -MP -MF ../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/graphics/ofCairoRenderer.d -MT../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/graphics/ofCairoRenderer.o -o ../../../libs/openFrameworksCompiled/lib/linux/obj/Debug/libs/openFrameworks/graphics/ofCairoRenderer.o -c ../../../libs/openFrameworks/graphics/ofCairoRenderer.cpp
In file included from ../../../libs/openFrameworks/graphics/ofCairoRenderer.cpp:1:0:
../../../libs/openFrameworks/graphics/ofCairoRenderer.h:4:28: fatal error: cairo-features.h: No such file or directory
bilderbuchi commented 11 years ago

With the issue in the original description not being in develop and @arturoc having updated the release package on the website with a fix, I'm closing this issue. please report any different/further issues separately (but check if they occur in the current develop branch first) thanks everyone for the troubleshooting help!