Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erro when making install #10

Open
EricWang1hitsz opened this issue Sep 6, 2019 · 4 comments
Open

Erro when making install #10

EricWang1hitsz opened this issue Sep 6, 2019 · 4 comments

Comments

@EricWang1hitsz
Copy link

I met thus a problem when I make install hpp-affordance:

/home/hit/Non_Catkin_Package/hpp-affordance/include/hpp/affordance/operations.hh:96:36: error: ‘const class Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double, double>, const Eigen::Matrix<double, 3, 1>, const Eigen::Matrix<double, 3, 1> >’ has no member named ‘sqrLength’ return ((zWorld_ - normal).sqrLength() < margin_); ^

The output of cmake:

-- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") Warning: failed to compute the version number, 'git describe' failed: fatal: No names found, cannot describe anything. -- Performing Test R-pedantic -- Performing Test R-pedantic - Success -- Performing Test R-Wno-long-long -- Performing Test R-Wno-long-long - Success -- Performing Test R-Wall -- Performing Test R-Wall - Success -- Performing Test R-Wextra -- Performing Test R-Wextra - Success -- Performing Test R-Wcast-align -- Performing Test R-Wcast-align - Success -- Performing Test R-Wcast-qual -- Performing Test R-Wcast-qual - Success -- Performing Test R-Wformat -- Performing Test R-Wformat - Success -- Performing Test R-Wwrite-strings -- Performing Test R-Wwrite-strings - Success -- Performing Test R-Wconversion -- Performing Test R-Wconversion - Success -- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.58.0 -- Found the following Boost libraries: -- filesystem -- system -- thread -- program_options -- unit_test_framework -- chrono -- date_time -- atomic -- eigen3 >= 3.2 is required. -- Checking for module 'eigen3 >= 3.2' -- Found eigen3 , version 3.3.7 -- Pkg-config module eigen3 v3.3.7 has been detected with success. -- hpp-fcl >= 0.2.9 is required. -- Checking for module 'hpp-fcl >= 0.2.9' -- Found hpp-fcl , version 1.1.3 -- Pkg-config module hpp-fcl v1.1.3 has been detected with success. -- Doxygen rendering: using LaTeX backend -- Configuring done -- Generating done -- Build files have been written to: /home/hit/Non_Catkin_Package/hpp-affordance/build

I think I have installed all the dependencies. And I search "eigen sqrLength()" on Google, I failed to find the following topic about it.

How to solve this problem?

Thank you very much.

@pFernbach
Copy link
Member

Hello, which branch/tag are you trying to install ? On the master branch at this line the method squaredNorm is called and not sqrLength, this last method was used for FCL type instead of Eigen.

Also, if you don't plan to modify/contribute to this package, we recommend that you install the latest release from robotpkg instead of building it from sources. (We actually recommend that for all the Humanoid-Path-Planner packages).

http://robotpkg.openrobots.org/debian.html

@pFernbach
Copy link
Member

I just found out that the Readme was not up to date, did you clone the repository with this link provided in the readme : git clone https://github.com/anna-seppala/hpp-affordance.git ?

If yes, your problem come from this. I updated the Readme, sorry about this.

@EricWang1hitsz
Copy link
Author

I installed the HPP Library through with devel branch through auto-install-hpp.sh script. Now, I installed the hpp-affordance with master branch.

@EricWang1hitsz
Copy link
Author

I just found out that the Readme was not up to date, did you clone the repository with this link provided in the readme : git clone https://github.com/anna-seppala/hpp-affordance.git ?

If yes, your problem come from this. I updated the Readme, sorry about this.

It works ! Thanks so much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants