Solving a difficult compilation issue

依然范特西╮ 提交于 2019-12-06 06:32:48

Bastards. I went to the pcl_ros folder, and the glew include directory was pointing to Glew.Framework, which is deprecated as of OSX 10.8!

Scumbag Mavericks! I simply pointed it to the correct glew include directory, which for me is:

/usr/local/Cellar/glew/1.11.0/include/GL

Same as user ovfstack described encountered on OS X 10.10. While compiling ros indigo I found that /usr/local/share/pcl-1.8/PCLConfig.cmake is deprecated.

I installed glew via homebrew under /usr/local/Cellar/glew/1.11.0/include/ and changed line 415 in the above mentioned cmake file from

/System/Library/Frameworks/GLEW.framework/Versions/A/Headers

to

/usr/local/Cellar/glew/1.11.0/include/

Now it compiles just fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!