Compiling Lapack with Android NDK

Source: Internet
Author: User
Tags lapack

Recently there was a need for this, but I looked it up on the internet and barely spoke about it. Later, I discovered a foreign Daniel project on GitHub. Pulled down himself compiled a bit unexpectedly passed, recorded as follows:

1. Download the code from the Https://github.com/simonlynen/android_libs URL.

2. Create a new project in Eclipse, select Android Project from Existing code, then select the Lapack folder in the first step

3. Right-click Project->android tools->add Native Support

4. Directly build the entire project, at this time will report some errors, generally speaking, include the path is not caused, correct can

5. Install to the phone, run the following interface

It should be noted that testclapack.cpp this file, the call F2C_DTRSM function will be an error, after the function is commented out, the other functions run is no problem.

Finally put a lapack bag, sometimes GitHub will be wall

http://files.cnblogs.com/hrlnw/lapack.7z

Compiling Lapack with Android NDK

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.