• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Pascal/Delphi and Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pascal/Delphi and Xcode


  • Subject: Re: Pascal/Delphi and Xcode
  • From: Chris Espinosa <email@hidden>
  • Date: Wed, 7 Feb 2007 08:52:39 -0800

On Feb 7, 2007, at 4:06 AM, Dave wrote:

I have just started working on a new project. I have to take the core module from another project (a heavy image processing module) and add a GUI and some extra features, but the core functions are the same. The module however is written in Pascal/Delphi, so this leaves me with two options:


1.  Convert the Source Code to C/C++.

2.  Try to Compile the Delphi/Pascal code under MacOS X and include it in my XCode C/C++ project.


Since I don't really want to have to re-write the code if I don't have to, I decided to investigate option 2 and was quite pleased to find a Free Pascal Compiler for Intel/MacOS X. I have managed to compile the module into a Dynamic Library. I then included it into my Xcode Project


how?

and it seemed to accept the file ok,


elaborate on "seemed"

however when I build the project I get undefined errors on the Link phase.


Please drag and drop the "Linking..." line from the Build Results window into a reply to this message.  Then we'll be able to see the linkage and the error, and perhaps help you.


I'm now not sure if the problem lies in the Library file created by Free Pascal or if I have to do something extra in Xcode in order to link my C code to the Dynamic Library.


Any advice or suggestion would be greatly appreciated.


With somewhat more detail on what's actually happening we'll be glad to take a shot at it.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Help Regarding Xcode 2.4 (From: "Lijith P" <email@hidden>)
 >Pascal/Delphi and XCode (From: Dave <email@hidden>)

  • Prev by Date: com.yourcompany
  • Next by Date: Re: Xcode dependency handling
  • Previous by thread: Re: Debugging PlugIn
  • Next by thread: Re: Help Regarding Xcode 2.4
  • Index(es):
    • Date
    • Thread