tue-robotics / snowboy_ros

ROS wrapper for Kitt.ai's Snowboy hotword detection
MIT License
6 stars 2 forks source link

Install binaries, resources, and launchfiles #9

Closed mvollrath closed 7 years ago

mvollrath commented 7 years ago

Install everything needed to run snowboy.launch.

LoyVanBeek commented 7 years ago

Thnx Matt, the code looks OK.

But: I'm having some trouble making a .deb from this though:

roscd snowboy_ros; checkout pull request etc. 
bloom-generate rosdebian --os-name ubuntu --os-version xenial --ros-distro kinetic
fakeroot debian/rules binary
...
...
//ADVANCED property for variable: PYTHON_EXECUTABLE
PYTHON_EXECUTABLE-ADVANCED:INTERNAL=1
//This needs to be in PYTHONPATH when 'setup.py install' is called.
//  And it needs to match.  But setuptools won't tell us where
// it will install things.
PYTHON_INSTALL_DIR:INTERNAL=lib/python2.7/dist-packages

    cd /home/loy/ros/kinetic/system/src/snowboy_ros
dh_auto_configure: cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_INSTALL_PREFIX=/opt/ros/kinetic -DCMAKE_PREFIX_PATH=/opt/ros/kinetic returned exit code 1
debian/rules:26: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/home/loy/ros/kinetic/system/src/snowboy_ros'
debian/rules:23: recipe for target 'binary' failed
make: *** [binary] Error 2

I'm not quite new to the bloom-ing of packages, any help is welcome.

LoyVanBeek commented 7 years ago

Turns out: I forgot to install some ROS dependencies (audio-common-msgs) and did not clone snowboy_ros recursively, thus not having the source for snowboy itself :disappointed:

I get out a .deb, so approving PR and merging.