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

make fails #1

Open
nishantsnair opened this issue Jun 16, 2021 · 2 comments
Open

make fails #1

nishantsnair opened this issue Jun 16, 2021 · 2 comments

Comments

@nishantsnair
Copy link

to follow your instructions to make the file I had to edit a lot of lines in the CMakeCache.txt and the makefile and the CMakeLists.txt. But it failed with a:
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
I tried deleting build and starting anew with cmake .. which succeeded but make that also fails with the same error

Full error log:

musafir@raspberrypi:~/vo/ARM_VO_pybind/vo_py/build $ make all -j4
[ 27%] Building CXX object CMakeFiles/ARMVO.dir/src/GRIC.cpp.o
[ 27%] Building CXX object CMakeFiles/ARMVO.dir/src/FAST_NEON.cpp.o
[ 27%] Building CXX object CMakeFiles/ARMVO.dir/src/ARM_VO.cpp.o
[ 36%] Building CXX object CMakeFiles/ARMVO.dir/src/detector.cpp.o
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
c++: error: unrecognized command line option ‘-msse4’
make[2]: *** [CMakeFiles/ARMVO.dir/build.make:90: CMakeFiles/ARMVO.dir/src/FAST_NEON.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/ARMVO.dir/build.make:104: CMakeFiles/ARMVO.dir/src/GRIC.cpp.o] Error 1
make[2]: *** [CMakeFiles/ARMVO.dir/build.make:118: CMakeFiles/ARMVO.dir/src/detector.cpp.o] Error 1
make[2]: *** [CMakeFiles/ARMVO.dir/build.make:76: CMakeFiles/ARMVO.dir/src/ARM_VO.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/ARMVO.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

@wuyuanmm
Copy link
Owner

wuyuanmm commented Nov 4, 2021

this code only run on SSE cpu( for example intel cpu), if cpu is arm arch, codes should be changed

@wuyuanmm
Copy link
Owner

wuyuanmm commented Nov 4, 2021

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

2 participants