PCL Visual Studio 2015 Installation - Boost error

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

PCL Visual Studio 2015 Installation - Boost error

anna333
Hello,

I followed the instructions "Building PCL 1.8.1 with Visual Studio" to build
all 3d party dependencies and PCL. The installation of PCL in realease and
debug mode worked without any problems. However, if I want to integrate
installed libraries in my C++ projects in Debug mode x64, the following
error message appears:

Error LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0'
doesn't match value '2' in libboost_system-vc140-mt-1_64.lib(error_code.obj)
1

I tried to reinstall Boost 1.64 but the same error appears when building my
projects. Do I have to make any special settings when building Boost for
PCL?  











--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL Visual Studio 2015 Installation - Boost error

Sérgio Agostinho

Hey,

Can I suggest you use vcpkg for that? It will basically be invoking

vcpkg install pcl:x64-windows

It will build both debug and release and it will handle all the dependencies for you. Give it a try!

Cheers



_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

Re: PCL Visual Studio 2015 Installation - Boost error

anna333
Thank you very much!
This kind of installation saves a lot of time and energy.

I still get errors concerning boost libraries but they are kind of ignored.



--
Sent from: http://www.pcl-users.org/
_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users
Reply | Threaded
Open this post in threaded view
|

RES: PCL Visual Studio 2015 Installation - Boost error

danieltak
In reply to this post by Sérgio Agostinho

Vcpkg has na issue with automatic linker on vcpkg install pcl:x64-windows-static: https://github.com/Microsoft/vcpkg/issues/2323

 

So avoid using it at the moment. And a Tutorial on vcpkg can be found here: http://unanancyowen.com/en/pcl-vcpkg/

 

Best Regards,

 

Daniel Takeshi

[hidden email]

 

De: PCL-users [mailto:[hidden email]] Em nome de Sérgio Agostinho
Enviada em: sexta-feira, 8 de dezembro de 2017 12:21
Para: [hidden email]
Assunto: Re: [PCL-users] PCL Visual Studio 2015 Installation - Boost error

 

Hey,

Can I suggest you use vcpkg for that? It will basically be invoking

vcpkg install pcl:x64-windows

It will build both debug and release and it will handle all the dependencies for you. Give it a try!

Cheers

 


_______________________________________________
[hidden email] / http://pointclouds.org
http://pointclouds.org/mailman/listinfo/pcl-users