Jump to content
cupboy

Imports folder missing -- attempting to install Macbook app

Recommended Posts

[dccosxarm64 Error] E2597 ld: warning: directory not found for option '-LC:\Users\admin\OneDrive\Documents\Embarcadero\Studio\22.0\Imports\OSXARM64'
  ld: warning: directory not found for option '-FC:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk\System\Library\PrivateFrameworks'
  ld: file not found: CoreFoundation


The only folder inside C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\22.0 is CatalogRepository

Where might I obtain the Imports directory?

Share this post


Link to post
4 minutes ago, cupboy said:

E2597 ld: warning: directory not found for option '-LC:\Users\admin\OneDrive\Documents\Embarcadero\Studio\22.0\Imports\OSXARM64'

That's a warning - you can ignore it.

4 minutes ago, cupboy said:

ld: file not found: CoreFoundation

That seems to be more like what the real problem is. Perhaps the SDK that was imported has been removed? You should check whether this folder exists:

C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk
 

Share this post


Link to post
16 minutes ago, Dave Nottage said:

That's a warning - you can ignore it.

That seems to be more like what the real problem is. Perhaps the SDK that was imported has been removed? You should check whether this folder exists:

C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk
 

C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk exists and contains System and usr directories.

MSBUILD : error E2597: ld: file not found: CoreFoundation  <== this is missing though

Also PrivateFrameworks folder is missing. There is one called Frameworks.

 

Done building project "rec1FMX.dproj" -- FAILED.
Build FAILED.
MSBUILD : error E2597: E2597 ld: warning: directory not found for option '-LC:\Users\admin\OneDrive\Documents\Embarcadero\Studio\22.0\Imports\OSXARM64'
MSBUILD : error E2597: ld: warning: directory not found for option '-FC:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk\System\Library\PrivateFrameworks'
MSBUILD : error E2597: ld: file not found: CoreFoundation
c:\program files (x86)\embarcadero\studio\22.0\Bin\CodeGear.Delphi.Targets(412,5): error F2588: F2588 Linker error code: 1 ($00000001)

Edited by cupboy

Share this post


Link to post
7 minutes ago, cupboy said:

MSBUILD : error E2597: ld: file not found: CoreFoundation  <== this is missing though

In which case it seems the import has not completed. You may need to follow these steps:

  1. Delete the folder: C:\Users\admin\OneDrive\Documents\Embarcadero\Studio\SDKs\MacOSX14.sdk
  2. Delete the SDK from the SDK Manager in Delphi
  3. On the Mac, in the ~\PAServer\scratch-dir folder, remove any folders starting with cache-dir
  4. In Delphi, re-add the SDK

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

×