I made a first attempt to compile DPF on XE5. Apparently certain objects have been moved from FMX.Types to FMX.Graphics (TBitmap, TBrushKind) requiring that FMX.Graphics is added to the uses clause.
Will investigate further
Kind regards
Gernot
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With the latest code the MapView cannot be compiled, because the stringWithContentsOfURL function cannot be called with the "error" variable. I replaced it to "nil" for now.
The Runtime package cannot be compiled for iOS simulator because "E2202 Required package 'fmx' not found". Anyone else have this issue?
Update: if I comment out the fmx line in the DPFiOSPackagesRXE5.dpk it compiles for simulator. Does it needed then?
Last edit: Fenistil 2013-09-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Another issue:
However I can compile for Simulator it doesn't start. The simulator starts to load the app, and after the FM logo appears the app immediately quits. The delphi throws an "Unable to create process." error and stops the debug session. Same happens with a new blank firemonkey app. If I try to compile this empty app for device, I got that: "[DCC Fatal Error] F1026 File not found: 'ld.exe'". The ld.exe is the linker for ARM code, but only for android. I removed the Android target from the project, but it didn't make a sense. :(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I Fixed stringWithContentsOfURL compiling,
But your second issue, i think your delphi have a problem,
I installed XE5 and it works fine and i did not see this problem.You may need to reinstall it( i removed XE4 )
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've removed XE4 too, but maybe my XE5 has some issues, I'll give it a try today (maybe reinstall), but can you check me if you have the file "fmx" in your XE5\library\iossimulator? (Maybe the path isn't correct, I'm at work now, and here I don't have XE4 or XE5)
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I uninstalled XE5, removed all registry references and every files that do something with the Delphi. Installed it again and now it works like a charm :)
I installed the iOS package to it, but without adding {$D1} to DPFiOSPackagesRXE5.dpk it takes ages to compile. Babak, consider adding it to the framework (also to the Demos).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Babak,
I made a first attempt to compile DPF on XE5. Apparently certain objects have been moved from FMX.Types to FMX.Graphics (TBitmap, TBrushKind) requiring that FMX.Graphics is added to the uses clause.
Will investigate further
Kind regards
Gernot
That's correct.
AFAIK there were also some changes in stringWithContentsOfURL and UIScrollView.
~ Sunec
Last edit: Sunec 2013-09-15
Hi,
I've created a XE5 project files, and available in [code] section.
Regards
Related
Code: code
Last edit: Babak Yaghoobi 2013-09-17
With the latest code the MapView cannot be compiled, because the stringWithContentsOfURL function cannot be called with the "error" variable. I replaced it to "nil" for now.
The Runtime package cannot be compiled for iOS simulator because "E2202 Required package 'fmx' not found". Anyone else have this issue?
Update: if I comment out the fmx line in the DPFiOSPackagesRXE5.dpk it compiles for simulator. Does it needed then?
Last edit: Fenistil 2013-09-17
Another issue:
However I can compile for Simulator it doesn't start. The simulator starts to load the app, and after the FM logo appears the app immediately quits. The delphi throws an "Unable to create process." error and stops the debug session. Same happens with a new blank firemonkey app. If I try to compile this empty app for device, I got that: "[DCC Fatal Error] F1026 File not found: 'ld.exe'". The ld.exe is the linker for ARM code, but only for android. I removed the Android target from the project, but it didn't make a sense. :(
Hi Fenistil
I Fixed stringWithContentsOfURL compiling,
But your second issue, i think your delphi have a problem,
I installed XE5 and it works fine and i did not see this problem.You may need to reinstall it( i removed XE4 )
Regards
Hi!
Thanks for the fix.
I've removed XE4 too, but maybe my XE5 has some issues, I'll give it a try today (maybe reinstall), but can you check me if you have the file "fmx" in your XE5\library\iossimulator? (Maybe the path isn't correct, I'm at work now, and here I don't have XE4 or XE5)
Thanks
Hi Fenistil
FMX library is automatically added by Delphi, and exists in iossimulator and iosDevice library path.
regards
Thanks for checked it. I don't have fmx file there :S Maybe something went wrong with my intall :( I'll try to reinstall it today.
I uninstalled XE5, removed all registry references and every files that do something with the Delphi. Installed it again and now it works like a charm :)
I installed the iOS package to it, but without adding {$D1} to DPFiOSPackagesRXE5.dpk it takes ages to compile. Babak, consider adding it to the framework (also to the Demos).
Now with XE5 I can't compile for device. The compiler says:
I have added that Framework to the SDK, I have this file on the Mac here, and with XE4 I have no problem. Did anybody else meet this issue?
Hi Feni
In XE5 You must be add $(SDKROOT) the beginning of each path on remote machine value
like this: [ $(SDKROOT)/System/Library/Frameworks ]
Try this and click Update Local File Cache button.
Regards