BlackBerry Cascades Project Compile Error

Source: Internet
Author: User

Project in the SRC directory add a utils subdirectory, the following add a few CPP and H program files, in the project build process, always error

Undefined reference to Xxx.cpp


Troubleshooting: In the Eclipse console, the QCC compiled path does not contain the Utils subdirectory and the following program files and header files.

Analysis: Supposedly, the Cascades IDE can automatically scan the SRC directory under the file and directory changes, automatically put the SRC directory below all the subdirectories and the following files into the compilation path.


Reason: Determine wiped away, originally this project project file inside, is oneself writes the construction path sources headers and so on parameter.


Workaround: Modify the project file, such as Ddemo.pro, and add the last line to the include (CONFIG.PRI)

TEMPLATE = Apptarget = Ddemo


CONFIG + = qt warn_on debug_and_release cascades

LIBS + =-LQTLOCATIONSUBSET-LBBDATA-LBBNETWORK-LBBPLATFORM-LBBSYSTEM-LBB

Include (CONFIG.PRI)

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.