DCC Error E2597 when compiling for iOS Device Debug/Adhoc/AppStore on XE7

Hi
XE 7 has no errors when compiling for iOS Simulator.
However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error

[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)

Anyone can help?

thanks
chris
0
Chuah
10/7/2014 1:01:01 AM
embarcadero.delphi.ios 412 articles. 0 followers. Follow

26 Replies
2693 Views

Similar Articles

[PageSpeed] 37

hi
This is the screenshot for the error.
[IMG]http://i60.tinypic.com/2rrm1a9.png[/IMG]

please help

thanks
chris


> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> Hi
> XE 7 has no errors when compiling for iOS Simulator.
> However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error
> 
> [DCC Error] E2597 ld: file not found: L
> [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> 
> Anyone can help?
> 
> thanks
> chris
0
Chuah
10/7/2014 1:01:01 AM
Is you project from XE5 or XE6?

Does a new empty project work?

If yes, create a new project and add your forms to it. Ditch the old project file.
0
Eli
10/7/2014 5:57:06 PM
Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).

--
Borja Serrano
Embarcadero Technical Support Engineer
0
Borja
10/7/2014 6:32:46 PM
Hi Eli
I was using the project from XE5.
Will try out your suggestion on creating a new project file.

thanks
chris
> {quote:title=Eli M wrote:}{quote}
> Is you project from XE5 or XE6?
> 
> Does a new empty project work?
> 
> If yes, create a new project and add your forms to it. Ditch the old project file.
0
Chuah
10/8/2014 1:01:01 AM
Hi
I am still getting the DCC Error E2597 ld: file not found: L
after creating a new project and re-import all my files to the new project.

please help.
I am getting these errors after switching from XE 5 to XE 7.

thanks
chris


> {quote:title=Borja Serrano wrote:}{quote}
> Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).
> 
> --
> Borja Serrano
> Embarcadero Technical Support Engineer
0
Chuah
10/9/2014 2:49:04 AM
hi
this is the error listing for the DCC error

========== Start ===============
Build
  Checking project dependencies...
  Compiling ipad_childcare.dproj (Debug, iOSDevice)
  brcc32 command line for "ipad_childcare.vrc"
    c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 ipad_childcare.vrc -foipad_childcare.res 
  dcc command line for "ipad_childcare.dpr"
    c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;
    Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG 
    -E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files 
    (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";
    Z:\Downloads\chris\Component\DPF.iOS.Native.Components -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice 
    -LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files 
    (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";
    Z:\Downloads\chris\Component\DPF.iOS.Native.Components -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files 
    (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -U"c:\program files 
    (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files 
    (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components 
    --syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk 
    --frameworkpath:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\Frameworks;
    \\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7" 
    -NO.\iOSDevice\Debug   ipad_childcare.dpr   
  [DCC Warning] DPF.iOS.UITextField.pas(264): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  [DCC Warning] DPF.iOS.UILabel.pas(133): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  [DCC Warning] DPF.iOS.CheckBox.pas(174): W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
  [DCC Warning] DPF.iOS.CheckBox.pas(184): W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
  [DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
  [DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
  [DCC Warning] DPF.iOS.CheckBox.pas(323): W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
  [DCC Warning] DPF.iOS.UIDatePicker.pas(142): W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  [DCC Error] E2597 ld: file not found: L
  [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
  Failed
  Elapsed time: 00:00:09.5
  [Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
  [Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
  [Warning] W1000 Symbol 'TCalendarEdit' is deprecated: 'Use TDateEdit instead'
  [Warning] W1000 Symbol 'NSSTR' is deprecated: 'use StrToNSStr instead'
Output
  Build started 09/10/2014 11:04:52 AM.
  __________________________________________________
  Project "Z:\Downloads\chris\src\ipad_smis\ipad_childcare.dproj" (Make target(s)):
  Target BuildVersionResource:
      c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 ipad_childcare.vrc -foipad_childcare.res 
      CodeGear Resource Compiler/Binder
      Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.
      
      Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
      
      Copyright (C) Microsoft Corporation.  All rights reserved.
      
      
      Deleting file "ipad_childcare.vrc".
  Target _PasCoreCompile:
      c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG -E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDe
vice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice -LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iO
SDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components -U"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release";"C:\Program Files (x86)\Devart\UniDAC for RAD Studio XE7\Lib\iOSDevice";Z:\Downloads\chris\Component\DPF.iOS.Native.Components --syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk --frameworkpath:\\psf\H
ome\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\Frameworks;\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS7.1.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7" -NO.\iOSDevice\Debug   ipad_childcare.dpr   
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UITextField.pas(264,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UILabel.pas(133,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(174,42): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(184,42): warning W1000: W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,67): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,88): warning W1000: W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,111): warning W1000: W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
      Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UIDatePicker.pas(142,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
      MSBUILD : error E2597: E2597 ld: file not found: L
      c:\program files (x86)\embarcadero\studio\15.0\Bin\CodeGear.Delphi.Targets(329,5): error F2588: F2588 Linker error code: 1 ($00000001)
  Done building target "_PasCoreCompile" in project "ipad_childcare.dproj" -- FAILED.
  Done building project "ipad_childcare.dproj" -- FAILED.
  Build FAILED.
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UITextField.pas(264,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UILabel.pas(133,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(174,42): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(184,42): warning W1000: W1000 Symbol 'alClient' is deprecated: 'Use TAlignLayout.Client'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,67): warning W1000: W1000 Symbol 'alLeft' is deprecated: 'Use TAlignLayout.Left'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,88): warning W1000: W1000 Symbol 'alCenter' is deprecated: 'Use TAlignLayout.Center'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.CheckBox.pas(323,111): warning W1000: W1000 Symbol 'alRight' is deprecated: 'Use TAlignLayout.Right'
  Z:\Downloads\chris\Component\DPF.iOS.Native.Components\DPF.iOS.UIDatePicker.pas(142,1): warning W1010: W1010 Method 'SetEnabled' hides virtual method of base type 'TControl'
  MSBUILD : error E2597: E2597 ld: file not found: L
  c:\program files (x86)\embarcadero\studio\15.0\Bin\CodeGear.Delphi.Targets(329,5): error F2588: F2588 Linker error code: 1 ($00000001)
      8 Warning(s)
      2 Error(s)
  Time Elapsed 00:00:09.37
================= End ========================

Please help.
I still can't solve this problem.

thanks
chris


> {quote:title=Borja Serrano wrote:}{quote}
> Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).
> 
> --
> Borja Serrano
> Embarcadero Technical Support Engineer
0
Chuah
10/9/2014 3:08:22 AM
Now, i try a simple application with just a TButton on the form to be compiled for iOS Device.
I will get the linker error again.

Please help.
is there something to do with the parameters for dcc?

help help

thanks
chris


> {quote:title=Borja Serrano wrote:}{quote}
> Eli's suggestion is great. If it doesn't work try to open the IDE with the default settings with the option -rfoo (more info at http://support.embarcadero.com/es/article/42597).
> 
> --
> Borja Serrano
> Embarcadero Technical Support Engineer
0
Chuah
10/9/2014 6:18:32 AM
Hi 
Does anyone have problem compiling XE7 for iOS device? Its just compiling and linking.

I uninstalled my XE7 
Remove all 3rd party components
Reinstall XE7 again.

Run the XE7 with the -f option for the start up

Create a multi device application.

Remove ALL the Target platforms EXCEPT iOS device and iOS simulator.
Set the iOS Device platform as default.

On the Form, set the style to "iOS" and the view to "iPad".
Place a TButton on the form and Compile the application.

Result ---> I still have the linker error

============ Error Message ===================
Checking project dependencies...
Compiling Project1.dproj (Debug, iOSDevice)
brcc32 command line for "Project1.vrc"
  c:\program files (x86)\embarcadero\studio\15.0\bin\cgrc.exe -c65001 Project1.vrc -foProject1.res 
dcc command line for "Project1.dpr"
  c:\program files (x86)\embarcadero\studio\15.0\bin\dcciosarm.exe -$O- --no-config -M -Q -AGenerics.Collections=System.Generics.Collections;
  Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG 
  -E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files 
  (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -LEC:\Users\Public\Documents\Embarcadero\Studio\15.0\Bpl\iOSDevice 
  -LNC:\Users\Public\Documents\Embarcadero\Studio\15.0\Dcp\iOSDevice -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files 
  (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -R"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" -U"c:\program files 
  (x86)\embarcadero\studio\15.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\studio\15.0\lib\iOSDevice\Release" 
  --syslibroot:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk 
  --frameworkpath:\\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk\System\Library\Frameworks;
  \\psf\Home\Documents\Embarcadero\Studio\SDKs\iPhoneOS8.0.sdk\System\Library\PrivateFrameworks -V -VN --linker-option:"-arch armv7" 
  -NO.\iOSDevice\Debug   Project1.dpr   
[DCC Error] E2597 ld: file not found: L
[DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
Failed
Elapsed time: 00:00:03.7
===================== End of message =================

Can anyone tell me why? Help! Help!

thanks
chris



> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> Hi
> XE 7 has no errors when compiling for iOS Simulator.
> However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error
> 
> [DCC Error] E2597 ld: file not found: L
> [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> 
> Anyone can help?
> 
> thanks
> chris
0
Chuah
10/10/2014 1:06:27 AM
> > {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> > Hi
> > XE 7 has no errors when compiling for iOS Simulator.
> > However, when i switch it to compile for iOS device on all 3 modes,
> > the compiler will give me an error
> > 
> > [DCC Error] E2597 ld: file not found: L
> > [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> > 
> > Anyone can help?
> > 
> > thanks
> > chris


A total wild guess here - but two things...

1) Does this happen if you change from Debug to release and do a "Build
all"?

2) Is it possible that at some point you might have got some weird
characters into the source or one of the resources?  The only reason I
ask this is because I seem to remember a bug a long time ago where
Delphi would emit some weird compiler/linker errors if you had Unix
style line feeds instead of 'DOS style' CRLF.

I've had this happen in the past when I've pasted something in from a
Unix box or other non Windows source.  The characters do not always
show up in the IDE editor but the compiler and linker seem to 'notice'
them and generate weird errors like this.

If this *might* be what has happened - and in effect is a corrupt file
- then you can remove those using a utility like Flip
https://ccrma.stanford.edu/~craig/utility/flip/

Given that it's a linker error (based on your error messages), and
again I am guessing, it might be one of the .DPR/.DPROJ or related
files.

The fact it says "L" for the filename is not particularly helpful
although suspiciously "CTRL + L" is ASCII 12 or Form Feed which is a
little too convenient to be ignored.

I am guessing you do not get this error on any other test projects
which are using the same frameworks and components?  If you created a
blank project, put all the units from the non-working project in it and
then did a build all of you don't get any errors then it's even more
likely to be some kind of stupidity with the .DPROJ files.

-- 
IanB.
http://about.me/IanBarker
0
Ian
10/10/2014 1:25:02 PM
Try to remove the iOS SDK and to recreate it (Tools->Options->SDK Manager).

> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> Now, i try a simple application with just a TButton on the form to be compiled for iOS Device.
> I will get the linker error again.
> 
> Please help.
> is there something to do with the parameters for dcc?
> 
> help help
> 
> thanks
> chris
>
0
Borja
10/10/2014 1:31:07 PM
Hi Ian
I do not get linker or dcc error when compile for iOS simulator.
I do get it when i compile for iOS device.

Also i have un-installed XE7 and re-install again.
Once XE7 has started, i created a new multi device application.
Remove Windows, android and OS X platform.
Only iOS device and iOS simulator platform is left.

Add a button to the form and compile it under iOS device.
This will give you the dcc error.
If i compile it under iOS Simulator, i will not get this error.

Any ideas?
please help as i want to re-sumbit my code to app store for approval.

thanks
chris

> {quote:title=Ian Barker wrote:}{quote}
> > > {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> > > Hi
> > > XE 7 has no errors when compiling for iOS Simulator.
> > > However, when i switch it to compile for iOS device on all 3 modes,
> > > the compiler will give me an error
> > > 
> > > [DCC Error] E2597 ld: file not found: L
> > > [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> > > 
> > > Anyone can help?
> > > 
> > > thanks
> > > chris
> 
> 
> A total wild guess here - but two things...
> 
> 1) Does this happen if you change from Debug to release and do a "Build
> all"?
> 
> 2) Is it possible that at some point you might have got some weird
> characters into the source or one of the resources?  The only reason I
> ask this is because I seem to remember a bug a long time ago where
> Delphi would emit some weird compiler/linker errors if you had Unix
> style line feeds instead of 'DOS style' CRLF.
> 
> I've had this happen in the past when I've pasted something in from a
> Unix box or other non Windows source.  The characters do not always
> show up in the IDE editor but the compiler and linker seem to 'notice'
> them and generate weird errors like this.
> 
> If this *might* be what has happened - and in effect is a corrupt file
> - then you can remove those using a utility like Flip
> https://ccrma.stanford.edu/~craig/utility/flip/
> 
> Given that it's a linker error (based on your error messages), and
> again I am guessing, it might be one of the .DPR/.DPROJ or related
> files.
> 
> The fact it says "L" for the filename is not particularly helpful
> although suspiciously "CTRL + L" is ASCII 12 or Form Feed which is a
> little too convenient to be ignored.
> 
> I am guessing you do not get this error on any other test projects
> which are using the same frameworks and components?  If you created a
> blank project, put all the units from the non-working project in it and
> then did a build all of you don't get any errors then it's even more
> likely to be some kind of stupidity with the .DPROJ files.
> 
> -- 
> IanB.
> http://about.me/IanBarker
0
Chuah
10/11/2014 9:10:14 AM
El 11/10/2014 11:10, Chuah Yen Hua escribió:
> Hi Ian
> I do not get linker or dcc error when compile for iOS simulator.
> I do get it when i compile for iOS device.
>
> Also i have un-installed XE7 and re-install again.
> Once XE7 has started, i created a new multi device application.
> Remove Windows, android and OS X platform.
> Only iOS device and iOS simulator platform is left.
>
> Add a button to the form and compile it under iOS device.
> This will give you the dcc error.
> If i compile it under iOS Simulator, i will not get this error.
>
> Any ideas?
> please help as i want to re-sumbit my code to app store for approval.
>
> thanks
> chris
>


Have you installed the PAServer HotFix for Delphi XE7 and RAD Studio XE7?

http://cc.embarcadero.com/item/30008

http://blogs.embarcadero.com/davidi/2014/09/27/43833/
0
Antonio
10/11/2014 5:14:01 PM
https://forums.embarcadero.com/thread.jspa?threadID=108736&tstart=15

Is that it?
0
Angus
10/11/2014 5:57:36 PM
Yes. I have applied the PAServer hot fix as well.
Still having this error when linking.
But how does linking got to do with PA Server?

thanks
chris


> {quote:title=Antonio Estevez wrote:}{quote}
> El 11/10/2014 11:10, Chuah Yen Hua escribió:
> > Hi Ian
> > I do not get linker or dcc error when compile for iOS simulator.
> > I do get it when i compile for iOS device.
> >
> > Also i have un-installed XE7 and re-install again.
> > Once XE7 has started, i created a new multi device application.
> > Remove Windows, android and OS X platform.
> > Only iOS device and iOS simulator platform is left.
> >
> > Add a button to the form and compile it under iOS device.
> > This will give you the dcc error.
> > If i compile it under iOS Simulator, i will not get this error.
> >
> > Any ideas?
> > please help as i want to re-sumbit my code to app store for approval.
> >
> > thanks
> > chris
> >
> 
> 
> Have you installed the PAServer HotFix for Delphi XE7 and RAD Studio XE7?
> 
> http://cc.embarcadero.com/item/30008
> 
> http://blogs.embarcadero.com/davidi/2014/09/27/43833/
0
Chuah
10/13/2014 1:37:24 AM
Hi
I have no problem in compiling the application for iOS simulator 7.1 but i have problem compiling / linking application for iOS Device iPhoneOS8.0

Is there a problem for XE7 in compiling for iOS Device iPhoneOS 8.0?

please advise

thanks
chris


> {quote:title=Angus MacRuder wrote:}{quote}
> https://forums.embarcadero.com/thread.jspa?threadID=108736&tstart=15
> 
> Is that it?
0
Chuah
10/13/2014 3:09:00 AM
Hi
Has anyone tried to compile XE7 for iOS Device 8?
I am still getting the same old error when compiling for iOS Device.

Anyone out there.. please help.

Think i will revert back to XE5.

Thanks
Chris
0
Chuah
10/14/2014 7:45:24 AM
> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> XE 7 has no errors when compiling for iOS Simulator.

Have you already patched Macapi.Dispatch?

Line 20 should be changed to:
{code}
libdispatch = '/usr/lib/libSystem.dylib';
{code}

Also make sure that you use the most recent version of DPFiOS.
0
Sebastian
10/14/2014 5:53:03 PM
Hi 
I returned back to XE5 and when building for iOS device, sometimes it will give me the same linker error problem. Sometimes it don't.
Now i am wondering does it got to do with the Parallels 10.0.2 or Yosemite GM Candidate?

Sometimes the linker can find the file. Sometimes it can't.

Can anyone advise me on what are the files that the linker requires?

please advise.

Also where can i find the MacApi.dispatch?

thanks
chris


> {quote:title=Sebastian Zierer wrote:}{quote}
> > {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> > XE 7 has no errors when compiling for iOS Simulator.
> 
> Have you already patched Macapi.Dispatch?
> 
> Line 20 should be changed to:
> {code}
> libdispatch = '/usr/lib/libSystem.dylib';
> {code}
> 
> Also make sure that you use the most recent version of DPFiOS.
0
Chuah
10/14/2014 11:50:19 PM
Hi

May i know what version of Mac OS and VM are you using?

I am using Yosemite GM with Parallels 10.0.2

please advise

thanks
chris

> {quote:title=Sebastian Zierer wrote:}{quote}
> > {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> > XE 7 has no errors when compiling for iOS Simulator.
> 
> Have you already patched Macapi.Dispatch?
> 
> Line 20 should be changed to:
> {code}
> libdispatch = '/usr/lib/libSystem.dylib';
> {code}
> 
> Also make sure that you use the most recent version of DPFiOS.
0
Chuah
10/15/2014 12:15:35 AM
Try to remove files in folder "iOSDevice\Debug\"
0
danny
10/15/2014 2:57:03 AM
Hi Danny
Where is the path?
in Windows? or Mac?

thanks
chris

> {quote:title=danny chou wrote:}{quote}
> Try to remove files in folder "iOSDevice\Debug\"
0
Chuah
10/15/2014 3:09:27 AM
Your project folder\iOSDevice\Debug\*.*

If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
0
danny
10/15/2014 3:23:14 AM
Hi
Now, i have uninstalled Parallels 10.0.2 and use VMWare Fusion for Mavericks instead.
It seems that i do not get the linker problem using XE5.
Now will uninstall XE5 and install XE7 to try out again.

Hope it works.

chris
> {quote:title=danny chou wrote:}{quote}
> Your project folder\iOSDevice\Debug\*.*
> 
> If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
0
Chuah
10/16/2014 12:40:07 AM
Hi
Finally managed to get my XE7 to compile and link.
I think the problem maybe due to Parallels 10.0.2

I have changed to VMWare fusion that supports Yosemite and XE7 is now able to compile and link again

Thanks everyone for your help.

thanks

> {quote:title=danny chou wrote:}{quote}
> Your project folder\iOSDevice\Debug\*.*
> 
> If you typed some CJK characters in your source code (or FMX), the error will appear, so you need to remove those files again :-(
0
Chuah
10/21/2014 3:28:30 AM
> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> Hi
> XE 7 has no errors when compiling for iOS Simulator.
> However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error
> 
> [DCC Error] E2597 ld: file not found: L
> [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> 
> Anyone can help?
> 
> thanks
> chris

If you're getting a "missing file L" message during the "dcc" build to run your app on your iPhone or a message something like "dcc-error-e2597-when-compiling-for-ios", then:

After a mega amount of trial and error (including trying everything in this thread, except moving to VMWare, which was an option) with reinstall of SDK's and the "-rfoo flag" Delphi etc, the problem turned out to be very simple, as these complex things sometimes are, when one knows the answer!!!

I'm using Parallels (latest version 10.1.1) and OSX 10.9.5.

I tried an application on the *shared* path and it didn't work, so I moved the application from the Shared Path /Users/david/Documents/Embarcadero/Studio/Projects/Hello iPhone World

to a *local* path C:\DelphiXE7\iWorld

and now it works. Runs on my iPhone 4S with iOS8.1.

Regards
David
0
David
10/28/2014 6:40:42 PM
> {quote:title=Chuah Yen Hua,Christopher wrote:}{quote}
> Hi
> XE 7 has no errors when compiling for iOS Simulator.
> However, when i switch it to compile for iOS device on all 3 modes, the compiler will give me an error
> 
> [DCC Error] E2597 ld: file not found: L
> [DCC Fatal Error] F2588 Linker error code: 1 ($00000001)
> 
> Anyone can help?
> 
> thanks
> chris

--
Hi everyone,

I had this error to, it depends on parallels shared folders. When you have your project located in \\psf\home... you get this error. Move your projects folder to anywhere inside the VM (c:\...) and it works - or use network share instead of \\psf...

Found the solution here: http://www.delphipraxis.net/181747-linker-error-code-1-%5Bxe7%5D.html

Edgar 
Best Regards from Berlin
Edgar
0
Edgar
11/10/2014 1:52:28 PM
Reply: