Watch, Follow, &
Connect with Us

Please visit our new home

Public Report
Report From: Delphi-BCB/IDE/Build Tools    [ Add a report in this area ]  
Report #:  122236   Status: Closed
[iOS] Cannot compile units in different directories
Project:  C++Builder Build #:  19.0.14356.6604
Version:    19.2 Submitted By:   Ramon Arguelles
Report Type:  Basic functionality failure Date Reported:  2/4/2014 7:51:28 AM
Severity:    Critical / Show Stopper Last Updated: 4/15/2014 6:16:39 PM
Platform:    Apple's mobile OS Internal Tracking #:   47293
Resolution: Fixed (Resolution Comments) Resolved in Build: : XE6
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
When you create and iOS application using C++Builder XE5 Update2, all forms must be in the project directory, otherwise you get the following error:

[CLANG Error] processing resource 'Unit2.fmx', -1
Steps to Reproduce:
1. Create a new FireMonkey C++Builder Project and store it in directory A
2. It also stores Form1 in the same directory
3. Add a new FireMonkey mobile form C++Builder, Unit2, but store it in a different directory, for instance directory B
4. When you compile the application, you get the following message:
[CLANG Error] processing resource 'Unit2.fmx', -1

The only way to compile is to move Unit2 to the same directory as the project

Tomohiro Takahashi at 2/4/2014 7:40:37 PM -
Could you please attach sample project to reproduce/confirm your issue?

Ramon Arguelles at 2/5/2014 2:44:45 AM -
I have upload an example.
It constists in project in directory A which uses a form in directory B

I get:

bcciosarm command line for "..\b\Unit2.cpp"
[CLANG Error] processing resource 'Unit2.fmx', -1

Server Response from: ETNACODE01