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

Not working on Melodic + Ubuntu 18.04 #251

Open
wertig0n opened this issue Jun 9, 2019 · 2 comments
Open

Not working on Melodic + Ubuntu 18.04 #251

wertig0n opened this issue Jun 9, 2019 · 2 comments

Comments

@wertig0n
Copy link

wertig0n commented Jun 9, 2019

Tried to follow installation guide, but Sophus isn't cooperating. When I checkout a621ff and then subsequently try to make, I get:

[ 5%] Building CXX object CMakeFiles/Sophus.dir/sophus/so2.cpp.o /home/per/workspace/Sophus/sophus/so2.cpp: In constructor ‘Sophus::SO2::SO2()’: /home/per/workspace/Sophus/sophus/so2.cpp:32:26: error: lvalue required as left operand of assignment unit_complex_.real() = 1.; ^~ /home/per/workspace/Sophus/sophus/so2.cpp:33:26: error: lvalue required as left operand of assignment unit_complex_.imag() = 0.; ^~ CMakeFiles/Sophus.dir/build.make:65: recipe for target 'CMakeFiles/Sophus.dir/sophus/so2.cpp.o' failed make[2]: *** [CMakeFiles/Sophus.dir/sophus/so2.cpp.o] Error 1 CMakeFiles/Makefile2:144: recipe for target 'CMakeFiles/Sophus.dir/all' failed make[1]: *** [CMakeFiles/Sophus.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2

Trying to build from master is a no-go as well. Relevant information:

$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic

$ dpkg -l ros-melodic-desktop-full Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii ros-melodic-de 1.4.1-0bioni amd64 A metapackage to aggregate severa

$ g++ --version g++ (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Would appreciate any help available.

@Ador2
Copy link

Ador2 commented Jun 12, 2019

that Sophus commit is still not fixed.
see #237 (comment)

@guin18
Copy link

guin18 commented Nov 21, 2020

try solution in #237? I managed to fix it.

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

3 participants