Pascal/Delphi and XCode
Pascal/Delphi and XCode
- Subject: Pascal/Delphi and XCode
- From: Dave <email@hidden>
- Date: Wed, 7 Feb 2007 12:06:49 +0000
Hi All,
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 and it seemed to accept the file ok, however when I
build the project I get undefined errors on the Link phase.
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.
Thanks a lot and All the Best
Dave
_______________________________________________
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