Get error F1026: File not found: 'True.dpr' when Building XE5 Project in FinalBuilder 7.0.0.2538

When I create a new C++ project in XE5 that contains C++ and Delphi code, I can successfully Build the project within XE5. When I try to Build the Project using FinalBuilder, it displays this “File not found error.”.

NOTE: If I remove the Delphi source file from the project, FinalBuilder successfully builds the project, which indicates that the issue is with having a Delphi source file within the project. 

Here is some text from the FinalBuilder Build Log related to this error.

C:\Program Files\Embarcadero\RAD Studio\12.0\bin\dcc32.exe -$O- -$D0 -B  -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG;_DEBUG -I"c:\program files\embarcadero\rad studio\12.0\lib\Win32\release";“C:\Users\Safersleep\Documents\RAD Studio\12.0\Imports”;“c:\program files\embarcadero\rad studio\12.0\Imports”;“C:\Users\Public\Documents\RAD Studio\12.0\Dcp”;“c:\program files\embarcadero\rad studio\12.0\include”;“C:\Program Files\Raize\CS5\Lib\RS-XE5\Win32”;“C:\Program Files\DevExpress VCL\Library\RS19”;“C:\Program Files\DevExpress VCL\ExpressCore Library\Sources”;“C:\Program Files\DevExpress VCL\XP Theme Manager\Sources”;“C:\Program Files\DevExpress VCL\ExpressGDI+ Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressCommon Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLibrary\Sources”;“C:\Program Files\DevExpress VCL\ExpressPageControl\Sources”;“C:\Program Files\DevExpress VCL\ExpressDataController\Sources”;“C:\Program Files\DevExpress VCL\ExpressEditors Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressExport Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLayout Control\Sources”;“C:\Program Files\DevExpress VCL\ExpressQuantumGrid\Sources”;“C:\Program Files\DevExpress VCL\ExpressMemData\Sources”;“C:\Program Files\DevExpress VCL\ExpressSkins Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressPrinting System\Sources”;“C:\Program Files\DBISAM 4 VCL-STD-SRC\RAD Studio XE5 (C++ Win32)\code”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;c:\lib\jcl\lib\d19\win32;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Common”;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Win32\Release\Delphi19”;“C:\Program Files\EurekaLab\EurekaLog 7\Source\Extrass”;“c:\program files\embarcadero\rad studio\12.0\bin” -LE"C:\Users\Public\Documents\RAD Studio\12.0\BPL" -NU.\Win32\Debug -NSWinapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap -O"c:\program files\embarcadero\rad studio\12.0\lib\Win32\release";“C:\Users\Safersleep\Documents\RAD Studio\12.0\Imports”;“c:\program files\embarcadero\rad studio\12.0\Imports”;“C:\Users\Public\Documents\RAD Studio\12.0\Dcp”;“c:\program files\embarcadero\rad studio\12.0\include”;“C:\Program Files\Raize\CS5\Lib\RS-XE5\Win32”;“C:\Program Files\DevExpress VCL\Library\RS19”;“C:\Program Files\DevExpress VCL\ExpressCore Library\Sources”;“C:\Program Files\DevExpress VCL\XP Theme Manager\Sources”;“C:\Program Files\DevExpress VCL\ExpressGDI+ Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressCommon Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLibrary\Sources”;“C:\Program Files\DevExpress VCL\ExpressPageControl\Sources”;“C:\Program Files\DevExpress VCL\ExpressDataController\Sources”;“C:\Program Files\DevExpress VCL\ExpressEditors Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressExport Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLayout Control\Sources”;“C:\Program Files\DevExpress VCL\ExpressQuantumGrid\Sources”;“C:\Program Files\DevExpress VCL\ExpressMemData\Sources”;“C:\Program Files\DevExpress VCL\ExpressSkins Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressPrinting System\Sources”;“C:\Program Files\DBISAM 4 VCL-STD-SRC\RAD Studio XE5 (C++ Win32)\code”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;c:\lib\jcl\lib\d19\win32;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Common”;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Win32\Release\Delphi19”;“C:\Program Files\EurekaLab\EurekaLog 7\Source\Extrass”;“c:\program files\embarcadero\rad studio\12.0\bin” -R"c:\program files\embarcadero\rad studio\12.0\lib\Win32\release";“C:\Users\Safersleep\Documents\RAD Studio\12.0\Imports”;“c:\program files\embarcadero\rad studio\12.0\Imports”;“C:\Users\Public\Documents\RAD Studio\12.0\Dcp”;“c:\program files\embarcadero\rad studio\12.0\include”;“C:\Program Files\Raize\CS5\Lib\RS-XE5\Win32”;“C:\Program Files\DevExpress VCL\Library\RS19”;“C:\Program Files\DevExpress VCL\ExpressCore Library\Sources”;“C:\Program Files\DevExpress VCL\XP Theme Manager\Sources”;“C:\Program Files\DevExpress VCL\ExpressGDI+ Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressCommon Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLibrary\Sources”;“C:\Program Files\DevExpress VCL\ExpressPageControl\Sources”;“C:\Program Files\DevExpress VCL\ExpressDataController\Sources”;“C:\Program Files\DevExpress VCL\ExpressEditors Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressExport Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLayout Control\Sources”;“C:\Program Files\DevExpress VCL\ExpressQuantumGrid\Sources”;“C:\Program Files\DevExpress VCL\ExpressMemData\Sources”;“C:\Program Files\DevExpress VCL\ExpressSkins Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressPrinting System\Sources”;“C:\Program Files\DBISAM 4 VCL-STD-SRC\RAD Studio XE5 (C++ Win32)\code”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;c:\lib\jcl\lib\d19\win32;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Common”;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Win32\Release\Delphi19”;“C:\Program Files\EurekaLab\EurekaLog 7\Source\Extrass”;“c:\program files\embarcadero\rad studio\12.0\bin” -U"c:\program files\embarcadero\rad studio\12.0\lib\Win32\release";“C:\Users\Safersleep\Documents\RAD Studio\12.0\Imports”;“c:\program files\embarcadero\rad studio\12.0\Imports”;“C:\Users\Public\Documents\RAD Studio\12.0\Dcp”;“c:\program files\embarcadero\rad studio\12.0\include”;“C:\Program Files\Raize\CS5\Lib\RS-XE5\Win32”;“C:\Program Files\DevExpress VCL\Library\RS19”;“C:\Program Files\DevExpress VCL\ExpressCore Library\Sources”;“C:\Program Files\DevExpress VCL\XP Theme Manager\Sources”;“C:\Program Files\DevExpress VCL\ExpressGDI+ Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressCommon Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLibrary\Sources”;“C:\Program Files\DevExpress VCL\ExpressPageControl\Sources”;“C:\Program Files\DevExpress VCL\ExpressDataController\Sources”;“C:\Program Files\DevExpress VCL\ExpressEditors Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressExport Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressLayout Control\Sources”;“C:\Program Files\DevExpress VCL\ExpressQuantumGrid\Sources”;“C:\Program Files\DevExpress VCL\ExpressMemData\Sources”;“C:\Program Files\DevExpress VCL\ExpressSkins Library\Sources”;“C:\Program Files\DevExpress VCL\ExpressPrinting System\Sources”;“C:\Program Files\DBISAM 4 VCL-STD-SRC\RAD Studio XE5 (C++ Win32)\code”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;“c:\program files\embarcadero\rad studio\12.0\lib\SDL\X5”;c:\lib\jcl\lib\d19\win32;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Common”;“C:\Program Files\EurekaLab\EurekaLog 7\Lib\Win32\Release\Delphi19”;“C:\Program Files\EurekaLab\EurekaLog 7\Source\Extrass”;“c:\program files\embarcadero\rad studio\12.0\bin” -V -VN True -JPHNE -NB"C:\Users\Public\Documents\RAD Studio\12.0\DCP" -NO.\Win32\Debug -W^ -W-INVALID_DIRECTIVE --BCB -CG pasall.tmp      (TaskId:66)
The “DCC” task is using “dcc” from “C:\Program Files\Embarcadero\RAD Studio\12.0\bin\dcc32.exe”. (TaskId:66)
Embarcadero Delphi for Win32 compiler version 26.0 (TaskId:66)
Copyright © 1983,2013 Embarcadero Technologies, Inc. (TaskId:66)
C:\Program Files\Embarcadero\RAD Studio\12.0\Bin\CodeGear.Cpp.Targets(1913,5): error F1026: File not found: 'True.dpr’
The command exited with code 1. (TaskId:66)


Hi Dean

Are you able to build this project from the command line with msbuild? Also make sure you are specifying the correct config. Also, if this was a cbproj file that was upgraded from an earlier version, it might be worth renaming it and recreating it in XE5, the rad studio IDE has a terrible record when it comes to upgrading dproj and cbproj files (especially when using configuration inheritance).

Hi Vincent,

I have finally managed to find the problem!!!.

After reading lots of articles on XE5 Issues (and spinning my wheels around and around!!), I finally tracked it down to an issue with XE5 itself!!!
Under XE5 Delphi Compiler Linking Options, the “Map file” option was set to “True”, but the IDE options for this setting are “Off, Segments, Public or Detailed”. Once I changed this setting
from “True” to one of the correct field options, it worked!!!

Thanks for your prompt reply to “what I thought was a FinalBuilder” issue. 

I hope my solution saves other people from a lot of wasted time and effort!!!

Regards
Dean

Hi Dean

Glad you found it. This sort of issue with dproj/cbproj files is unfortunately all too common, it’s been poorly managed by embarcadero. I’ve been telling about these issues for years, and even explained how it’s causing us unecessary support work but it falls on deaf ears, they are too busy chasing the mobile dollars to fix bugs.