GithubHelp home page GithubHelp logo

Comments (18)

fran6co avatar fran6co commented on May 27, 2024

Maybe some problems with my QT library. I'm using QT 4.8.4.

from pcl.

fran6co avatar fran6co commented on May 27, 2024

This is blocking homebrew Mac OSX compilation of the cloud_composer. I had to disable it in https://github.com/Homebrew/homebrew-science/pull/143

from pcl.

jspricke avatar jspricke commented on May 27, 2024

HI @fran6co, any news on this one?

from pcl.

fran6co avatar fran6co commented on May 27, 2024

No, I couldn't figure it out. Any ideas?

from pcl.

jpapon avatar jpapon commented on May 27, 2024

I wish I could help out here but I don't have access to an OS X system to build it on. Also, I don't think the plugin system works properly on Windows either... so it may be worthwhile to remove the cloud_composer in the hope that someone develops a better GUI in the future. I don't have time to work on it myself.

from pcl.

aichim avatar aichim commented on May 27, 2024

Hi guys,

Cloud composer has been failing on OSX for quite a while now. Jeremie, are you sure you cannot try to fix the problems? It would be ashame to wipe off all the cool work you did during that GSoC.

from pcl.

jspricke avatar jspricke commented on May 27, 2024

Hi Jeremie, does the cloud_composer works for you using clang? Using clang-3.3 I'm getting:
pcl/apps/cloud_composer/include/pcl/apps/cloud_composer/point_selectors/interactor_style_switch.h:93:538: error: use of overloaded operator <<' is
ambiguous (with operand types vtkOStreamWrapper' and vtkSmartPointer')`
Would be great if you could help with this!

from pcl.

mamoto avatar mamoto commented on May 27, 2024

@jspricke
-- vtkSmartPointer< vtkInteractorStyle > current_style_
++ vtkInteractorStyle *current_style_;

vtkGetObjectMacro(current_style_, vtkInteractorStyle);

from pcl.

jspricke avatar jspricke commented on May 27, 2024

@mamoto can you make that a pull request?

Thanks!

from pcl.

jspricke avatar jspricke commented on May 27, 2024

Hi @fran6co can you test if this is still an issue? Thanks!

from pcl.

fran6co avatar fran6co commented on May 27, 2024

Yes, it's still an issue:

cd /tmp/pcl-Ecgg/macbuild/apps/cloud_composer && /usr/local/Cellar/cmake/2.8.11.2/bin/cmake -E cmake_link_script CMakeFiles/pcl_cc_tool_interface.dir/link.txt --verbose=1
/usr/local/Library/ENV/4.3/c++  -ftemplate-depth=1024  -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names    -compatibility_version 1.7.0 -current_version 1.7.1 -o ../../lib/libpcl_cc_tool_interface.1.7.1.dylib -install_name /tmp/pcl-Ecgg/macbuild/lib/libpcl_cc_tool_interface.1.7.dylib CMakeFiles/pcl_cc_tool_interface.dir/src/tool_interface/abstract_tool.cpp.o CMakeFiles/pcl_cc_tool_interface.dir/include/pcl/apps/cloud_composer/tool_interface/moc_abstract_tool.cxx.o -F/usr/local/Cellar/qt/4.8.5/lib  -L/usr/local/lib/vtk-5.10 /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm ../../lib/libpcl_common.1.7.1.dylib -framework QtGui -framework QtCore /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_filesystem-mt.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_date_time-mt.dylib /usr/local/lib/libboost_iostreams-mt.dylib -lm
brew: superenv removed: -O3
Undefined symbols for architecture x86_64:
  "pcl::cloud_composer::PropertiesModel::copyProperties(pcl::cloud_composer::PropertiesModel const*)", referenced from:
      pcl::cloud_composer::AbstractTool::AbstractTool(pcl::cloud_composer::PropertiesModel*, QObject*) in abstract_tool.cpp.o
  "pcl::cloud_composer::PropertiesModel::PropertiesModel(QObject*)", referenced from:
      pcl::cloud_composer::AbstractTool::AbstractTool(pcl::cloud_composer::PropertiesModel*, QObject*) in abstract_tool.cpp.o
  "pcl::cloud_composer::MergeCloudCommand::MergeCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::MergeCloudTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::ModifyItemCommand::ModifyItemCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::ModifyItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::SplitCloudCommand::SplitCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::SplitItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::NewItemCloudCommand::NewItemCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::NewItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libpcl_cc_tool_interface.1.7.1.dylib] Error 1
make[1]: *** [apps/cloud_composer/CMakeFiles/pcl_cc_tool_interface.dir/all] Error 2

from pcl.

rbrusu avatar rbrusu commented on May 27, 2024

Anything left to fix?

from pcl.

fran6co avatar fran6co commented on May 27, 2024

It's not working yet. Not sure how to fix it.

from pcl.

rbrusu avatar rbrusu commented on May 27, 2024

@taketwo is it possible to see if this compiles fine on your machine? That would help @fran6co and we could close the issue.

from pcl.

taketwo avatar taketwo commented on May 27, 2024

On my machine (Ubuntu 12.10, clang 3.5.0) with the BUILD_apps_cloud_composer flag enabled make pcl_cloud_composer succeeds.

On a separate note though, make pcl_ni_susan fails with:

CMakeFiles/pcl_ni_susan.dir/src/ni_susan.cpp.o: In function `bool pcl::visualization::PCLVisualizer::addPointCloud<pcl::PointXYZRGBL>(pcl::PointCloud<pcl::PointXYZRGBL>::ConstPtr const&, pcl::visualization::PointCloudColorHandler<pcl::PointXYZRGBL> const&, std::string const&, int)':
/media/Workspace/Libraries/pcl/visualization/include/pcl/visualization/impl/pcl_visualizer.hpp:140: undefined reference to `pcl::visualization::PointCloudGeometryHandlerXYZ<pcl::PointXYZRGBL>::PointCloudGeometryHandlerXYZ(boost::shared_ptr<pcl::PointCloud<pcl::PointXYZRGBL> const> const&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [bin/pcl_ni_susan] Error 1
make[2]: *** [apps/CMakeFiles/pcl_ni_susan.dir/all] Error 2
make[1]: *** [apps/CMakeFiles/pcl_ni_susan.dir/rule] Error 2
make: *** [pcl_ni_susan] Error 2

from pcl.

fran6co avatar fran6co commented on May 27, 2024

@taketwo, sorry I didn't parse it. =/

Not sure what I'm doing wrong then.

from pcl.

fran6co avatar fran6co commented on May 27, 2024

I tried to compile it again with the VTK6 PR.

Undefined symbols for architecture x86_64:
  "vtkRenderingOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkInteractionStyle_AutoInit_Destruct()", referenced from:
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkRenderingOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkInteractionStyle_AutoInit_Construct()", referenced from:
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkRenderingFreeType_AutoInit_Destruct()", referenced from:
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkRenderingFreeType_AutoInit_Construct()", referenced from:
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkRenderingFreeTypeOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::~vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkRenderingFreeTypeOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in abstract_tool.cpp.o
      vtkRenderingCore_AutoInit::vtkRenderingCore_AutoInit() in moc_abstract_tool.cxx.o
  "vtkDebugLeaksManager::vtkDebugLeaksManager()", referenced from:
      __GLOBAL__I_a in abstract_tool.cpp.o
      __GLOBAL__I_a in moc_abstract_tool.cxx.o
  "vtkDebugLeaksManager::~vtkDebugLeaksManager()", referenced from:
      __GLOBAL__I_a in abstract_tool.cpp.o
      __GLOBAL__I_a in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::PropertiesModel::copyProperties(pcl::cloud_composer::PropertiesModel const*)", referenced from:
      pcl::cloud_composer::AbstractTool::AbstractTool(pcl::cloud_composer::PropertiesModel*, QObject*) in abstract_tool.cpp.o
  "pcl::cloud_composer::PropertiesModel::PropertiesModel(QObject*)", referenced from:
      pcl::cloud_composer::AbstractTool::AbstractTool(pcl::cloud_composer::PropertiesModel*, QObject*) in abstract_tool.cpp.o
  "pcl::cloud_composer::MergeCloudCommand::MergeCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::MergeCloudTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::ModifyItemCommand::ModifyItemCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::ModifyItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::SplitCloudCommand::SplitCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::SplitItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
  "pcl::cloud_composer::NewItemCloudCommand::NewItemCloudCommand(QList<pcl::cloud_composer::CloudComposerItem const*>, QUndoCommand*)", referenced from:
      pcl::cloud_composer::NewItemTool::createCommand(QList<pcl::cloud_composer::CloudComposerItem const*>) in moc_abstract_tool.cxx.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libpcl_cc_tool_interface.1.7.1.dylib] Error 1
make[1]: *** [apps/cloud_composer/CMakeFiles/pcl_cc_tool_interface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

from pcl.

GeneralJing avatar GeneralJing commented on May 27, 2024

Undefined symbols for architecture x86_64:
"vtkDebugLeaksManager::vtkDebugLeaksManager()", referenced from:
___cxx_global_var_init.3 in Triangle.o
"vtkDebugLeaksManager::~vtkDebugLeaksManager()", referenced from:
___cxx_global_var_init.3 in Triangle.o
"vtkObjectFactoryRegistryCleanup::vtkObjectFactoryRegistryCleanup()", referenced from:
___cxx_global_var_init.4 in Triangle.o
"vtkObjectFactoryRegistryCleanup::~vtkObjectFactoryRegistryCleanup()", referenced from:
___cxx_global_var_init.4 in Triangle.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
similar question, anyone knows?

from pcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.