Menu

XE5

GJB
2013-09-14
2013-09-22
  • GJB

    GJB - 2013-09-14

    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

     
  • Sunec

    Sunec - 2013-09-15

    That's correct.

    AFAIK there were also some changes in stringWithContentsOfURL and UIScrollView.

    ~ Sunec

     

    Last edit: Sunec 2013-09-15
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-09-17

    Hi,

    I've created a XE5 project files, and available in [code] section.

    Regards

     

    Related

    Code: code


    Last edit: Babak Yaghoobi 2013-09-17
  • Fenistil

    Fenistil - 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
  • Fenistil

    Fenistil - 2013-09-18

    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. :(

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-09-18

    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

     
  • Fenistil

    Fenistil - 2013-09-18

    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

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-09-18

    Hi Fenistil

    FMX library is automatically added by Delphi, and exists in iossimulator and iosDevice library path.

    regards

     
  • Fenistil

    Fenistil - 2013-09-18

    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.

     
  • Fenistil

    Fenistil - 2013-09-18

    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).

     
  • Fenistil

    Fenistil - 2013-09-22

    Now with XE5 I can't compile for device. The compiler says:

    [DCC Error] E2597 ld: file not found: /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
    

    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?

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-09-22

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.