vkrejc

C++ PI SDK compilation error

Discussion created by vkrejc on Sep 14, 2012
Latest reply on Sep 18, 2012 by vkrejc

 

 

Hi,

 

I'm using C++ PI SDK library. During my development I got error below. It seems that both used libraries are using DOMDocument, but from different sources and with default namespace. Have you ever got this error?  

 

 

 

1>  test.cpp

 

1>c:\program files\microsoft visual studio 10.0\vc\include\comdefsp.h(1310): error C2872: 'DOMDocument' : ambiguous symbol

 

1>          could be 'c:\program files\microsoft sdks\windows\v7.0a\include\msxml.h(171) : DOMDocument'

 

1>          or       'include\mxmlproperties.h(27) : xercesc_2_8::DOMDocument'

 

1>c:\program files\microsoft visual studio 10.0\vc\include\comdefsp.h(1310): error C2872: 'DOMDocument' : ambiguous symbol

 

1>          could be 'c:\program files\microsoft sdks\windows\v7.0a\include\msxml.h(171) : DOMDocument'

 

1>          or       'include\mxmlproperties.h(27) : xercesc_2_8::DOMDocument'

 

1>

 

1>Build FAILED.

 
Thank you!

 

Outcomes