e-lab / torch-toolbox

A collection of snippets and libraries for Torch from e-Lab
https://engineering.purdue.edu/elab/
199 stars 64 forks source link

Fail to install Video-decoder on TX1 #18

Closed deepcode123 closed 7 years ago

deepcode123 commented 7 years ago

Hi, I have an error when make Video-decoder in tx1. This is the error:

gcc: error: unrecognized command line option ‘-mfpu=neon’ Makefile:51: recipe for target 'video_decoder.o' failed make: *** [video_decoder.o] Error 1

Can this install on aarch64? Thanks!

mvitez commented 7 years ago

We have never tried aarch64, but TX1 is not aarch64, it's arm (32 bit), besides having a 64 bit CPU. We compiled it there successfully, so I don't what happened, maybe you are using another version of the OS that we were using. Try to remove -mfpu=neon from the Makefile or try with other mfpu options (see gcc manual).

deepcode123 commented 7 years ago

hi, @mvitez Can I ask which OS you install in tx1? I installed jetpack 2.3 (ubuntu 16.04) in it, maybe this is the reason. Thanks!

mvitez commented 7 years ago

I don't have the TX1 physically here and I was not the person that installed the OS there, so I will come to you back later or the right person will answer you.

Atcold commented 7 years ago

Hi @deepcode123. Yes, with the latest JetPack (2.3), you get a 64 bit OS and CUDA 8. I've just updated our board and running some experiments since last week. I'll let you know when we figure out what's going on. I believe this issue https://github.com/torch/torch7/issues/766 might be related.

Atcold commented 7 years ago

@deepcode123, we've just patched it up. Please, give it a try and let us know if all is good now.

deepcode123 commented 7 years ago

Hi, @Atcold Thank you so much!! Everything works well.