Jump to content
Sign in to follow this  
Rafal.B

September Patch and FMX Linux - path problem

Recommended Posts

Hi everyone.
In short:
- I installed a clean D13 on my laptop
- I installed FMX Linux
- I configured all the necessary data for the Linux platform (Tools->Options->Deployment->etc.)
- I created a new, empty project (Target Platforms = Linux)
- I compiled and ran it without any problems
Then:

I installed the "RAD Studio 13 September Patch"
And the problems started. Attempting to compile the program (as above) results in errors:

[Fatal Error DCC] Project39.dpr(6): F2613 Unit "FMX.ScrollBox" not found.

  Project39.dpr(6): The object "FMX.ScrollBox" is used by the object "FMX.ScrollBox.Style"
  Project39.dpr(6): The object "FMX.ScrollBox.Style" is used by the object "FMX.Text.LinesLayout"
  Project39.dpr(6): The object "FMX.Text.LinesLayout" is used by the object "FMX.Text.SpellingManager"
  Project39.dpr(6): The object "FMX.Text.SpellingManager" is used by the object "FMX.Text.TextEditor"
  Project39.dpr(6): The object "FMX.Text.TextEditor" is used by the object "FMX.Text.InteractiveSelectors"
  Project39.dpr(6): The object "FMX.Text.InteractiveSelectors" is used by "FMX.Edit.Style.New"
  Project39.dpr(6): Entity "FMX.Edit.Style.New" is used by "FMX.Edit"
  Project39.dpr(6): Entity "FMX.Edit" is used by "FMX.Dialogs.Default"
  Project39.dpr(6): Entity "FMX.Dialogs.Default" is used by "FMX.Dialogs.Linux"
  Project39.dpr(6): Entity "FMX.Dialogs.Linux" is used by "FMX.Platform.Linux"
  Project39.dpr(6): Entity "FMX.Platform.Linux" is used by "FMX.Platform"
  Project39.dpr(6): Entity "FMX.Platform" is used by "FMX.DialogService.Sync"
  Project39.dpr(6): The "FMX.DialogService.Sync" entity is used by "FMX.Dialogs"
  Project39.dpr(6): The "FMX.Dialogs" entity is used by "FMX.Platform"

After some struggle, I found a solution:
Add:
"$(BDS)\source\fmx" to

"Tools->Options->Library->Library Path" or

"Project->Options->Compiling->Delphi Compilers->Search Path->..."

I was going to report this to QP, but...
I tried the same thing on a newly created virtual machine (Proxmox) and everything worked perfectly there.

I don't understand this and I don't know what the problem is.

Edited by Rafal.B

Share this post


Link to post

You must DELETE the file "FMX.ScrollBox.dcu" in:

 

C:\Program Files (x86)\Embarcadero\Studio\37.0\lib\linux64\release

C:\Program Files (x86)\Embarcadero\Studio\37.0\lib\linux64\debug

 

because it is in the FMXLinux distro.

P.S.: I don't know if those files should overwrite the same in FMXLinux distro .....

Edited by DelphiUdIT

Share this post


Link to post
15 minutes ago, DelphiUdIT said:

You must DELETE the file "FMX.ScrollBox.dcu" in:

 

C:\Program Files (x86)\Embarcadero\Studio\37.0\lib\linux64\release

C:\Program Files (x86)\Embarcadero\Studio\37.0\lib\linux64\debug

Thank you, it works.
However, the question remains why this sometimes happens.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×