Skip to content

undefined reference to `LineDetection3D::LineDetection3D()' #11

Description

@Abbsalehi

Could you please assist me to fix this issue?

'Starting build...
/usr/bin/g++ -fdiagnostics-color=always -g /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main.cpp -o /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main
/usr/bin/ld: /tmp/ccL2cPu8.o: in function main': /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main.cpp:125: undefined reference to LineDetection3D::LineDetection3D()'
/usr/bin/ld: /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main.cpp:129: undefined reference to LineDetection3D::run(PointCloud<double>&, int, std::vector<PLANE, std::allocator<PLANE> >&, std::vector<std::vector<cv::Point3_<double>, std::allocator<cv::Point3_<double> > >, std::allocator<std::vector<cv::Point3_<double>, std::allocator<cv::Point3_<double> > > > >&, std::vector<double, std::allocator<double> >&)' /usr/bin/ld: /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main.cpp:135: undefined reference to LineDetection3D::~LineDetection3D()'
/usr/bin/ld: /home/amirabb/Desktop/3D_line_detection/3DLineDetection-1/src/main.cpp:135: undefined reference to `LineDetection3D::~LineDetection3D()'
collect2: error: ld returned 1 exit status

Build finished with error(s).

  • The terminal process terminated with exit code: -1.
  • Terminal will be reused by tasks, press any key to close it'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions