Giter Site home page Giter Site logo

Comments (6)

solrex avatar solrex commented on July 22, 2024 1

@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.

Siddhant24 avatar Siddhant24 commented on July 22, 2024

@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.

Siddhant24 avatar Siddhant24 commented on July 22, 2024

@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.

solrex avatar solrex commented on July 22, 2024

@Siddhant24 Do you have "make" installed? Try "which make".

from caffe-mobile.

Siddhant24 avatar Siddhant24 commented on July 22, 2024

@solrex Yes I have "make" installed.
"which make" returns usr/bin/make

from caffe-mobile.

noob-ja avatar noob-ja commented on July 22, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.