GithubHelp home page GithubHelp logo

Comments (8)

EdsterG avatar EdsterG commented on August 20, 2024

I haven't compiled with cloudprocpy however it's hard to diagnose the problem with so little information. What system are you compiling on? What version of python are you using? Can you copy/paste the output from cmake?

from trajopt.

JulianYG avatar JulianYG commented on August 20, 2024

I'm using ubuntu 14.04, and python 2.7.6. I tried to run cmake with BUILD_CLOUDPROC option on, and after that the make was successful. I then added the trajopt/build/lib and trajopt/ into .bashrc, but when I import that line I got the error. The output from cmake is:

cmake .. -DBUILD_CLOUDPROC=ON-- Boost version: 1.54.0

-- Found the following Boost libraries:
-- system
-- python
-- thread
-- program_options
adding test with path /home/cvgl_ros/installed_libraries/trajopt/python_examples/arm_to_joint_target.py
python exc /home/cvgl_ros/installed_libraries/anaconda2/bin/python
adding test with path /home/cvgl_ros/installed_libraries/trajopt/python_examples/arm_to_cart_target.py
python exc /home/cvgl_ros/installed_libraries/anaconda2/bin/python
adding test with path /home/cvgl_ros/installed_libraries/trajopt/python_examples/fullbody_plan.py
python exc /home/cvgl_ros/installed_libraries/anaconda2/bin/python
adding test with path /home/cvgl_ros/installed_libraries/trajopt/python_examples/position_base.py
python exc /home/cvgl_ros/installed_libraries/anaconda2/bin/python
adding test with path /home/cvgl_ros/installed_libraries/trajopt/python_examples/this_side_up.py
python exc /home/cvgl_ros/installed_libraries/anaconda2/bin/python
-- Could NOT find GUROBI (missing: GUROBI_LIBRARY GUROBI_CXX_LIBRARY GUROBI_INCLUDE_DIR)
Gurobi not found. If you want to use Gurobi, set the GUROBI_HOME variable
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- python
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- date_time
-- iostreams
-- serialization
-- checking for module 'openni-dev'
-- package 'openni-dev' not found
-- checking for module 'openni-dev'
-- package 'openni-dev' not found
-- checking for module 'openni-dev'
-- package 'openni-dev' not found
-- looking for PCL_COMMON
-- looking for PCL_OCTREE
-- looking for PCL_IO
-- looking for PCL_KDTREE
-- looking for PCL_SEARCH
-- looking for PCL_SAMPLE_CONSENSUS
-- looking for PCL_FILTERS
-- looking for PCL_FEATURES
-- looking for PCL_KEYPOINTS
-- looking for PCL_GEOMETRY
-- looking for PCL_SEGMENTATION
-- looking for PCL_VISUALIZATION
-- looking for PCL_OUTOFCORE
-- looking for PCL_REGISTRATION
-- looking for PCL_RECOGNITION
-- looking for PCL_SURFACE
-- looking for PCL_PEOPLE
-- looking for PCL_TRACKING
-- looking for PCL_APPS
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (Required is at least version "2")
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- python
-- Configuring done
-- Generating done
-- Build files have been written to: /home/cvgl_ros/installed_libraries/trajopt/build

Thanks!

from trajopt.

EdsterG avatar EdsterG commented on August 20, 2024

Do you have PCL installed? If so what version is installed?

from trajopt.

JulianYG avatar JulianYG commented on August 20, 2024

We are using PCL 1.7. Thanks!

from trajopt.

mzwang828 avatar mzwang828 commented on August 20, 2024

Hi Julian,

Did you solve this problem by any chance? I'm having the exactly same issue when I'm importing the cloudprocpy library. Thanks!

from trajopt.

JulianYG avatar JulianYG commented on August 20, 2024

@mzwang828 I haven't solved it. Let me know if you do!

from trajopt.

mzwang828 avatar mzwang828 commented on August 20, 2024

@JulianYG Yes, I found a solution. Please check this repo: https://github.com/erictzeng/trajopt
You can either use this version or just replace the original cloudproc.cpp and cloudproc.hpp files. I replaced the two files and now it works.

from trajopt.

JulianYG avatar JulianYG commented on August 20, 2024

@mzwang828 Thank you so much!

from trajopt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.