Open tanuva opened 10 years ago
I haven't switched to 10.9 yet so I can't test this, it looks like people have been getting pcl to compile though, just from what I have been seeing in ROS answers and the PCL mailing list.
Greetings, I am seeing the same issue as was in #24021 as well. Looks like my vtk.vb matches the above, has anyone had success with this?
Thanks, Woody
Not that I know of.
On Nov 25, 2013, at 20:59 , woody242 notifications@github.com wrote:
Greetings, I am seeing the same issue as was in #24021 as well. Looks like my vtk.vb matches the above, has anyone had success with this?
Thanks, Woody
— Reply to this email directly or view it on GitHub.
Rick
VTK 6.0 has made a few changes that do not appear to be in the codebase for PCL yet: http://vtk.org/Wiki/VTK/VTK_6_Migration_Guide including SetInputData, AllocateScalars, and vtkCommonCore.
this branch may the only up to date one for vtk 6.0: https://github.com/fran6co/pcl.git - follow this thread for more updates: https://github.com/PointCloudLibrary/pcl/pull/363
@tanuva try to use https://github.com/fran6co/homebrew-cv instead. It builds with vtk5 in mavericks, I'll update it to vtk6 when PointCloudLibrary/pcl#363 gets merged.
I just tried install pcl from homebrew-cv and it gives the following error.
brew install pcl --HEAD --with-tests --with-examples
==> Cloning https://github.com/PointCloudLibrary/pcl.git
Updating /Library/Caches/Homebrew/pcl--git
fatal: ref refs/remotes/origin/HEAD is not a symbolic ref
fatal: ambiguous argument 'origin/HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error: Failure while executing: git reset -q --hard origin/HEAD
There is something weird in your environment. You could try to kill this folder:
/Library/Caches/Homebrew/pcl--git
@pkmital and others: FYI, @fran6co's branch does not yet appear to work with vtk6. I tried. I get "Error 2" without it actually saying what the error is. It may be a me-specific problem, but I attempted to make it with with vtk6 because of your comment — so I thought I should clarify for others who might attempt the same.
No, it doesn't work with vtk6 because https://github.com/PointCloudLibrary/pcl/pull/363 wasn't merged yet. When that gets merged I'll enable vtk6 support for the formula.
It's not working for me with vtk5 either.
brew install -vd pcl --HEAD --with-openni --with-qt
Same error for both, I think:
cd /tmp/pcl-yS2w/macbuild/filters && /usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_symlink_library ../lib/libpcl_filters.1.7.1.dylib ../lib/libpcl_filters.1.7.dylib ../lib/libpcl_filters.dylib
/usr/local/Cellar/cmake/2.8.12.1/bin/cmake -E cmake_progress_report /tmp/pcl-yS2w/macbuild/CMakeFiles 14 15 16 17 18
[ 29%] Built target pcl_filters
make: *** [all] Error 2
/usr/local/Library/Homebrew/formula.rb:614:in `system'
BuildError: Failed executing: make
1. raise
2. ignore
3. backtrace
4. irb
5. shell
Choose an action: 3
/usr/local/Library/Homebrew/formula.rb:614:in `system'
/usr/local/Library/Homebrew/formula.rb:598:in `open'
/usr/local/Library/Homebrew/formula.rb:598:in `system'
/usr/local/Library/Formula/pcl.rb:124:in `install'
/usr/local/Library/Homebrew/extend/fileutils.rb:33:in `mkdir'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:121:in `chdir'
/usr/local/Library/Homebrew/extend/fileutils.rb:32:in `mkdir'
/usr/local/Library/Formula/pcl.rb:122:in `install'
/usr/local/Library/Homebrew/build.rb:165:in `install'
/usr/local/Library/Homebrew/formula.rb:272:in `brew'
/usr/local/Library/Homebrew/formula.rb:627:in `stage'
/usr/local/Library/Homebrew/resource.rb:63:in `unpack'
/usr/local/Library/Homebrew/extend/fileutils.rb:21:in `mktemp'
/usr/local/Library/Homebrew/resource.rb:60:in `unpack'
/usr/local/Library/Homebrew/resource.rb:53:in `stage'
(__FORWARDABLE__):3:in `__send__'
(__FORWARDABLE__):3:in `stage'
/usr/local/Library/Homebrew/formula.rb:625:in `stage'
/usr/local/Library/Homebrew/formula.rb:267:in `brew'
/usr/local/Library/Homebrew/build.rb:144:in `install'
/usr/local/Library/Homebrew/build.rb:45:in `main'
/usr/local/Library/Homebrew/build.rb:12
/usr/local/Library/Formula/pcl.rb:63
PCL from git is supposed to build against vtk 6.0: http://www.pcl-users.org/vtk-error-when-making-PCL1-7-from-source-td4029769.html This is a patched vtk recipe for OS X 10.9 that I used: https://raw.github.com/jenshnielsen/homebrew-science/vtk6mavericks/vtk.rb
Is it necessary to wait for a new pcl release or could reciping the git version work?
Build log: