Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gstreamer1.0-... error on building examples [4414] #382

Closed
binary42 opened this issue Jan 21, 2019 · 3 comments
Closed

gstreamer1.0-... error on building examples [4414] #382

binary42 opened this issue Jan 21, 2019 · 3 comments

Comments

@binary42
Copy link

Greetings, I am getting the following error trying to compile the examples and performance tests after running cmake with the appropriate build flags for each.

cmake: cmake -DTHIRDPARTY=ON -DBUILD_JAVA=ON -DCOMPILE_EXAMPLES=ON -DPERFORMANCE_TESTS=ON ..
-- Setting build type to 'Release' as none was specified.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring Fast RTPS
-- Version: 1.7.0
-- To change de version modify the file configure.ac
-- Performing Test SUPPORTS_CXX14
-- Performing Test SUPPORTS_CXX14 - Success
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- fastcdr library found...
-- Found asio: /home/binary9/dev/repos/Fast-RTPS/thirdparty/asio/asio/include
-- Found tinyxml2: /home/binary9/dev/repos/Fast-RTPS/thirdparty/tinyxml2
-- Found Java: /usr/bin/java (found suitable version "1.8.0.191", minimum required is "1.6") found components: Runtime
-- Found Gradle: /usr/bin/gradle
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'gstreamer-1.0>=1.4'
-- Found gstreamer-1.0, version 1.8.3
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.2", minimum required is "3")
-- Found Asio in /home/binary9/dev/repos/Fast-RTPS/thirdparty/asio/asio/include
-- Performing Test SUPPORTS_CXX11
-- Performing Test SUPPORTS_CXX11 - Success
-- Configuring DeadlineQoS example...
-- Configuring OwnershipStrengthQoS example...
-- Configuring HelloWorld example...
-- Configuring HelloWorld example...
-- Configuring HelloWorldTCP example...
-- Configuring Filtering example...
-- Configuring UserDefinedTransportExample...
-- Configuring Flow Control example...
-- Configuring ClientServerTest...
-- Configuring RTPSTest_as_socket...
-- Configuring RTPSTest_registered...
-- Configuring RTPSTest_persistent...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring UseCaseDemonstrator example...
-- Configuring StaticHelloWorld example...
-- Configuring XMLProfilesExample...
-- Configuring Benchmark...
-- Configuring done
-- Generating done
-- Build files have been written to:

Error after make:
Fast-RTPS/test/performance/VideoTestPublisher.h:26:45: fatal error: gstreamer-1.0/gst/app/gstappsrc.h: No such file or directory
compilation terminated.
test/performance/CMakeFiles/VideoTest.dir/build.make:62: recipe for target 'test/performance/CMakeFiles/VideoTest.dir/VideoTestPublisher.cpp.o' failed

I can find no other gstreamer package to install...what am I missing?

Thanks

Jim


Machine: Linux 4.15.0-43-generic #4616.04.1-Ubuntu
Installed gstreamer:
gir1.2-gstreamer-1.0/xenial-updates,now 1.8.3-1
ubuntu0.1 amd64 [installed]
gstreamer1.0-alsa/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.2 amd64 [installed]
gstreamer1.0-clutter-3.0/xenial,now 3.0.18-1 amd64 [installed]
gstreamer1.0-doc/xenial-updates,xenial-updates,now 1.8.3-1ubuntu0.1 all [installed]
gstreamer1.0-libav/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed]
gstreamer1.0-plugins-bad/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed]
gstreamer1.0-plugins-bad-faad/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed,automatic]
gstreamer1.0-plugins-bad-videoparsers/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed,automatic]
gstreamer1.0-plugins-base/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.2 amd64 [installed]
gstreamer1.0-plugins-base-apps/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.2 amd64 [installed]
gstreamer1.0-plugins-good/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.4 amd64 [installed]
gstreamer1.0-plugins-ugly/xenial-updates,now 1.8.3-1ubuntu0.1 amd64 [installed]
gstreamer1.0-plugins-ugly-amr/xenial-updates,now 1.8.3-1ubuntu0.1 amd64 [installed,automatic]
gstreamer1.0-pulseaudio/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.4 amd64 [installed]
gstreamer1.0-tools/xenial-updates,now 1.8.3-1
ubuntu0.1 amd64 [installed]
gstreamer1.0-x/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.2 amd64 [installed]
libgstreamer-plugins-bad1.0-0/xenial-updates,now 1.8.3-1ubuntu0.2 amd64 [installed,automatic]
libgstreamer-plugins-base1.0-0/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.2 amd64 [installed]
libgstreamer-plugins-good1.0-0/xenial-updates,xenial-security,now 1.8.3-1ubuntu0.4 amd64 [installed]
libgstreamer1.0-0/xenial-updates,now 1.8.3-1ubuntu0.1 amd64 [installed]
libgstreamer1.0-dev/xenial-updates,now 1.8.3-1
ubuntu0.1 amd64 [installed,automatic]
libreoffice-avmedia-backend-gstreamer/xenial-updates,now 1:5.1.6rc2-0ubuntu1xenial4 amd64 [installed]

@richiware
Copy link
Member

You need the development packages which include the header files and so on. Because our video performance tools compile against GStreamer. For example the development package of the main Ubuntu Gstreamer package is libgstreamer1.0-dev.

@richiware richiware changed the title gstreamer1.0-... error on building examples gstreamer1.0-... error on building examples [4414] Jan 22, 2019
@binary42
Copy link
Author

Hi Ricardo,
Thanks for the reply, sadly, I have that package already and the error persisted. However, installing libgstreamermm-1.0-dev seems to have worked. Thanks

@richiware
Copy link
Member

Great!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants