Skip to content

[pcl_ml] both pcl_ml and QtGui defines QMatrix #4857

@maz-1

Description

@maz-1

Describe the bug

Both pcl_ml and qtgui defines QMatrix, if i link both pcl_ml and QtGui statically i get duplicate symbols error

Context

Expected behavior

No duplicate symbols when link both pcl_ml and qtgui

Current Behavior

link both pcl_ml and QtGui statically cause duplicate symbols error

To Reproduce

Link a cmake project with both static qt5 and pcl

Screenshots/Code snippets

In order to help explain your problem, please consider adding

  • screenshots of the GUI issues
  • code snippets: syntax for code with correct language highlights

Your Environment (please complete the following information):

  • OS: windows 10
  • Compiler: MSVC 14.16.27023
  • PCL Version: 1.12.0

Possible Solution

AFAIK QMatrix is not used outside ml/src/svm.cpp so it should be safe to rename it

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions