티스토리 뷰
<소스 조합>
- xerces-c-2.8.0
- XMLCereal-0.0.5
- basictools-0.1.6
- xercesutils-0.1.6
그저 컴파일하면 아래와 같은 오류 발생
XMLPullParserImpl.cpp:149: error: invalid use of undefined type 'const struct xercesc_2_8::Locator'
XMLParseEvent.h:37: error: forward declaration of 'const struct xercesc_2_8::Locator'
XMLPullParserImpl.cpp:150: error: invalid use of undefined type 'const struct xercesc_2_8::Locator'
XMLParseEvent.h:37: error: forward declaration of 'const struct xercesc_2_8::Locator'
XMLPullParserImpl.cpp: In member function 'virtual void XMLPullParserImpl::startElement(const XMLCh*, const XMLCh*, const XMLCh*, const xercesc_2_8::Attributes&)':
XMLPullParserImpl.cpp:485: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
XMLPullParserImpl.cpp:489: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
XMLPullParserImpl.cpp:490: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
XMLPullParserImpl.cpp:491: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
XMLPullParserImpl.cpp:492: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
XMLPullParserImpl.cpp:494: error: invalid use of undefined type 'const struct xercesc_2_8::Attributes'
XMLParseEvent.h:36: error: forward declaration of 'const struct xercesc_2_8::Attributes'
make: *** [XMLPullParserImpl.lo] Error 1
$XMLCEREAL_ROOT/xmlcereal-0.0.5/src/XMLPullParser.h 에서
아래 두 줄 추가하니 컴파일이 되었다.
(Locator와 Attributes는 xercesc 라이브러리에 있는 클래스이다.)
#include "xercesc/sax/Locator.hpp"
#include "xercesc/sax2/Attributes.hpp"
'Development Environment' 카테고리의 다른 글
C/C++ 개발을 위한 Vim 설정 (0) | 2011.11.01 |
---|---|
Vim에서 SCons 파일 Python 문법으로 Syntax highlighting (0) | 2011.08.24 |
Qt에서 QPrinter의 PageSize 상수가 나와 있는 코드조각 (0) | 2010.01.15 |
Dev-C++이나 MSVC++ Express에서 resource 파일을 포함시키는 것 잊지 말기 (0) | 2009.09.18 |
MSVC에서 메모리 누수(memory leak) 관리하기 (0) | 2009.07.31 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- C++
- Item 9
- Python
- 볼륨 조절
- MSVC++
- QPrinter.A4
- TCGA
- destructor
- QPrinter.Letter
- PyQt
- dll
- pandas
- 볼륨 낮춤
- Accelerated C++
- 설치
- how to solve it
- volume dial
- Visual C++
- GSX 1200 pro
- TensorBoard
- ctypes
- GSX 1000 pro
- QT
- cython
- tensorflow
- armadillo c++
- structure
- matrix multiplication
- CanDrA
- 이상한 문자
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함