You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am on Ubuntu 20.04 and when making I got the following error:
Scanning dependencies of target procman-deputy
[ 95%] Building CXX object src/deputy/CMakeFiles/procman-deputy.dir/event_loop.cpp.o
[ 97%] Building CXX object src/deputy/CMakeFiles/procman-deputy.dir/procman_deputy.cpp.o
In file included from /home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp:14,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:9,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_desired_t.hpp: In static member function ‘static uint64_t procman_lcm::cmd_desired_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_desired_t.hpp:179:51: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
179 | const __lcm_hash_ptr cp = { p, cmd_desired_t::getHash };
| ~~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:9,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp: In static member function ‘static uint64_t procman_lcm::orders_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp:217:46: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
217 | const __lcm_hash_ptr cp = { p, orders_t::getHash };
| ~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp:14,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:11,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_status_t.hpp: In static member function ‘static uint64_t procman_lcm::cmd_status_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_status_t.hpp:215:50: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
215 | const __lcm_hash_ptr cp = { p, cmd_status_t::getHash };
| ~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:11,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp: In static member function ‘static uint64_t procman_lcm::deputy_info_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp:247:51: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
247 | const __lcm_hash_ptr cp = { p, deputy_info_t::getHash };
| ~~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
make[2]: *** [src/deputy/CMakeFiles/procman-deputy.dir/build.make:76: src/deputy/CMakeFiles/procman-deputy.dir/procman_deputy.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:414: src/deputy/CMakeFiles/procman-deputy.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Any ideas about what can be wrong?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I am on Ubuntu 20.04 and when making I got the following error:
Scanning dependencies of target procman-deputy
[ 95%] Building CXX object src/deputy/CMakeFiles/procman-deputy.dir/event_loop.cpp.o
[ 97%] Building CXX object src/deputy/CMakeFiles/procman-deputy.dir/procman_deputy.cpp.o
In file included from /home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp:14,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:9,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_desired_t.hpp: In static member function ‘static uint64_t procman_lcm::cmd_desired_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_desired_t.hpp:179:51: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
179 | const __lcm_hash_ptr cp = { p, cmd_desired_t::getHash };
| ~~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:9,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp: In static member function ‘static uint64_t procman_lcm::orders_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/orders_t.hpp:217:46: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
217 | const __lcm_hash_ptr cp = { p, orders_t::getHash };
| ~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp:14,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:11,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_status_t.hpp: In static member function ‘static uint64_t procman_lcm::cmd_status_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/cmd_status_t.hpp:215:50: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
215 | const __lcm_hash_ptr cp = { p, cmd_status_t::getHash };
| ~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
In file included from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.hpp:11,
from /home/mmint/InstalledProjects/procman/src/deputy/procman_deputy.cpp:21:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp: In static member function ‘static uint64_t procman_lcm::deputy_info_t::_computeHash(const __lcm_hash_ptr*)’:
/home/mmint/InstalledProjects/procman/build/include/lcmtypes/procman_lcm/deputy_info_t.hpp:247:51: error: invalid conversion from ‘int64_t ()()’ {aka ‘long int ()()’} to ‘void*’ [-fpermissive]
247 | const __lcm_hash_ptr cp = { p, deputy_info_t::getHash };
| ~~~~~~~~~~~~~~~^~~~~~~
| |
| int64_t ()() {aka long int ()()}
make[2]: *** [src/deputy/CMakeFiles/procman-deputy.dir/build.make:76: src/deputy/CMakeFiles/procman-deputy.dir/procman_deputy.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:414: src/deputy/CMakeFiles/procman-deputy.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Any ideas about what can be wrong?
Thanks!
The text was updated successfully, but these errors were encountered: