View Single Post
  #2   Spotlight this post!  
Unread 17-02-2015, 17:06
memyselfandi memyselfandi is offline
Registered User
FRC #3826
 
Join Date: Feb 2015
Location: United States
Posts: 2
memyselfandi is an unknown quantity at this point
Re: Team 900 - nVIDIA Jetson TK1 OpenCV Co-Processor

Team 3826 is trying to use the Jetson. We pulled the source code from the link "nVIDIA Jetson TK1 Code:". We've tried to compile it and are getting the following errors:

$ make
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mgb/900_opencv/frisbeelocating
Scanning dependencies of target testing
[ 50%] Building CXX object CMakeFiles/testing.dir/gpuTesting.cpp.o
c++: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
c++: error: unrecognized command line option ‘-mfpu=neon-vfpv4’
c++: error: unrecognized command line option ‘-mvectorize-with-neon-quad’
make[2]: *** [CMakeFiles/testing.dir/gpuTesting.cpp.o] Error 1
make[1]: *** [CMakeFiles/testing.dir/all] Error 2
make: *** [all] Error 2
[1]- Done emacs Makefile.cmake (wd: ~/900_opencv/frisbeelocating/CMakeFiles)
(wd now: ~/900_opencv/frisbeelocating)
[2]+ Done emacs CMakeCache.txt


I've found the -mcpu can be changed to -mtune using the same parameter to remove the -mcpu error, however, we don't see a work around for the other two errors.

We're compiling on ubuntu on a VirtualBox VM running on Win7 with the Jetson TK1 installed. Have this been seen before? Any suggestions?

Thank you.