CodeWarrior & Xerces-C

Discussion in 'Mac Programming' started by Selivanov, Nov 7, 2005.

  1. macrumors newbie

    Joined:
    Nov 7, 2005
    Location:
    Voronezh, Russia
    #1
    Hello, all

    First of all, forgive me my bad english.

    I'm using CodeWarrior v9 C++ and want to work with XML-files. I found Xerces-C framework in /Libraries/Frameworks and added it to my project. But i cant find any library file that i could attach to my project... Never the less, the project can be compiled and executed from terminal (i write console application) but it crushes on the creating new DOMWriter from DOMImplementationLS class...

    What i shell do? Links to helpfull information are welcome...
     
  2. macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #2
    Maybe this isn't exactly the answer you were looking for, but I would advise you to start using xCode from apple, as Codewarrior does not support some freatures of the newest OS's, and I had heard from somewhere that even apple recommends to stop using anything else that xCode.
     
  3. thread starter macrumors newbie

    Joined:
    Nov 7, 2005
    Location:
    Voronezh, Russia
    #3
    I have to use CW cause of QuarkXPress XTension SDK.
    Never the less, i tried to substitute xerces-c by libxml2. In a standalone application all looks fine. But in the XTension project there is a problem. Libxml header file gives me an error that "non MSL C header files must be first in the access path". But i have to use MSL C access path first cause of XDK :( I'm stuck with it already...
     
  4. thread starter macrumors newbie

    Joined:
    Nov 7, 2005
    Location:
    Voronezh, Russia
    #4
    I have solved the problem with libxml2 include files by inserting
    #define _MSL_USING_MW_C_HEADERS 1
    before including libxml headers. It prevents using native system headers before MSL... Hope this will help someone...
     

Share This Page