gsoap v 2.8을 사용하여 hellow-world 프로그램을 작성하고 Visual Studio 2010에서 컴파일하려고합니다. stl-vector 기능을 사용하고 싶습니다. 그러나 지침gsoap : stlvector 플러그
#import "import/stlvector.h"
에서 가져 오기 오류가 있습니다 오류 :
error C1083: Cannot open type library file: 'r:\work\vs2010\xmlme\xmlme\import\stlvector.h' Error while loading library r:\work\vs2010\xmlme\xmlme\xmlme.h
그리고 결과 :
IntelliSense: cannot open source file "R:/Work/VS2010/XmlMe/XmlMe/Debug/stlvector.tlh" r:\work\vs2010\xmlme\xmlme\xmlme.h
는 인텔리 나에게서 원하는 것을 알아낼 수 없습니다. 내 생각에 gsoap 디렉터리에서 가져온 폴더를 내 프로젝트에 복사하고 올바르게 참조했습니다.
my solution archive (link may expire)
업데이트 : wsdl2h 유틸리티
내가 -s 해봤 매개 변수는 xmlme.h 파일에서 STL과 의존성을 제외한다.
error C1083: Cannot open type library file: soap12.h: Error while loading library. xmlme\xmlme.h
... 같은 이상한 결과를 생산 : 그리고 지금은 비슷한 오류가 발생했습니다
것은이에 XmlMe.h을 (파일 wsdl2h.exe 도구를 사용하여 생성)를 포함하지 않는 것입니다IntelliSense: cannot open source file "XmlMe/Debug/soap12.tlh" \xmlme\xmlme.h