vcpkg install pcl[tools] failed to build because of boost 1.67 upgrade. The error message is similar to the ones shown in PointCloudLibrary/pcl#2284
Based on the comments, I manually add add_definitions(-DBOOST_UUID_RANDOM_GENERATOR_COMPAT) into the root CMakeLists for pcl in the source folder and it successfully compiles. However, this doesn't feel like the right way to fix it, I couldn't find a way to use add_definitions or target_compile_definitions to propagate the macro in the pcl portfile when building it.
Tsukasa Sugiura (@UnaNancyOwen) Robert Schumacher (@ras0219-msft) What do you think is the best way to fix this?
vcpkg install pcl[tools]failed to build because of boost 1.67 upgrade. The error message is similar to the ones shown in PointCloudLibrary/pcl#2284Based on the comments, I manually add
add_definitions(-DBOOST_UUID_RANDOM_GENERATOR_COMPAT)into the root CMakeLists for pcl in the source folder and it successfully compiles. However, this doesn't feel like the right way to fix it, I couldn't find a way to useadd_definitionsortarget_compile_definitionsto propagate the macro in the pcl portfile when building it.Tsukasa Sugiura (@UnaNancyOwen) Robert Schumacher (@ras0219-msft) What do you think is the best way to fix this?