You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I tried to build the caffe android lib by using Mac osx 10.9.5 & android-ndk-r10d
steps I followed
1.git clone --recursive https://github.com/sh1r0/caffe-android-lib.git cloned the source from this command
2.In terminal moved inside to this directory caffe-android-lib
3. Run the ./build.py $(NDK_PATH) script
\f0\fs22 \cf0 \CocoaLigature0 ownloading boost 1.55.0 please wait...
curl: (3) malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 357 100 357 0 0 52 0 0:00:06 0:00:06 --:--:-- 93 <html>\ <head>\ <title>302 Found</title>\ </head>\ <body>\ <h1>302 Found</h1>\ The resource was found at <a href="http://liquidtelecom.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2">http://liquidtelecom.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2</a>;\ you should be redirected automatically.\ \ \ </body>\ </html>Failed to download boost! Please download boost 1.55.0 manually\ and save it in this directory as boost_1_55_0.tar.bz2\ Android NDK: WARNING:/Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/Android.mk:caffe: non-system libraries in linker flags: -lboost_random-gcc-mt-1_55 -lboost_math_tr1-gcc-mt-1_55 -lboost_system-gcc-mt-1_55 -lboost_thread-gcc-mt-1_55 -lboost_date_time-gcc-mt-1_55 \ Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES \ Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the \ Android NDK: current module \ [armeabi-v7a] Compile++ arm : caffe <= caffe.pb.cc\ [armeabi-v7a] Compile++ arm : caffe <= blob.cpp\ [armeabi-v7a] Compile++ arm : caffe <= common.cpp\ In file included from /Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/caffe/src/caffe/common.cpp:6:0:\ /Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/caffe/include/caffe/util/rng.hpp:7:45: fatal error: boost/random/mersenne_twister.hpp: No such file or directory\ #include "boost/random/mersenne_twister.hpp"\ ^\ compilation terminated.\ make: *** [/Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/obj/local/armeabi-v7a/objs/caffe/caffe/src/caffe/common.o] Error 1\ Hubs-Mac-mini:caffe-android-lib hubmaci7$ \ }
It showed error on downloading a boost.
So I downloaded boost_1_55_0.tar.bz2 manually and included into caffe-android-lib directory and extracted it. again
Run the ./build.py $(NDK_PATH) script
showed the same error
The text was updated successfully, but these errors were encountered:
I didn't encounter this network error before, but build.py tells everything. Boost-for-Android is used to compile the main part of the Boost C++ Libraries for the Android platform. So you need to place boost_1_55_0.tar.bz2 into Boost-for-Android/, and also remove Boost-for-Android/build/ in case.
Thanks.
Now I tried to build the caffe android lib by using Mac osx 10.9.5 & android-ndk-r10d
steps I followed
1.
git clone --recursive https://github.com/sh1r0/caffe-android-lib.git
cloned the source from this command2.In terminal moved inside to this directory
caffe-android-lib
3. Run the
./build.py $(NDK_PATH)
script{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
{\fonttbl\f0\fnil\fcharset0 Menlo-Regular;}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
\f0\fs22 \cf0 \CocoaLigature0 ownloading boost 1.55.0 please wait...
curl: (3) malformed
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 357 100 357 0 0 52 0 0:00:06 0:00:06 --:--:-- 93
<html>\ <head>\ <title>302 Found</title>\ </head>\ <body>\ <h1>302 Found</h1>\ The resource was found at <a href="http://liquidtelecom.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2">http://liquidtelecom.dl.sourceforge.net/project/boost/boost/1.55.0/boost_1_55_0.tar.bz2</a>;\ you should be redirected automatically.\ \ \ </body>\ </html>Failed to download boost! Please download boost 1.55.0 manually\ and save it in this directory as boost_1_55_0.tar.bz2\ Android NDK: WARNING:/Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/Android.mk:caffe: non-system libraries in linker flags: -lboost_random-gcc-mt-1_55 -lboost_math_tr1-gcc-mt-1_55 -lboost_system-gcc-mt-1_55 -lboost_thread-gcc-mt-1_55 -lboost_date_time-gcc-mt-1_55 \ Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES \ Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the \ Android NDK: current module \ [armeabi-v7a] Compile++ arm : caffe <= caffe.pb.cc\ [armeabi-v7a] Compile++ arm : caffe <= blob.cpp\ [armeabi-v7a] Compile++ arm : caffe <= common.cpp\ In file included from /Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/caffe/src/caffe/common.cpp:6:0:\ /Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/jni/caffe/include/caffe/util/rng.hpp:7:45: fatal error: boost/random/mersenne_twister.hpp: No such file or directory\ #include "boost/random/mersenne_twister.hpp"\ ^\ compilation terminated.\ make: *** [/Users/hubmaci7/Pictures/Hubino/Jamal/caffe/caffe-android-lib/caffe-mobile/obj/local/armeabi-v7a/objs/caffe/caffe/src/caffe/common.o] Error 1\ Hubs-Mac-mini:caffe-android-lib hubmaci7$ \ }
It showed error on downloading a boost.
So I downloaded boost_1_55_0.tar.bz2 manually and included into caffe-android-lib directory and extracted it. again
Run the ./build.py $(NDK_PATH) script
showed the same error
The text was updated successfully, but these errors were encountered: