rel_4.1.0 Library for compiling fingerprint recognition under windows

Source: Internet
Author: User

Website: http://www.cnblogs.com/darkknightzh/p/4867372.html. Without permission, reprint is strictly forbidden.

Not how to use Linux, for Msys and MinGW also basically useless, so compile rel_4.1.0 library, encountered a lot of problems. The steps to succeed are hereby collated.

Follow Rel_4.1.0/install_windows.txt's instructions:

1. Install Msys and MinGW

1) Download Msys and Mingw-get:

-Msys:http://sourceforge.net/projects/mingw-w64/files/external%20binary%20packages%20%28win64%20hosted%29/msys %20%2832-bit%29/msys-20111123.zip/download

-mingw-get:http://sourceforge.net/projects/mingw/files/installer/mingw-get/mingw-get-0.5-beta-20120426-1/ Mingw-get-0.5-mingw32-beta-20120426-1-bin.zip/download

2) Download the MinGW corresponding System package:

-MinGW (32-bit): http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal% 20builds/megasoft78/basic/mingw-w64-bin_i686-mingw_4.5.2_20110223_megasoft78.7z/download

-MinGW (64-bit): http://sourceforge.net/projects/mingw-w64/files/Multilib%20Toolchains%28Targetting%20Win32% 20and%20win64%29/megasoft78/mingw-w64-bin_x86_64-mingw_4.5.2_20110222_multilib_megasoft78.7z/download

Description: The 64-bit MinGW can compile 32-bit and 64-bit nbis binaries.

3) Unzip the MinGW installation package in 2) to "C:\mingw64\" or "C:\mingw32\"

4) Unzip the Msys installation package in 1) to "C:\msys\"

5) MinGW folder ("C:\mingw64\" or "C:\mingw32\") in the Mingw-get package extracted from 1) to 3)

6) Double-click on the Msys.bat in the folder in the 4) and run the following command:

/postinstall/pi. SH

For the prompt question, type ' Y ', which also provides a path of 3.

7) Run the following command to finalize the configuration of Msys and MinGW:

Install Mingw32-autotools

Description: FQ is required here. Started running many times, all prompt failed. After the final FQ can succeed ... Hey

2. Compiling rel_4.1.0

1) As above, install the Msys and MINGW environment.

2) Run the following command to set the compilation environment for Msys and MinGW:

./setup. sh <target installation dir>--msys [--stdlibs] [-- + |--]

Description: The <target installation dir> must be an absolute path and must be true, otherwise no such folder will be prompted. For example:

./setup. SH C:/src/nbis/main--msys--

Note: Because of not familiar with Linux, this step is not successful. Start prompt:

GCC file or directory gcc. Exe:no input Files/bin/setup. SH  221file-cannot determine target machine endianness!

In fact, there are am_big_endian.c in the rel_4.1.0 folder. Even when running

/rel_4. 1.0/setup. SH c:/msys/rel410--msys--

Still prompt for the above error.

After that, copy all the files inside the rel_4.1.0 to the C:/src/nbis/main folder, run the following (b) and (c) to succeed, but step 3) is not successful, the prompt cannot find the file.

Later, in a different way:

(a) Copy the rel_4.1.0 to the "C:\msys\" folder (where you don't know how the Linux folder for rel_4.1.0 is recognized, and thus changed to Rel410)

(b) Operation

CD rel410/

(c) Operation

./setup. SH c:/msys/rel410--msys--

Then this step succeeds.

3) (still within the rel410/folder) run:

 make Config

After that, run

 Make it

4) Run

 Make Install

5) Run

 Make Catalog

Then the compilation succeeds.

rel_4.1.0 Library for compiling fingerprint recognition under windows

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.