[fdo-users] FDO Compile error (libxalan-c)
Traian Stanev
traian.stanev at autodesk.com
Sun Oct 11 15:04:52 EDT 2009
Does the FDO include directory in /usr/local/fdo-3.5.0/inc have an /SDF subdirectory with IScrollableFeatureReader.h in it?
May be the SDF specific headers didn't get copied by the CMake "make install". Those headers can be found under <fdo_src_root>/Providers/SDF/Inc/.
However, those headers (in /SDF or /SHP) are no longer necessary -- they have been unified and moved to core FDO so, they should also be available under e.g. <Fdo/Commands/Feature/IScrollableFeatureReader.h>. so it's probably better to fix MapGuide to get the headers from there, rather than from /SDF/IScrollable...
Traian
________________________________________
From: fdo-users-bounces at lists.osgeo.org [fdo-users-bounces at lists.osgeo.org] On Behalf Of kernel_panic [sudoaptgetinstalld00d3 at gmail.com]
Sent: Saturday, October 10, 2009 6:16 PM
To: FDO Users Mail List
Subject: Re: [fdo-users] FDO Compile error (libxalan-c)
Well, it seems Im back again :p
Now Im building mapguide, and Im stuck on the make stage, after
running make, I encountered a few problems as described here:
http://n2.nabble.com/Mapguide-make-error-GWSQueryEngine-td3800176.html#a3800176
However, now Im getting this error:
GwsFeatureQueryResults.cpp:27:42: error:
SDF/IScrollableFeatureReader.h: No such file or directory
GwsFeatureQueryResults.cpp:28:42: error:
SHP/IScrollableFeatureReader.h: No such file or directory
GwsFeatureQueryResults.cpp: In member function 'virtual EGwsStatus
CGwsFeatureIterator::InitializeReader(FdoIFeatureReader*, IGWSQuery*,
CGwsPreparedFeatureQuery*, bool)':
GwsFeatureQueryResults.cpp:75: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:75: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:75: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:75: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:75: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:76: error: expected `)' before
'm_extProviderType'
GwsFeatureQueryResults.cpp:77: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:77: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:77: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:77: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:77: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:78: error: expected `)' before
'm_extProviderType'
GwsFeatureQueryResults.cpp: In member function 'virtual int
CGwsFeatureIterator::Count()':
GwsFeatureQueryResults.cpp:571: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:571: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:571: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:571: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:571: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:572: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:573: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:573: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:573: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:573: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:573: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:574: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::ReadFirst()':
GwsFeatureQueryResults.cpp:590: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:590: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:590: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:590: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:590: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:591: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:592: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:592: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:592: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:592: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:592: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:593: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::ReadLast()':
GwsFeatureQueryResults.cpp:608: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:608: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:608: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:608: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:608: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:609: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:610: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:610: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:610: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:610: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:610: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:611: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::ReadPrevious()':
GwsFeatureQueryResults.cpp:627: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:627: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:627: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:627: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:627: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:628: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:629: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:629: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:629: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:629: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:629: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:630: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::ReadAt(FdoPropertyValueCollection*)':
GwsFeatureQueryResults.cpp:646: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:646: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:646: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:646: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:646: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:647: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:648: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:648: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:648: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:648: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:648: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:649: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::ReadAtIndex(unsigned int)':
GwsFeatureQueryResults.cpp:665: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:665: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:665: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:665: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:665: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:666: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:667: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:667: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:667: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:667: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:667: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:668: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual unsigned int
CGwsFeatureIterator::IndexOf(FdoPropertyValueCollection*)':
GwsFeatureQueryResults.cpp:682: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:682: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:682: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:682: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:682: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:683: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:684: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:684: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:684: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:684: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:684: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:685: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp: In member function 'virtual bool
CGwsFeatureIterator::Scrollable()':
GwsFeatureQueryResults.cpp:698: error: expected type-specifier before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:698: error: expected `>' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:698: error: expected `(' before
'SdfIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:698: error: 'SdfIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:698: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:699: error: expected type-specifier before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:699: error: expected `>' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:699: error: expected `(' before
'ShpIScrollableFeatureReader'
GwsFeatureQueryResults.cpp:699: error: 'ShpIScrollableFeatureReader'
was not declared in this scope
GwsFeatureQueryResults.cpp:699: error: expected primary-expression
before '>' token
GwsFeatureQueryResults.cpp:701: error: expected `)' before 'return'
GwsFeatureQueryResults.cpp:701: error: expected `)' before ';' token
make[4]: *** [GwsFeatureQueryResults.lo] Error 1
make[4]: se sale del directorio
`/opt/mapguide-2.0.2/Server/src/Gws/GwsQueryEngine'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/opt/mapguide-2.0.2/Server/src/Gws'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/opt/mapguide-2.0.2/Server/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/opt/mapguide-2.0.2/Server'
make: *** [all-recursive] Error 1
As I can see, someone had a similar problem, here:
http://n2.nabble.com/Problems-iwith-swig-in-build-oem-ubuntu-8-04-td1817291.html
And it was this:
"
But now, "make" fails (It's really painful!).
It says
"GwsFeatureQueryResults.cpp:27:42: error:
SDF/IScrollableFeatureReader.h: No such file or directory"
Could somebody tell me where the SDF/IScrollableFeatureReader.h should
be and how to place it?
"
Someone answers him that:
"
Given the FDO sdk is installed at %FDO%
Then it's trying to look for %FDO%\Inc\SDF\IScrollableFeatureReader.h
"
But in my /usr/local/lib/fdo-3.5.0/ folder, there isnt any Inc/SDF/ folder
Now, Im having this exact same issue both with SDF and SHP... so,
where are those files, and why arent they supposed to be there? :P
_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/fdo-users
More information about the fdo-users
mailing list