Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: XMl-Parser build failed on windows X64 with VStuido10

by syphilis (Canon)
on Sep 25, 2012 at 09:37 UTC ( #995519=note: print w/ replies, xml ) Need Help??


in reply to XMl-Parser build failed on windows X64 with VStuido10

I would expect that at least some (and probably all) of those "unresolved external symbol" errors would be resolved by your libexpat.lib ... but apparently that's not the case.

Is your libexpat.lib an import lib for a dll ?
If so, then I think it should resolve those symbols. But, if it's a static library, then it won't resolve those symbols (because the "imp" part will be missing).

I guess another possibility is that your libexpat.lib is too old, but I think that's unlikely.
Try doing a search of libexpat.lib for the strings "XML_SetCommentHandler", "imp__XML_SetCommentHandler" and "imp_XML_SetCommentHandler". Are *any* of those strings found ? If so, which one(s) ?
It's the (first and) last of those 3 that needs to be found for you. However, in the libexpat import library that I looked at, it was the first 2 that could be found - so I think there's at least a chance that the difference in the number of underscores (1 versus 2) between the "imp" and the "XML" is bringing you undone.

If "imp_XML_SetCommentHandler" *does* exist in libexpat.lib, how many leading underscores come before "imp" ?

Cheers,
Rob


Comment on Re: XMl-Parser build failed on windows X64 with VStuido10
Re^2: XMl-Parser build failed on windows X64 with VStuido10
by bulk88 (Priest) on Sep 25, 2012 at 17:15 UTC
    Use MS dumpbin on the .lib file. Much cleaner than use a text editor.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://995519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2014-12-20 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls