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

rosmake error #80

Open
antithing opened this issue Mar 18, 2015 · 3 comments
Open

rosmake error #80

antithing opened this issue Mar 18, 2015 · 3 comments

Comments

@antithing
Copy link

Hi! I am attempting to install lsd-slam on ubuntu 12.04, and ros fuerte.

I have cloned the git repository.

when i run 'rosmake lsd-slam'

it gives me:

...[ rosmake ] All 13 linessd_slam_core: 4.6 sec ] [ 1 Active 14/15 Complete ]
{-------------------------------------------------------------------------------
[ 7%] Built target ROSBUILD_gencfg_cpp
[ 7%] Built target rospack_gencfg
[ 7%] Built target rospack_genmsg_libexe
[ 7%] Built target rosbuild_precompile
[ 11%] Building CXX object CMakeFiles/lsdslam.dir/src/DataStructures/Frame.cpp.o
/tmp/ccyyUgwk.s: Assembler messages:
/tmp/ccyyUgwk.s:3188: Error: no such instruction: vfmsub312ss 4(%rcx),%xmm1,%xmm7' /tmp/ccyyUgwk.s:8998: Error: no such instruction:vfmadd312sd 0(%rbp),%xmm3,%xmm6'
/tmp/ccyyUgwk.s:9002: Error: no such instruction: vfmadd312sd 8(%rbp),%xmm3,%xmm5' /tmp/ccyyUgwk.s:9005: Error: no such instruction:vfmadd312sd 16(%rbp),%xmm3,%xmm4'
make[2]: *** [CMakeFiles/lsdslam.dir/src/DataStructures/Frame.cpp.o] Error 1
make[1]: *** [CMakeFiles/lsdslam.dir/all] Error 2
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package lsd_slam_core written to:
[ rosmake ] /home/b/.ros/rosmake/rosmake_output-20150318-154231/lsd_slam_core/build_output.log
[rosmake-1] Finished <<< lsd_slam_core [FAIL] [ 4.68 seconds ]
[ rosmake ] Halting due to failure in package lsd_slam_core.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 15 packages with 1 failures.
[ rosmake ] Summary output to directory

Any help much appreciated!

@xuetangli
Copy link

same issue. do you solve the problem?@antithing

@antithing
Copy link
Author

nope. Sadly I never got it to work. Good luck!

@Dvad
Copy link
Contributor

Dvad commented Jul 29, 2015

That happens in 12.04 with fairly new cpu and old gcc.
You can try to remove '-march=native' from the following line in CMakeLists.txt.

set(CMAKE_CXX_FLAGS
   "${CMAKE_CXX_FLAGS} ${SSE_FLAGS} -march=native  -std=c++0x"
) 

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