[pdal] build errors on head (win32)

Michael P. Gerlek mpg at flaxen.com
Thu Oct 27 14:16:39 EDT 2011


The OCI stuff isn't building under win32 right now, for two reasons:

* Cloud:: Cloud() and Cloud::~ Cloud() are declared and used, but not defined

* the new "bind" code totally fails to compile under win32 with boost 1.46.1 (lines 67 and 71 in oci Reader.cpp, and two more in the Writer), see below

I've locally commented out those 4 bind lines and stubbed in empty definitions for Cloud() and ~Cloud(), and everything builds and passes okay.

-mpg




2>  Reader.cpp
2>c:\Utils\boost_pro_1_46_1\boost/bind/bind.hpp(69): error C2825: 'F': must be a class or namespace when followed by '::'
2>          c:\Utils\boost_pro_1_46_1\boost/bind/bind_template.hpp(15) : see reference to class template instantiation 'boost::_bi::result_traits<R,F>' being compiled
2>          with
2>          [
2>              R=boost::_bi::unspecified,
2>              F=void (__stdcall pdal::drivers::oci::Reader::* )(CPLErr,int,const char *)
2>          ]
2>          drivers\oci\Reader.cpp(71) : see reference to class template instantiation 'boost::_bi::bind_t<R,F,L>' being compiled
2>          with
2>          [
2>              R=boost::_bi::unspecified,
2>              F=void (__stdcall pdal::drivers::oci::Reader::* )(CPLErr,int,const char *),
2>              L=boost::_bi::list4<boost::_bi::value<pdal::drivers::oci::Reader *>,boost::arg<1>,boost::arg<2>,boost::arg<3>>
2>          ]
2>c:\Utils\boost_pro_1_46_1\boost/bind/bind.hpp(69): error C2039: 'result_type' : is not a member of '`global namespace''
2>c:\Utils\boost_pro_1_46_1\boost/bind/bind.hpp(69): error C2146: syntax error : missing ';' before identifier 'type'
2>c:\Utils\boost_pro_1_46_1\boost/bind/bind.hpp(69): error C2208: 'boost::_bi::type' : no members defined using this type
2>c:\Utils\boost_pro_1_46_1\boost/bind/bind.hpp(69): fatal error C1903: unable to recover from previous error(s); stopping compilation




More information about the pdal mailing list