ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Finding sphinxbase

asked 2015-10-20 09:13:17 -0500

jdbrody gravatar image

updated 2015-10-20 13:13:00 -0500

gvdhoorn gravatar image

Hello, I am very new to ROS so please excuse me if this is a completely silly question.

I am trying to compile a package given to me by someone. I have an initialized ros_ws folder with the package in the src subdirectory. I type "catkin_make" and get the following error:

 -- checking for module 'sphinxbase'
 --   package 'sphinxbase' not found CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:283
   A required package was not found Call Stack (most recent call first):  
 /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:337 (_pkg_check_modules_internal)  
 sphinx_mcl/CMakeLists.txt:8 (pkg_check_modules)

Here's the first few lines of the CMakeLists.txt

cmake_minimum_required(VERSION 2.8.3) project(sphinx_mcl)

find_package(catkin REQUIRED COMPONENTS   roscpp )
pkg_check_modules(SPHINX REQUIRED sphinxbase)
pkg_check_modules(POCKETSPHINX REQUIRED pocketsphinx)

It finds pocketsphinx o.k. and I've installed (practically) every Ubuntu package I can think of with the name sphinx in it.

Any ideas?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-10-20 16:00:50 -0500

jdbrody gravatar image

Thanks Assad. Finally figured out that I was missing libsphinxbase-dev. New to Ubuntu too!

edit flag offensive delete link more

answered 2015-10-20 11:59:24 -0500

Asaad Irfan gravatar image

updated 2015-10-20 12:03:18 -0500

Have you tried re-installing the package 'pocketsphinx'? If not try:

sudo apt-get install ros-<distro>-pocketsphinx

Where <distro> is your ROS distribution ( groovy,hydro,indigo etc). I hope this helps. This tutorial here might prove helpful too because 'sphinx' also doesn't seem running perfectly.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-10-20 09:13:17 -0500

Seen: 404 times

Last updated: Oct 20 '15