Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

build SDK issue #393

Closed
xuewenxu opened this issue Dec 14, 2017 · 9 comments
Closed

build SDK issue #393

xuewenxu opened this issue Dec 14, 2017 · 9 comments

Comments

@xuewenxu
Copy link

hi,
I'am build the SDK using ubuntu 16.04 and I want to get the executable file of SampleApp. When I excuted cmake command: cmake ../avs-device-sdk -DCMAKE_BUILD_TYPE=DEBUG -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_PREFIX_PATH="/usr/local" -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=../PortAudio/portaudio/lib/.libs -DPORTAU DIO_INCLUDE_DIR=../PortAudio/portaudio/include

error information:
-- The CXX compiler identification is GNU 5.4.0
-- 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
Creating the build directory for the AlexaClientSDK with build type: DEBUG
No keyword detector type specified, skipping build of keyword detector.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for modules 'gstreamer-1.0>=1.8;gstreamer-app-1.0>=1.8'

CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
build/cmake/MediaPlayer.cmake:14 (pkg_check_modules)
build/BuildDefaults.cmake:28 (include)
CMakeLists.txt:7 (include)

-- Configuring incomplete, errors occurred!

Note: GStreamer was installed from source and it's version is 1.10.4 . The installed path is /usr/local.

Please help me, thanks!

@sanjayrd
Copy link
Contributor

Hi @xuewenxu,

Do you have another version of GStreamer also located in "/usr/local"? It's possible that the SDK CMake command is picking up a different version of GStreamer located there that doesn't meet the minimum version requirements.

Thanks,
Sanjay

@anu-mathur
Copy link

Hi @xuewenxu

Can we talk more about your use case with the AVS Device SDK? Please fill out this Contact Form and I will get in touch with you.
Thanks

@mradulan
Copy link
Contributor

@xuewenxu , if the issue is resolved, can you close the ticket?

@xuewenxu
Copy link
Author

The issue is resolved,Thanks! Sorry, I'm forget to close.

@kylecombes
Copy link

What was the solution to this problem?

@yoelrc88
Copy link

yoelrc88 commented Feb 15, 2018

@xuewenxu Can you help here? I am having the same output as you did. Thank you

@yoelrc88
Copy link

yoelrc88 commented Feb 15, 2018

Hey @kylecombes , making sure I installed gtreamer again solved my issue.
sudo apt-get install libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-good

@celinval
Copy link
Contributor

Hi @kylecombes,

Can you double check if your gstreamer installation is ok? If you are still having problems, please create a new issue.

@kylecombes
Copy link

Hi @celinval and @yoelrc88,

Thanks for responding to my message. I'll pass this info along to the other person I was working with on this, but I'm not sure if he's still trying to fix it. I'll create another issue if we're still having problems.

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

No branches or pull requests

7 participants