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

Finding sphinxbase

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

jdbrody gravatar image

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

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
(message):
   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(PkgConfig)
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
1

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

jdbrody gravatar image

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

edit flag offensive delete link more
1

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

Asaad Irfan gravatar image

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

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

Stats

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

Seen: 662 times

Last updated: Oct 20 '15