Reputation: 91
I'm trying to make the tensorflow c library work on raspberry pi3 B+ using the official guide: TensorFlow
when I try to compile with gcc the .c file, the result is:
//usr/local/lib/libtensorflow.so: file not recognized: File format not recognized
collect2: error: ld returned 1 exit status
I don't know now if this can work on raspberry
Upvotes: 1
Views: 431
Reputation: 1576
The page you linked says it's supported on Linux, 64-bit, x86. The Raspberry Pi has an ARM processor, so that library won't work at all.
Did you look at this page? In addition to Raspbian images, it has instructions for cross-compiling from source.
Upvotes: 2