PointCloudLibrary / PointCloudLibrary/pcl

Compile error relative to example_nurbs_viewer_surface

Open
#1,951 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind: compile error needs: testing platform: windows
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

⚠️ This is a issue tracker, please use our mailing list for questions: www.pcl-users.org. ⚠️

Your Environment

  • Operating System and version: Win7_64
  • Compiler: VS 2013
  • PCL Version: 1.8.0

Cmake 3.6.3

Boost 1.61.0
Eigen 3.2.8
FLANN 1.8.4
QHull 2015.2
VTK 7.1.0 with Qt5.8
OpenNI 2

Current Behavior

two error during the x64 debug compile

76>example_nurbs_viewer_surface.obj : error LNK2019: unresolved external symbol ON_ErrorEx referenced in function "public: class ONX_Model_Object & __cdecl ON_ClassArray::operator" (??A?$ON_ClassArray@VONX_Model_Object@@@@QEAAAEAVONX_Model_Object@@H@Z)
76>E:\PCL-1.8.0\build\bin\pcl_example_nurbs_viewer_surface_debug.exe : fatal error LNK1120: 1 unresolved externals

========== Rebuild All: 161 succeeded, 1 failed, 0 skipped ==========

Context

Hope someone can help to solve it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the x64 Debug build of example_nurbs_viewer_surface with the listed PCL, Visual Studio, CMake, and dependency versions. Inspect the linker configuration for the example_nurbs_viewer_surface.obj target and the missing ON_ErrorEx symbol; done means the target links without the reported LNK2019 and LNK1120 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.