On Dec 3, 2012, at 9:25 PM, Peter Forthmann <<a href="mailto:peterspamspam@gmx.de">peterspamspam@gmx.de</a>> wrote:<br>> Now I'm trying to compile PyBuffer in the Wrapping/ExternalProjects folder. After 75%<div>
> progress I get the following error<br><br>On Mon, Dec 3, 2012 at 6:50 PM, Bradley Lowekamp <<a href="mailto:blowekamp@mail.nih.gov">blowekamp@mail.nih.gov</a>> wrote:<br>> I drop the following ITK module into the Modules/External directory:<br>
><br>> <a href="https://github.com/tobiasmaier/itkPyBuffer">https://github.com/tobiasmaier/itkPyBuffer</a></div><div><br></div><div>Equivalently, you can build Tobias Maier's updated PyBuffer as a remote module (<a href="http://www.itk.org/Wiki/ITK/Policy_and_Procedures_for_Adding_Remote_Modules">http://www.itk.org/Wiki/ITK/Policy_and_Procedures_for_Adding_Remote_Modules</a>) by creating a file, Modules/Remote/ITKBufferConversion.remote.cmake, in the source directory, with the following contents:</div>
<div><div><br></div><div>itk_fetch_module(ITKBufferConversion</div><div> "PyBuffer updated for ITK 4 by Tobias Maier."</div><div> GIT_REPOSITORY <a href="https://github.com/tobiasmaier/itkPyBuffer.git">https://github.com/tobiasmaier/itkPyBuffer.git</a></div>
<div> GIT_TAG 2f5f6ef73b</div><div> )</div><div><br></div><div>[end of Modules/Remote/ITKBufferConversion.remote.cmake]</div><div><br></div><div>Then, pass -DFetch_ITKBufferConversion=ON to cmake (or set it in ccmake).</div>
<div>Note that the source directory needs to be writable during the build, as the downloaded source will be placed there.</div><div><br></div><div>Mark</div><br></div>