<div dir="ltr">David,<div><br></div><div>thanks for the response.</div><div><br></div><div>To provide some additional information, I have tried using python3.5 binaries straight off of <a href="http://python.org">python.org</a> as wells as my anaconda installation.  Both give me the same error.</div><div><br></div><div>The variables I have set using ccmake and standard python are:</div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><br></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">PYTHON_EXECUTABLE = /Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5</span></div></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">PYTHON_INCLUDE_DIR = /Library/Frameworks/Python.framework/Versions/3.5/python3.5m</span></div></div><div><div style="font-size:12.8px"><span style="font-size:12.8px">PYTHON_LIBRARY = /Library/Frameworks/Python.framework/Versions/3.5/lib/libpython3.5.dylib</span></div></div></blockquote></div><div style="font-size:12.8px"><span style="font-size:12.8px"><br></span></div><div style="font-size:12.8px"><span style="font-size:12.8px">The contents of the lib folder are:</span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><div style="font-size:12.8px">libformw.5.dylib    libmenuw.5.dylib    libncursesw.5.dylib libpanelw.5.dylib   libpython3.5.dylib  pkgconfig</div><div style="font-size:12.8px">libformw.dylib      libmenuw.dylib      libncursesw.dylib   libpanelw.dylib     libpython3.5m.dylib python3.5</div></span></div><div style="font-size:12.8px"><span style="font-size:12.8px"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Matt</div></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 1, 2016 at 11:19 PM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-size:12.8px">Hi Matthew,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">No, there aren't pre-build binaries with python 3.  I don't think that is planned for this release.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I've been doing my OS X builds with the python binary packages from <a href="http://python.org" target="_blank">python.org</a>, so I know that those, at least, should work.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Can you give me some details about the python you are using?  Specifically, can you tell me what the contents of the library directory (</span><span style="font-size:12.8px">/Users/mcragun/anaconda/envs/</span><span style="font-size:12.8px">py3k/lib/) are?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Also, in the CMakeCache.txt, can you give me the values of PYTHON_EXECUTABLE, PYTHON_INCLUDE_DIR, and PYTHON_LIBRARY?</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">For my build against the <a href="http://python.org" target="_blank">python.org</a> binaries, VTK found the following:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">PYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4</span><br></div><div><span style="font-size:12.8px">PYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/3.4/Headers/</span><br></div><div><span style="font-size:12.8px">PYTHON_LIBRARY:FILEPATH=/Library/Frameworks/Python.framework/Versions/3.4/lib/libpython3.4.dylib</span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Obviously the locations will be different for Anaconda, but I just wanted to give you an example of how these variables can be set.</span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"> - David</span></div></font></span><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 1, 2016 at 9:45 PM, Matthew Cragun <span dir="ltr"><<a href="mailto:mcragun@gmail.com" target="_blank">mcragun@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I am having trouble building VTK 7 with Python 3.4 on OS X 10.11 .  Everything goes well for the first 99% of the process, however at the end, I get this error:<div><br></div><div><div>[ 99%[ Building CXX object Wrapping/Python/CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o</div><div>make[2]: *** No rule to make target `/Users/mcragun/anaconda/envs/py3k/lib/libpython3.4.dylib', needed by `bin/vtkpython'.  Stop.</div><div>make[2]: *** Waiting for unfinished jobs....</div><div>In file included from /Users/mcragun/Projects/VTK/Wrapping/Python/vtkPythonAppInit.cxx:29:</div><div>/Users/mcragun/Projects/VTK-build/Wrapping/Python/vtkpythonmodules.h:119:3: error: no matching function</div><div>      for call to 'PyImport_AppendInittab'</div><div>  PyImport_AppendInittab(namevtkCommonCore, initvtkCommonCorePython);</div></div><div><div> ^~~~~~~~~~~~~~~~~~~~~~</div><div>/Users/mcragun/anaconda/envs/py3k/include/python3.4m/import.h:109:17: note: candidate function not</div><div>      viable: no known conversion from 'void ()' to 'PyObject *(*)()' for 2nd argument</div><div>PyAPI_FUNC(int) PyImport_AppendInittab(</div><div>                ^</div><div>In file included from /Users/mcragun/Projects/VTK/Wrapping/Python/vtkPythonAppInit.cxx:29:</div><div>/Users/mcragun/Projects/VTK-build/Wrapping/Python/vtkpythonmodules.h:122:3: error: no matching function</div><div>      for call to 'PyImport_AppendInittab'</div><div>  PyImport_AppendInittab(namevtkCommonMath, initvtkCommonMathPython);</div><div>  ^~~~~~~~~~~~~~~~~~~~~~</div></div><div><br></div><div>Similar errors are repeated until...</div><div><br></div><div><div>  ^~~~~~~~~~~~~~~~~~~~~~</div><div>/Users/mcragun/anaconda/envs/py3k/include/python3.4m/import.h:109:17: note: candidate function not</div><div>      viable: no known conversion from 'void ()' to 'PyObject *(*)()' for 2nd argument</div><div>PyAPI_FUNC(int) PyImport_AppendInittab(</div><div>                ^</div><div>fatal error: too many errors emitted, stopping now [-ferror-limit=]</div><div>20 errors generated.</div><div>make[2]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/vtkPythonAppInit.cxx.o] Error 1</div><div>make[1]: *** [Wrapping/Python/CMakeFiles/vtkpython.dir/all] Error 2</div><div>make: *** [all] Error 2</div></div><div><br></div><div>Any thoughts on what I missed?  Are there pre-built binaries with python 3 for OS X?</div><div><br></div><div>Thanks,</div><div><br></div><div>Matt</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>