sergiosvieira / wxgis

Automatically exported from code.google.com/p/wxgis
0 stars 0 forks source link

compile error #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
I'm trying to compile wxgis on Debian 7.1 OS with GDAL 1.10.1, PROJ 4.7, WX 
2.8.12.1 and I obtain this error:

Scanning dependencies of target wxgiscore
[  0%] [  2%] [  2%] [  2%] [  2%] Building CXX object 
src/core/CMakeFiles/wxgiscore.dir/format.cpp.o
Building CXX object src/core/CMakeFiles/wxgiscore.dir/config.cpp.o
Building CXX object src/core/CMakeFiles/wxgiscore.dir/crypt.cpp.o
[  3%] Building CXX object src/core/CMakeFiles/wxgiscore.dir/event.cpp.o
[  4%] Building CXX object src/core/CMakeFiles/wxgiscore.dir/app.cpp.o
Building CXX object src/core/CMakeFiles/wxgiscore.dir/init.cpp.o
Building CXX object src/core/CMakeFiles/wxgiscore.dir/process.cpp.o
/home/lucadelu/compilati/wxgis-read-only/src/core/format.cpp:25:29: fatal 
error: wx/numformatter.h: No such file or directory
compilation terminated.
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/format.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/app.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/app.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/app.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/app.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/app.cpp.o] Error 1
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/crypt.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/crypt.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/crypt.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/crypt.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
/home/lucadelu/compilati/wxgis-read-only/src/core/crypt.cpp: In function 
‘bool Decrypt(const wxString&, wxString&)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/crypt.cpp:336:36: error: 
request for member ‘GetValue’ in ‘*(sPass.wxString::operator const 
wxChar*() + ((sizetype)(pos * 4ul)))’, which is of non-class type ‘const 
wxChar {aka const wchar_t}’
/home/lucadelu/compilati/wxgis-read-only/src/core/crypt.cpp:338:41: error: 
‘wxUniChar’ was not declared in this scope
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/crypt.cpp.o] Error 1
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:21:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:21:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
In file included from 
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:21:0:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:28:25: 
error: expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:29:25: 
error: expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:30:25: 
error: expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:31:25: 
error: expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/event.h:39:47: 
error: ‘wxPROCESS_START’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp: In static member 
function ‘static wxObject* wxGISProcessEvent::wxCreateObject()’:
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:23:1: error: call 
to ‘wxGISProcessEvent::wxGISProcessEvent(wxEventType, long int, bool)’ uses 
the default argument for parameter 1, which is not yet defined
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp: At global scope:
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:25:15: error: 
expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:26:15: error: 
expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:27:15: error: 
expected constructor, destructor, or type conversion before ‘(’ token
/home/lucadelu/compilati/wxgis-read-only/src/core/event.cpp:28:15: error: 
expected constructor, destructor, or type conversion before ‘(’ token
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
In file included from 
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:22:0:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:59:13: 
error: ‘wxDateTime’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:60:13: 
error: ‘wxDateTime’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:73:2: 
error: ‘wxDateTime’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/process.h:74:2: 
error: ‘wxDateTime’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp: In member 
function ‘virtual bool wxGISProcess::Start()’:
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:47:2: error: 
‘m_dtBeg’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:47:12: error: 
‘wxDateTime’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp: In member 
function ‘virtual void wxGISProcess::OnTerminate(int, int)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:78:5: error: 
‘m_dtEstEnd’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:78:18: error: 
‘wxDateTime’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp: In member 
function ‘virtual void wxGISProcess::Stop()’:
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:102:5: error: 
‘m_dtEstEnd’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:102:18: error: 
‘wxDateTime’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp: In member 
function ‘virtual void wxGISProcess::UpdatePercent(const wxString&)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:108:2: error: 
‘wxTimeSpan’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:108:13: error: 
expected ‘;’ before ‘Elapsed’
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:114:23: error: 
‘Elapsed’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:115:14: error: 
expected ‘;’ before ‘Remains’
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:116:3: error: 
‘m_dtEstEnd’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:116:16: error: 
‘wxDateTime’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:116:36: error: 
‘Remains’ was not declared in this scope
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/event.cpp.o] Error 1
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp: In member 
function ‘bool wxGISProcess::CreateAndRunReadThread()’:
/home/lucadelu/compilati/wxgis-read-only/src/core/process.cpp:190:39: error: 
‘CreateThread’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/config.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:21:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/config.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:21:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/process.cpp.o] Error 1
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/init.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/init.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:93:2: error: 
‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual long int 
wxGISConnectionPointContainer::Advise(wxEvtHandler*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:3: error: 
‘wxVector’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:24: 
error: expected primary-expression before ‘*’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:25: 
error: expected primary-expression before ‘>’ token
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:26: 
error: ‘::const_iterator’ has not been declared
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:63:43: 
error: expected ‘;’ before ‘pos’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:6: error: 
‘pos’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:64:13: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:66:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::Unadvise(long int)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:72:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:73:3: error: 
‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::PostEvent(wxEvent&)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:78:25: 
error: ‘m_pPointsArray’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: In member 
function ‘virtual void wxGISConnectionPointContainer::QueueEvent(wxEvent*)’:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:86:25: 
error: ‘m_pPointsArray’ was not declared in this scope
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/init.h:23:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/init.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h: At global 
scope:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: ‘numeric_limits’ is not a member of ‘std’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected primary-expression before ‘double’
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/core.h:251:65: 
error: expected ‘,’ or ‘...’ before ‘double’
In file included from 
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:21:0:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/config.h:104:2: 
error: ‘wxVector’ does not name a type
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘wxXmlNode* wxGISConfig::GetConfigRootNode(wxGISEnumConfigKey, const 
wxString&) const’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:202:59: error: 
‘class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:203:41: error: 
‘class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:203:137: error: 
‘class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:204:46: error: 
‘class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:263:37: error: 
‘class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘bool wxGISConfig::Write(wxGISEnumConfigKey, const wxString&, const 
wxString&)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:415:12: error: 
‘class wxXmlNode’ has no member named ‘HasAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:416:10: error: 
‘class wxXmlNode’ has no member named ‘DeleteAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘bool wxGISConfig::Write(wxGISEnumConfigKey, const wxString&, 
bool)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:439:12: error: 
‘class wxXmlNode’ has no member named ‘HasAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:440:10: error: 
‘class wxXmlNode’ has no member named ‘DeleteAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘bool wxGISConfig::Write(wxGISEnumConfigKey, const wxString&, 
int)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:464:12: error: 
‘class wxXmlNode’ has no member named ‘HasAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:465:10: error: 
‘class wxXmlNode’ has no member named ‘DeleteAttribute’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In destructor 
‘virtual wxGISConfigRefData::~wxGISConfigRefData()’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:508:25: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:522:2: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘void wxGISConfigRefData::Save(wxGISEnumConfigKey, const 
wxString&)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:530:28: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:544:29: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In copy 
constructor ‘wxGISConfigRefData::wxGISConfigRefData(const 
wxGISConfigRefData&)’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:559:5: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:559:28: error: 
‘const class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp: In member 
function ‘bool wxGISConfigRefData::operator==(const wxGISConfigRefData&) 
const’:
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:569:9: error: 
‘m_paConfigFiles’ was not declared in this scope
/home/lucadelu/compilati/wxgis-read-only/src/core/config.cpp:569:40: error: 
‘const class wxGISConfigRefData’ has no member named ‘m_paConfigFiles’
In file included from 
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/init.h:25:0,
                 from /home/lucadelu/compilati/wxgis-read-only/src/core/init.cpp:22:
/home/lucadelu/compilati/wxgis-read-only/include/wxgis/core/config.h:104:2: 
error: ‘wxVector’ does not name a type
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/config.cpp.o] Error 1
make[2]: *** [src/core/CMakeFiles/wxgiscore.dir/init.cpp.o] Error 1
make[1]: *** [src/core/CMakeFiles/wxgiscore.dir/all] Error 2
make: *** [all] Error 2

Original issue reported on code.google.com by lucadel...@gmail.com on 15 Oct 2013 at 6:45

GoogleCodeExporter commented 9 years ago
It's very strange how you can compile it. CMake should throw error as wxGIS 
need wxWidgets 2.9.x or higher.
E.g. http://wxgis.googlecode.com/svn/trunk/src/core/CMakeLists.txt
>>> find_package(wxWidgets 2.9 REQUIRED base xml)

Also the trunk version can compile on Linux (I tested on Ubuntu) but may not 
started properly as wxGIS need config files in /etc and some files in /usr, but 
this code I not finished yet.

Original comment by bishop....@gmail.com on 15 Oct 2013 at 7:06