Coder Social home page Coder Social logo

Comments (10)

traversaro avatar traversaro commented on September 23, 2024 1

YCM is supposed to provided a newer version of the UseSWIG.cmake file, but the relative files are not included in CMAKE_MODULE_PATH, probably because 3.8 is not present in this loop: https://github.com/robotology/ycm/blob/61d3a992c39bff30f80bc6fb46041588e517ab30/YCMConfig.cmake.in#L54 . @drdanz

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

Added testing on this option in Travis in #23 .

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

Interestingly, Travis is failing for a different problem ( https://travis-ci.org/robotology/robotology-superbuild/jobs/325479020 ):

[100%] Swig source
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:192: Warning 389: operator[] ignored (consider using %extend)
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:193: Warning 389: operator[] ignored (consider using %extend)
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:273: Warning 321: 'hash' conflicts with a built-in name in python
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/Portable.h:31: Error: Syntax error in input(3).
make[5]: *** [lib/python/yarpPYTHON_wrap.cxx] Error 1
make[4]: *** [bindings/CMakeFiles/_yarp_python.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [robotology/YARP/CMakeFiles/YCMStamp/YARP-build] Error 2
make[1]: *** [CMakeFiles/YARP.dir/all] Error 2
make: *** [all] Error 2

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

Interestingly I wrote the Travis to test the Python2 bindings, but YARP's Travis is testing its Python bindings with Python3 ( https://github.com/robotology/yarp/blob/992ec99d95cff898957c0ab6e2c8f7c9eb2fa0a6/.travis.yml#L85 ), but unfortunately RTF does not support Python3 (robotology/robot-testing-framework#37) : ( .

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

The swig error should be solved by b6a24bb (unfortunately the logic to check that swig must be at least version 3 is only available in devel).

from robotology-superbuild.

prashanthr05 avatar prashanthr05 commented on September 23, 2024
The swig error should be solved by b6a24bb (unfortunately the logic to check that swig must be at least version 3 is only available in devel).

Is this the error related to the Swig Source ?

[100%] Swig source
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:192: Warning 389: operator[] ignored (consider using %extend)
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:193: Warning 389: operator[] ignored (consider using %extend)
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/ConstString.h:273: Warning 321: 'hash' conflicts with a built-in name in python
/home/travis/build/robotology/robotology-superbuild/robotology/YARP/src/libYARP_OS/include/yarp/os/Portable.h:31: Error: Syntax error in input(3).
make[5]: *** [lib/python/yarpPYTHON_wrap.cxx] Error 1
make[4]: *** [bindings/CMakeFiles/_yarp_python.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [robotology/YARP/CMakeFiles/YCMStamp/YARP-build] Error 2
make[1]: *** [CMakeFiles/YARP.dir/all] Error 2
make: *** [all] Error 2

this one ?

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

Yes.

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

The original problem cannot be reproduced in Travis because the default Travis image have CMake 3.5 installed.

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

I had the same issue.

from robotology-superbuild.

traversaro avatar traversaro commented on September 23, 2024

I think this is only happening on YARP devel.
cc @anqingd

from robotology-superbuild.

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.