Skip to content

undefined reference #1

@RebootaRobot

Description

@RebootaRobot

Hi, I tried to run
pcl-trunk/apps/src/pcd_organized_edge_detection.cpp.
pcl-trunk/apps/src/openni_organized_edge_detection.cpp.

And both give me the sam problem when i do make:

Scanning dependencies of target pcd_organized_edge_detection
[100%] Building CXX object CMakeFiles/pcd_organized_edge_detection.dir/pcd_organized_edge_detection.cpp.o
Linking CXX executable pcd_organized_edge_detection
CMakeFiles/pcd_organized_edge_detection.dir/pcd_organized_edge_detection.cpp.o: In function compute(boost::shared_ptr<sensor_msgs::PointCloud2 const> const&, sensor_msgs::PointCloud2&, float, int)': pcd_organized_edge_detection.cpp:(.text+0xbc4): undefined reference topcl::OrganizedEdgeFromRGBNormals<pcl::PointXYZRGBA, pcl::Normal, pcl::Label>::compute(pcl::PointCloudpcl::Label&, std::vector<pcl::PointIndices, std::allocatorpcl::PointIndices >&) const'
collect2: ld returned 1 exit status
make[2]: *** [pcd_organized_edge_detection] Error 1
make[1]: *** [CMakeFiles/pcd_organized_edge_detection.dir/all] Error 2
make: *** [all] Error 2

I'm using Linux Ubuntu Studio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions