CMake compilation pxxx library Problems

Source: Internet
Author: User

1:

Environment: OS: win7 64; cmake: cmake-2.6.4-win32-x86; Library: XXX; msys: MSYS-1.0.11; mingw: mingw4.4.0; eclipse

Objective: To generate the xxx Library

Library dependency: see the http://podofo.sourceforge.net/

Problem description: after using the cmake-2.8.1-win32-x86 to compile XXX, using mingw4.4.0 to compile to 65% prompts an RC file error.

Solution: Use the cmake-2.6.4-win32-x86 to compile XXX, set the variable cmake-> cmake_rc_compiler to null, mingw will not report error (in the cmake-2.8.1-win32-x86

Empty, The cmake-2.8.1-win32-x86 will crash ).

Cause: Unknown

Second:

Environment: OS: win7 64; cmake: cmake-2.6.4-win32-x86; Library: XXX; msys: MSYS-1.0.11; mingw: mingw4.4.0; eclipse

Objective: To use the xxx Library

Library dependency: see the http://podofo.sourceforge.net/

Problem description: When the xxx library is used for compilation, the standard library to be referenced in makefile

Solution: After using cmake to import the database, search for the reference database in cmake-> cmake_c_standard_libraries.

Cause: Apparently

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.