Hi List;
I have problem linking a simple executable with the liblas library
liblas_c.lib
provided in OSGEO4W.
I got the following erros when compiling in Visual Studio 2008:
2>testLIBLAS.obj : error LNK2019: symbole externe non résolu "public:
__thiscall liblas::Reader::~Reader(void)" (??1rea...@liblas@@q...@xz)
référencé dans la fonction _main
2>testLIBLAS.obj : error LNK2019: symbole externe non résolu "public:
__thiscall liblas::Reader::Reader(class std::basic_istream<char,struct
std::char_traits<char> > &)"
(??0rea...@liblas@@q...@aav?$basic_istream@du?$char_tra...@d@std@@@std@@@Z)
référencé dans la fonction _main
2>testLIBLAS.obj : error LNK2019: symbole externe non résolu "public:
double __thiscall liblas::Point::GetZ(void)const "
(?g...@point@liblas@@QBENXZ) référencé dans la fonction "public: bool
__thiscall liblas::Bounds<double>::contains(class liblas::Point const
&)const " (?conta...@?$bounds@n...@liblas@@qbe_nabvpo...@2@@Z)
2>testLIBLAS.obj : error LNK2019: symbole externe non résolu "public:
double __thiscall liblas::Point::GetY(void)const "
(?g...@point@liblas@@QBENXZ) référencé dans la fonction "public: bool
__thiscall liblas::Bounds<double>::contains(class liblas::Point const
&)const " (?conta...@?$bounds@n...@liblas@@qbe_nabvpo...@2@@Z)
2>testLIBLAS.obj : error LNK2019: symbole externe non résolu "public:
double __thiscall liblas::Point::GetX(void)const "
(?g...@point@liblas@@QBENXZ) référencé dans la fonction "public: bool
__thiscall liblas::Bounds<double>::contains(class liblas::Point const
&)const " (?conta...@?$bounds@n...@liblas@@qbe_nabvpo...@2@@Z)
.....
....
When I browse the symbols with DependencyWalker, i can find all the
symbols not found..
Am I missing something
I tried to link with the liblas.lib, but it asks me for
boost-serialization libs
I upload a cmake project here to show the problem here :
http://dl.free.fr/feHYcXrkh
One need to provide GDAL, TIFF and GeoTIFF libraries and include dirs
and Boost header as well.
If someone can have a look, It will be great.
Thanks
Otmane
_______________________________________________
Liblas-devel mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/liblas-devel