photoneo / phoxi_camera

ROS Package for PhoXi Scanner/Camera. If you like us, STAR US! :P
MIT License
44 stars 33 forks source link

Installation instructions broken on 16.04/Kinetic #9

Closed mmatl closed 6 years ago

mmatl commented 6 years ago

Hi! I tried installing this ROS package on Ubuntu 16.04 with ROS Kinetic, and I'm running into the following error after running catkin_make:

Base path: /home/mmatl/Downloads/tmp
Source space: /home/mmatl/Downloads/tmp/src
Build space: /home/mmatl/Downloads/tmp/build
Devel space: /home/mmatl/Downloads/tmp/devel
Install space: /home/mmatl/Downloads/tmp/install
####
#### Running command: "cmake /home/mmatl/Downloads/tmp/src -DCATKIN_DEVEL_PREFIX=/home/mmatl/Downloads/tmp/devel -DCMAKE_INSTALL_PREFIX=/home/mmatl/Downloads/tmp/install -G Unix Makefiles" in "/home/mmatl/Downloads/tmp/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/mmatl/Downloads/tmp/devel
-- Using CMAKE_PREFIX_PATH: /home/mmatl/Downloads/tmp/devel;/opt/ros/kinetic
-- This workspace overlays: /home/mmatl/Downloads/tmp/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/mmatl/Downloads/tmp/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.8
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 1 packages in topological order:
-- ~~  - phoxi_camera
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'phoxi_camera'
-- ==> add_subdirectory(phoxi_camera)
CMake Error at phoxi_camera/CMakeLists.txt:4 (find_package):
  Could not find a package configuration file provided by "PhoXi" with any of
  the following names:

    PhoXiConfig.cmake
    phoxi-config.cmake

  Add the installation prefix of "PhoXi" to CMAKE_PREFIX_PATH or set
  "PhoXi_DIR" to a directory containing one of the above files.  If "PhoXi"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!
See also "/home/mmatl/Downloads/tmp/build/CMakeFiles/CMakeOutput.log".
See also "/home/mmatl/Downloads/tmp/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

It seems that the phoxi-config.cmake file is missing. Any suggestions on how to fix this?

Also, FYI, the Ubuntu 16.04 client from your downloads page totally crashes for me as well, so I don't have any way to access the camera.

duartepolonia commented 6 years ago

I had the same issue (also with ubuntu 16 and ROS kinetic). Appreciate any help.

Thanks

BorisLesay commented 6 years ago

Try to reinstall PhoXi Controll and if there are still the same issues, if no than provide us with result from command

env
duartepolonia commented 6 years ago

mmatl,

To solve that error you have also to download and install the original driver from the photoneo website:http://www.photoneo.com/download/ . The ROS package makes the link between ROS and that driver, so you need that to do the catkin_make.