Re: How can I use a C-library (libXML) in an MacOS project?
- From: Ron L <ron.liechty@xxxxxxxxxxxxx>
- Date: Thu, 10 Nov 2005 11:19:29 -0500
In article <op.sz0zngn9mcs9m0@phoenix>,
"Daniel Bleisteiner" <news@xxxxxxx> wrote:
>I'm currently trying to port an InDesign plugin initially developed on the
>Windows platform to MacOS InDesign! I'm forced to use CodeWarrior for that
>task because the InDesign SDK doesn't support any other environment.
>
>The plugin uses to external C libraries call libCURL and libXML. I have a
>real problem trying to use those libraries for the MacOS port.
>
>I've started with libCURL and finally skipped that library because I can
>replace it by calling the command line tool. But I need libXML to parse
>XML properly!
>
>My problem is, that everything compiles just fine - but the linker doesn't
>find the library while linking. I've added the path to the accesspaths and
>there lies a libXML.dylib and libXML.la - both are not found or used!
With CodeWarrior you have to show the files in the project manager
window. They are then either linked in at that time if they are static
libraries or are used to resolve symbolics at link time and actually
linked in at runtime with DLL's
>I've also tried to add those libraries to the project but I can't find a
>way to add them. Their filetype isn't supported as far as I see. But those
>are standard C libraries - can this be possible? Is there any way to
>capsule the library using another CodeWarrior project and make it
>accessible this way to the MacOS project?
If you can't add them to the project dylib shoujld be, you will have to
add them with the file mapping. as a Mach-O Importer
Look in the CodeWarrior Examples, for the Mach-0 example for dynamic
libraries to see how it is done.
>
>Please help me out... I'm stuck and I could not find any answer on this
>topic so far! Thanks!
Ron
--
CodeWarrior Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and our staff
-- http://www.codewarrior.com/community --
Ron Liechty - ron.liechty@xxxxxxxxxxxxx - http://www.codewarrior.com
.
- Follow-Ups:
- Re: How can I use a C-library (libXML) in an MacOS project?
- From: Daniel Bleisteiner
- Re: How can I use a C-library (libXML) in an MacOS project?
- References:
- How can I use a C-library (libXML) in an MacOS project?
- From: Daniel Bleisteiner
- How can I use a C-library (libXML) in an MacOS project?
- Prev by Date: How can I use a C-library (libXML) in an MacOS project?
- Next by Date: Re: How can I use a C-library (libXML) in an MacOS project?
- Previous by thread: How can I use a C-library (libXML) in an MacOS project?
- Next by thread: Re: How can I use a C-library (libXML) in an MacOS project?
- Index(es):
Relevant Pages
|
|