Comments (6)
@Siddhant24 I guess it's the NDK version problem. NDK version r16 (and later) changed a lot of things. Adding some special arguments or changing it to r15 could solve the problem. I'll re-check this problem and find a way to fix it.
from caffe-mobile.
@solrex I also posted this issue on stackoverflow. Some suggestions in the comments.
https://stackoverflow.com/questions/50777571/building-openblas-for-android
from caffe-mobile.
@solrex @zchrissirhcz
Using NDK version r15 resolved openBLAS build problem. Now I get the following errors:
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/CMakeForceCompiler.cmake:69 (message):
The CMAKE_FORCE_C_COMPILER macro is deprecated. Instead just set
CMAKE_C_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/home/sid/caffe-mobile/third_party/android-cmake/android.toolchain.cmake:1146 (CMAKE_FORCE_C_COMPILER)
/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:12 (project)
CMake Deprecation Warning at /usr/share/cmake-3.10/Modules/CMakeForceCompiler.cmake:83 (message):
The CMAKE_FORCE_CXX_COMPILER macro is deprecated. Instead just set
CMAKE_CXX_COMPILER and allow CMake to identify the compiler.
Call Stack (most recent call first):
/home/sid/caffe-mobile/third_party/android-cmake/android.toolchain.cmake:1158 (CMAKE_FORCE_CXX_COMPILER)
/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:91 (include)
CMakeLists.txt:12 (project)
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
See also "/home/sid/caffe-mobile/third_party/protobuf-3.1.0/.cbuild/CMakeFiles/CMakeOutput.log".
CMakeOutput.log has the following contents:
The target system is: Android - 1 - armv5te
The host system is: Linux - 4.15.0-22-generic - x86_64
from caffe-mobile.
@Siddhant24 Do you have "make" installed? Try "which make".
from caffe-mobile.
@solrex Yes I have "make" installed.
"which make" returns usr/bin/make
from caffe-mobile.
@Siddhant24
after hours of checking here and there,
i finally found the solution to the problem,
downgrade/upgrade cmake to 3.7.2
from caffe-mobile.
Related Issues (20)
- 定制版caffe HOT 4
- Mac系统下编译.build_android.sh问题 HOT 1
- I replaced a new test_image but the result is still 8? Does it really work? HOT 2
- 能提供下net.protobin的原文件net.prototxt HOT 1
- 请问加载forward模型占用的内存可以释放掉吗 HOT 5
- 编译失败 HOT 1
- Is SSD model supported? HOT 2
- How to build caffe.so? HOT 4
- compile libcaffe-jni.so issue HOT 1
- Failed to parse NetParameter file: /storage/emulated/0/lenet.protobin HOT 2
- ./tools/build_android.sh HOT 3
- protobin to prototxt HOT 1
- can not resolve protobin? HOT 2
- use protobin and caffemodel to inference, the inference result is not what i want? HOT 1
- ./build-openblas.sh: line 127: make: command not found HOT 1
- Porting network caffe on mobile caffe.
- caffe simple has been stoped HOT 3
- Faster-R-CNN with vgg16
- .so file for arm 64-bit HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caffe-mobile.