I have build spatialite on an RHEL 5 and I must change source code in
order to compile.
Librairies availables on RHEL/CentOS repos are very old and I was
obliged to compile a lot of ones.
The errors are all like this one. (max 10 occurence)
ClassifyDlgs.cpp:41: error: conversion from ‘int’ to ‘const
wxTreeItemId’ is ambiguous
/usr/include/wx-2.8/wx/treebase.h:75: note: candidates are:
wxTreeItemId::wxTreeItemId(long int)
/usr/include/wx-2.8/wx/treebase.h:59: note:
wxTreeItemId::wxTreeItemId(void*)
I solved the issue changing :
CurrentItem = NULL;
by
CurrentItem = wxTreeItemId();
I am not sure that but the applications GUI and GIS works with that change.
Maybe it could be a good idea to change source code in that way ?
Regards,
Xavier
It is working.
I will talk to my Boss about your opinion on Redhat distros ;-)
(opinion I shared with you)
Xavier
2010/10/22 a.furieri <a.fu...@lqt.it>:
> --
> You received this message because you are subscribed to the Google Groups "SpatiaLite Users" group.
> To post to this group, send email to spatiali...@googlegroups.com.
> To unsubscribe from this group, send email to spatialite-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/spatialite-users?hl=en.
>
>