[fdo-users] FDO Compile error (libxalan-c)

Jason Birch jason at jasonbirch.com
Sat Oct 10 21:08:40 EDT 2009


I'm not a linux user, but I don't mind flailing around :)

Are you compiling MapGuide trunk or 2.0 branch?  I believe that 2.0
was built against FDO 3.3, 2.1 against FDO 3.4 and trunk builds
against 3.5.

I wonder if the cmake install option defaults to installing the
providers, or if it only installs fdo core?

Jason

On 2009-10-10, kernel_panic <sudoaptgetinstalld00d3 at gmail.com> wrote:
> 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