PointCloudLibrary / PointCloudLibrary/pcl

Visualization Example failed to find match for field 'rgba' /no override found 'vtkPolyDataMapper'

Open
#2,509 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: stale
Dominant language
C++
Stars
11.1k
Forks
4.7k
Avg merge
4d 10h
Merged PRs (30d)
6

Description

Your Environment

  • Operating System and version:WIN10 pro
  • Compiler: VS2015
  • PCL Version:1.8.0

Context

I built PCL1.8.0 in VS2015 , by defining include & lib & bin directory.
Examples like filters ran correct but when I tried visualization , it did't work.

main.TXT
The code is in the main.txt .
and the VS project window shows
"Failed to find match for field 'rgba' " ,
while vtkOutputWindow shows
"Generic Warning:in C:\Build\3rdParty\x64\VTK-7.0.0\Rendering\Core\vtkPolyDataMapper.cxx,line 28"
"Error: no override found 'vtkPolyDataMapper'. "

when I run the program in main.txt.

I don't know for sure if it's the problem with VTK ,but i try to add
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL);
its output shows:
"H:\app\PCL\1\Project1\x64\Release\Project1.exe : fatal error LNK1120: 158 个无法解析的外部命令"

or
#include <vtkAutoInit.h>
VTK_MODULE_INIT(vtkRenderingOpenGL2);
its output shows:
1>源.obj : error LNK2001: 无法解析的外部符号 "void __cdecl vtkRenderingOpenGL2_AutoInit_Destruct(void)" (?vtkRenderingOpenGL2_AutoInit_Destruct@@YAXXZ)
1>源.obj : error LNK2001: 无法解析的外部符号 "void __cdecl vtkRenderingOpenGL2_AutoInit_Construct(void)" (?vtkRenderingOpenGL2_AutoInit_Construct@@YAXXZ)
1>H:\app\PCL\1\Project1\x64\Release\Project1.exe : fatal error LNK1120: 2 个无法解析的外部命令

I'll be very appreciated if anyone can help me out!

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 with the code attached as main.TXT and reproduce the visualization example using PCL 1.8.0, VS2015, and VTK 7.0.0. Read the reported vtkPolyDataMapper warning and the vtkAutoInit linker errors together; done means the example runs without the rgba warning, override warning, or unresolved external symbols.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.