Giter VIP home page Giter VIP logo

wrench-cone-lib's Issues

Cannot build examples

Hello,

I followed the instructions and installed the package using PID, but when I execute make build to build examples, I get the following error:
Running CMake to regenerate build system...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oguz/pid-workspace/packages/wrench-cone-lib/build/debug
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oguz/pid-workspace/packages/wrench-cone-lib/build/release
-- Configuring done
-- Generating done
-- Build files have been written to: /home/oguz/pid-workspace/packages/wrench-cone-lib/build
[ 60%] Built target reconfigure
[ 80%] [PID] Checking branch...
CMake Error at /home/oguz/pid-workspace/share/cmake/system/Check_PID_Package_Branch.cmake:27 (message):
[PID] ERROR : wrench-cone-lib must be built on a development branch
(integration or feature specific branch).

CMakeFiles/check-branch.dir/build.make:57: recipe for target 'CMakeFiles/check-branch' failed
make[3]: *** [CMakeFiles/check-branch] Error 1
CMakeFiles/Makefile2:259: recipe for target 'CMakeFiles/check-branch.dir/all' failed
make[2]: *** [CMakeFiles/check-branch.dir/all] Error 2
CMakeFiles/Makefile2:396: recipe for target 'CMakeFiles/build.dir/rule' failed
make[1]: *** [CMakeFiles/build.dir/rule] Error 2
Makefile:248: recipe for target 'build' failed
make: *** [build] Error 2

I get the same error even I turn examples OFF in ccmake.. and try building it.

Regards

API miss-matching

Hi Vincent!

I met the following problem during compilation:

[ 33%] Building CXX object src/CMakeFiles/wcl.dir/ContactSurface.cpp.o
cd /home/yuquan/local/wrench-cone-lib/build/src && /usr/bin/c++  -D_USE_MATH_DEFINES -Dwcl_EXPORTS -I/home/yuquan/local/wrench-cone-lib/build -I/home/yuquan/local/wrench-cone-lib/build/include -I/home/yuquan/local/wrench-cone-lib/include -I/home/yuquan/local/wrench-cone-lib/src -isystem /usr/local/include/eigen3  -Werror  -pedantic -Wno-long-long -Wall -Wextra -Wcast-align -Wcast-qual -Wformat -Wwrite-strings -Wconversion  -O2 -g -DNDEBUG -fPIC   -Dwcl_EXPORTS -std=gnu++11 -o CMakeFiles/wcl.dir/ContactSurface.cpp.o -c /home/yuquan/local/wrench-cone-lib/src/ContactSurface.cpp
/home/yuquan/local/wrench-cone-lib/src/ContactSurface.cpp: In function ‘wcl::ContactSurface wcl::rectangularSurface(double, double, const Vector3d&, const Matrix3d&, double, unsigned int)’:
/home/yuquan/local/wrench-cone-lib/src/ContactSurface.cpp:32:73: error: no matching function for call to ‘wcl::ContactSurface::ContactSurface(<brace-enclosed initializer list>)’
     return wcl::ContactSurface({position, rotation, p, mu, nrGenerators});
                                                                         ^
In file included from /home/yuquan/local/wrench-cone-lib/src/ContactSurface.cpp:19:0:
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note: candidate: wcl::ContactSurface::ContactSurface()
 struct WCL_DLLAPI ContactSurface {
                   ^
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note:   candidate expects 0 arguments, 1 provided
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note: candidate: wcl::ContactSurface::ContactSurface(const wcl::ContactSurface&)
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const wcl::ContactSurface&’
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note: candidate: wcl::ContactSurface::ContactSurface(wcl::ContactSurface&&)
/home/yuquan/local/wrench-cone-lib/include/wcl/ContactSurface.h:30:19: note:   no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘wcl::ContactSurface&&’
src/CMakeFiles/wcl.dir/build.make:65: recipe for target 'src/CMakeFiles/wcl.dir/ContactSurface.cpp.o' failed
make[2]: *** [src/CMakeFiles/wcl.dir/ContactSurface.cpp.o] Error 1
make[2]: Leaving directory '/home/yuquan/local/wrench-cone-lib/build'
CMakeFiles/Makefile2:1300: recipe for target 'src/CMakeFiles/wcl.dir/all' failed
make[1]: *** [src/CMakeFiles/wcl.dir/all] Error 2
make[1]: Leaving directory '/home/yuquan/local/wrench-cone-lib/build'
Makefile:143: recipe for target 'all' failed
make: *** [all] Error 2

Could you suggest a fix please?

Best,

Yuquan

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.