{"action":"created","issue":{"url":"https://api.github.com/repos/nipy/mindboggle/issues/69","repository_url":"https://api.github.com/repos/nipy/mindboggle","labels_url":"https://api.github.com/repos/nipy/mindboggle/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/nipy/mindboggle/issues/69/comments","events_url":"https://api.github.com/repos/nipy/mindboggle/issues/69/events","html_url":"https://github.com/nipy/mindboggle/issues/69","id":120947858,"number":69,"title":"C++ compilation issue on MacOSX with the new VTK 6","user":{"login":"binarybottle","id":236532,"avatar_url":"https://avatars.githubusercontent.com/u/236532?v=3","gravatar_id":"","url":"https://api.github.com/users/binarybottle","html_url":"https://github.com/binarybottle","followers_url":"https://api.github.com/users/binarybottle/followers","following_url":"https://api.github.com/users/binarybottle/following{/other_user}","gists_url":"https://api.github.com/users/binarybottle/gists{/gist_id}","starred_url":"https://api.github.com/users/binarybottle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarybottle/subscriptions","organizations_url":"https://api.github.com/users/binarybottle/orgs","repos_url":"https://api.github.com/users/binarybottle/repos","events_url":"https://api.github.com/users/binarybottle/events{/privacy}","received_events_url":"https://api.github.com/users/binarybottle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"satra","id":184063,"avatar_url":"https://avatars.githubusercontent.com/u/184063?v=3","gravatar_id":"","url":"https://api.github.com/users/satra","html_url":"https://github.com/satra","followers_url":"https://api.github.com/users/satra/followers","following_url":"https://api.github.com/users/satra/following{/other_user}","gists_url":"https://api.github.com/users/satra/gists{/gist_id}","starred_url":"https://api.github.com/users/satra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satra/subscriptions","organizations_url":"https://api.github.com/users/satra/orgs","repos_url":"https://api.github.com/users/satra/repos","events_url":"https://api.github.com/users/satra/events{/privacy}","received_events_url":"https://api.github.com/users/satra/received_events","type":"User","site_admin":false},"milestone":null,"comments":15,"created_at":"2015-12-08T07:02:13Z","updated_at":"2016-03-17T21:03:50Z","closed_at":null,"body":"When make is run within mindboggle/surface_cpp_tools/bin after running cmake, I get an odd error, where it is trying to access an old (10.7 vs. 10.11) SDK:\r\n\r\nLutchi:bin arno$ make\r\n[  7%] Built target FsSurfaceReader\r\n[ 15%] Built target GradientComputer\r\n[ 23%] Built target MeshAnalyser\r\n[ 30%] Built target PointAreaComputer\r\n[ 38%] Built target Overlap\r\n[ 46%] Built target TravelDepth\r\n[ 53%] Built target VtkFileEditor\r\nmake[2]: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/AGL.framework', needed by `travel_depth/TravelDepthMain'.  Stop.\r\nmake[1]: *** [travel_depth/CMakeFiles/TravelDepthMain.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/nipy/mindboggle/issues/comments/198081708","html_url":"https://github.com/nipy/mindboggle/issues/69#issuecomment-198081708","issue_url":"https://api.github.com/repos/nipy/mindboggle/issues/69","id":198081708,"user":{"login":"grlee77","id":6528957,"avatar_url":"https://avatars.githubusercontent.com/u/6528957?v=3","gravatar_id":"","url":"https://api.github.com/users/grlee77","html_url":"https://github.com/grlee77","followers_url":"https://api.github.com/users/grlee77/followers","following_url":"https://api.github.com/users/grlee77/following{/other_user}","gists_url":"https://api.github.com/users/grlee77/gists{/gist_id}","starred_url":"https://api.github.com/users/grlee77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grlee77/subscriptions","organizations_url":"https://api.github.com/users/grlee77/orgs","repos_url":"https://api.github.com/users/grlee77/repos","events_url":"https://api.github.com/users/grlee77/events{/privacy}","received_events_url":"https://api.github.com/users/grlee77/received_events","type":"User","site_admin":false},"created_at":"2016-03-17T21:03:50Z","updated_at":"2016-03-17T21:03:50Z","body":"I can see where the executable is looking for the libraries by calling:\r\n\r\n`otool -L TravelDepthMain`\r\n```\r\nTravelDepthMain:\r\n\t@rpath/./libvtkDomainsChemistryOpenGL2-7.0.1.dylib (compatibility version 1.0.0, current version 1.0.0)\r\n\t@rpath/./libvtkFiltersFlowPaths-7.0.1.dylib (compatibility version 1.0.0, current version 1.0.0)\r\n\t@rpath/./libvtkFiltersGeneric-7.0.1.dylib (compatibility version 1.0.0, current version 1.0.0)\r\n\t@rpath/./libvtkFiltersHyperTree-7.0.1.dylib (compatibility version 1.0.0, current version 1.0.0)\r\n.\r\n.\r\n.\r\n```\r\nI can also verify that those .dylib files do exist in ~/anaconda/lib.\r\n\r\nSo it seems like rpath would need to be the lib subfolder of the anaconda environment where those .dylib files reside.  I read about a tool called `install_name_tool` that is probably what is needed to fix this.  Are you familiar with it?\r\n\r\nI am not sure that this is an issue with the conda package itself, but perhaps with the os x build setup for mindboggle?  I can verify that I am able to import vtk in python and run both the vtk test script included with the conda recipes as well as various visualization code from the `dipy` package.  What I had not tested is building an external library against the VTK libraries compiled by the conda package.  It may be that this case requires an additional step such as calling install_name_tool to fix rpaths after the build?\r\n"}}