On Tue, 2007-09-25 at 12:52 +0200, Alvaro Moraleda wrote:
> Hi everybody!
> I'm using xercesc_2_8_0 with Eclipse 3.2.2. (added the
> "xerces-c-src_2_8_0/include/" path into the Project)

Hi Alvaro,

did you also add the xerces libraries for linking? The error messages
you get come from the linker.

> I tried to change it for this:
> 
> --------------------------------------------
> #include <xercesc/util/PlatformUtils.hpp>
> 
> int main(int argc, char* argv[])
> {
>   try {
>     xercesc::XMLPlatformUtils::Initialize();
>   }
>   catch (const XMLException& toCatch) {

Try using xercesc::XMLPlatformUtils::XMLException& here. But this would
only bring you to the situation above. You don't see the linker errors
here since the compiler hits a syntax error before.

HTH,
                        Axel

Reply via email to