Skip to content

Commit

Permalink
fixes unresolved externals on msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
chambbj committed Dec 4, 2014
1 parent feb61fa commit 3632a1a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ endif()
if(PDAL_UTILITY)
set(srcs
pdal.cpp
${PDAL_TARGET_OBJECTS}
)

list(APPEND PDAL_UTILITIES ${PDAL_UTILITY})
Expand Down
2 changes: 1 addition & 1 deletion include/pdal/PDALUtils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ namespace reST

std::ostream& toRST(const ptree&, std::ostream& os);

void write_rst(std::ostream& ost,
void PDAL_DLL write_rst(std::ostream& ost,
const boost::property_tree::ptree& pt,
int level=0);

Expand Down
12 changes: 8 additions & 4 deletions plugins/pcl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@ if(PCL_FOUND)
set(deps ${PCL_LIBRARIES})
PDAL_ADD_PLUGIN(pclvisualizer_writer_lib_name writer pclvisualizer "${srcs}" "${incs}" "${deps}")

#
#
# View Kernel
#
set(srcs
kernel/ViewKernel.cpp
${PDAL_TARGET_OBJECTS}
)

set(incs
Expand Down Expand Up @@ -133,42 +134,45 @@ if(PCL_FOUND)
#
set(srcs
kernel/PCLKernel.cpp
${PDAL_TARGET_OBJECTS}
)

set(incs
kernel/PCLKernel.hpp
)

set(deps ${PCL_LIBRARIES} ${pclblock_filter_lib_name})
PDAL_ADD_PLUGIN(pcl_kernel_lib_name kernel pcl "${srcs}" "${incs}" "${deps}")
#PDAL_ADD_PLUGIN(pcl_kernel_lib_name kernel pcl "${srcs}" "${incs}" "${deps}")

#
# Ground Kernel
#
set(srcs
kernel/GroundKernel.cpp
${PDAL_TARGET_OBJECTS}
)

set(incs
kernel/GroundKernel.hpp
)

set(deps ${PCL_LIBRARIES} ${pclblock_filter_lib_name})
PDAL_ADD_PLUGIN(ground_kernel_lib_name kernel ground "${srcs}" "${incs}" "${deps}")
#PDAL_ADD_PLUGIN(ground_kernel_lib_name kernel ground "${srcs}" "${incs}" "${deps}")

#
# Smooth Kernel
#
set(srcs
kernel/SmoothKernel.cpp
${PDAL_TARGET_OBJECTS}
)

set(incs
kernel/SmoothKernel.hpp
)

set(deps ${PCL_LIBRARIES} ${pclblock_filter_lib_name})
PDAL_ADD_PLUGIN(smooth_kernel_lib_name kernel smooth "${srcs}" "${incs}" "${deps}")
#PDAL_ADD_PLUGIN(smooth_kernel_lib_name kernel smooth "${srcs}" "${incs}" "${deps}")

#
# PCL tests
Expand Down

0 comments on commit 3632a1a

Please sign in to comment.