Jump to content
  • Advertisement
Sign in to follow this  
Eyrian

Problems linking XercesC with MinGW Studio

This topic is 5040 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am having issues linking my game with Apache's XercesC library. I keep getting linker errors like these: I:\dev\B5wx\Debug\main.o(.text+0x3721): In function `Z14getvalueastextPN11xercesc_2_67DOMNodeE': J:\dev\libxeth\domparser.h:97: undefined reference to `_imp___ZN11xercesc_2_69XMLString9transcodeEPKt' I:\dev\B5wx\Debug\main.o(.text+0x382b): In function `Z15getnameasstringPN11xercesc_2_67DOMNodeE': J:\dev\libxeth\domparser.h:110: undefined reference to `_imp___ZN11xercesc_2_69XMLString9transcodeEPKt' I am linking to the Xerces library, xerces-c_2, and the library path is correct. I am thinking that the issue may be related to my platform (I am running Windows XP-64). If that's it, could omeone perhaps tell me how I can compile Xerces for my environment (as I have tried several times, to no avail)? Thanks, Eyrian

Share this post


Link to post
Share on other sites
Advertisement
MinGW uses the ".a" library format instead of microsoft's ".lib" format.
That could be your problem. There should be a tool with MinGW (GCC) called "reimp" to convert from ".lib" to ".a".

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!