Editing
Archive
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=====configuring with cmake===== So now for configuring cmake: cmake-gui .. Here are some typical configuration options: {| border="1" cellpadding="2" cellspacing="0" |- ! option ! Setting ! Comments |- valign="top" | CMAKE_BUILD_TYPE || Release || If not set, that's fine, but you'll get more optimized (i.e. faster) binaries if you set this to Release. |- valign="top" | CMAKE_INSTALL_PREFIX || /opt/bonelab-r2970 || You don't actually have to set anything for this, as bonelab can be run from the build directory. However, if you do install it, it's probably best to include the specific SVN revision number in the directory name. |- valign="top" | VTK_DIR || /opt/vtk-5.10.0/lib/vtk-5.10 || Set this to wherever you installed VTK. If you intend to build the paraview extensions as plugins, then you set this to the internal version of VTK inside the paraview build directory. (See [[Paraview development]] if you need to install ParaView). |- valign="top" | BONELAB_BUILD_LIBRARY_itkski || ON/OFF || Set this to OFF if you don't want to build itkski as well. In this case you won't need to have ITK installed or specify where it can be found. |- valign="top" | ITK_DIR || /opt/itk-3.20.1/lib/InsightToolkit || You only need to set this if BONELAB_BUILD_LIBRARY_itkski is ON. In that case, set it to wherever you installed ITK. |- valign="top" | Boost_INCLUDE_DIR || /opt/boost-1.47.0/include || Set this to wherever you installed boost. Note that this is an Advanced setting, and you won't see it until you toggle to Advanced view. Don't worry about all the Boost libraries it doesn't find; as soon as Boost_INCLUDE_DIR is properly set, it will find them. |- valign="top" | PYTHON_INCLUDE_DIR || /Library/Frameworks/Python.framework/Versions/2.7/Headers || This is if you've installed a more recent version on OS-X than the default version included in OS-X. CMake tends to always find the default version. |- valign="top" | PYTHON_LIBRARY || /Library/Frameworks/Python.framework/Versions/lib/libpython2.7.dylib || See the comments for PYTHON_INCLUDE_DIR |} Once you're happy with your settings, hit Configure. You might have to hit it a couple of times until there are no more errors, and the Generate button is enabled. Then hit Generate and quite cmake-gui. Now run: make You won't usually need to run a 'make install', since you can just use vtkski from your build directory.
Summary:
Please note that all contributions to bone.wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
BoneWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
associated-pages
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Documents
Recent changes
Help
Tools
What links here
Related changes
Page information