You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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
changed the title
gstreamer1.0-... error on building examples
gstreamer1.0-... error on building examples [4414]
Jan 22, 2019
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
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 #46
16.04.1-Ubuntuubuntu0.1 amd64 [installed]Installed gstreamer:
gir1.2-gstreamer-1.0/xenial-updates,now 1.8.3-1
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-1
ubuntu0.1 all [installed]ubuntu0.1 amd64 [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
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-1
ubuntu0.1 amd64 [installed]ubuntu0.1 amd64 [installed,automatic]libgstreamer1.0-dev/xenial-updates,now 1.8.3-1
libreoffice-avmedia-backend-gstreamer/xenial-updates,now 1:5.1.6
rc2-0ubuntu1xenial4 amd64 [installed]The text was updated successfully, but these errors were encountered: