Menu

#3 Compiling on OSX

v1.0_(example)
open
nobody
None
1
2016-01-20
2016-01-20
Tobias Wood
No

Hello,

I would like access to the command-line tools on OS X. When I download the .dmg, it seems to only include the GUI and I can't find instructions for how to access the tools from a shell.

So I cloned the repo and tried to compile against ITK 4.8.1. Unfortunately I hit this error:

build git:(master) ✗ make
[ 1%] Built target markdown_to_hex
[ 2%] Built target markdown_docs
[ 4%] Built target cnd_driver
[ 6%] Built target ITKPovRayIO
[ 9%] Built target ITKVoxBoIO
[ 10%] Building CXX object CMakeFiles/cnd_adapters.dir/adapters/BiasFieldCorrection.cxx.o
In file included from /Users/Tobias/Code/c3d/adapters/BiasFieldCorrection.cxx:32:
In file included from /Users/Tobias/Code/c3d/itkextras/N3ITK/itkN3MRIBiasFieldCorrectionImageFilter.h:22:
In file included from /Users/Tobias/Code/c3d/itkextras/N3ITK/itkBSplineScatteredDataPointSetToImageFilter.h:22:
/Users/Tobias/Code/c3d/itkextras/N3ITK/itkCoxDeBoorBSplineKernelFunction.h:20:10: fatal error: 'itkKernelFunction.h' file not
found

include "itkKernelFunction.h"

     ^

1 error generated.
make[2]: *** [CMakeFiles/cnd_adapters.dir/adapters/BiasFieldCorrection.cxx.o] Error 1
make[1]: *** [CMakeFiles/cnd_adapters.dir/all] Error 2
make: *** [all] Error 2

I am clearly doing something wrong - do I need a particular version of ITK or is there a way to access the command-line tools from the .dmg version?

Thanks in advance,
Toby

Discussion


Log in to post a comment.

MongoDB Logo MongoDB