It is pre-built library, that is you don&#39;t need to compile it. However it is CMake-aware, therefore you can use it in your program putting find_library(CMTK) into your CMakeLists.txt.<br><br>So to use this in your program you should start writing CMakeLists.txt file (as described in tutorial). The .cmake files provided with this CMTK are CMake modules which are used to determine library location, version and other parameters. Also I suppose CMTK documentation has some clues on its usage, please refer to it.<br>
<br>Regards,<br>Yuri<br><br><div class="gmail_quote">On Sun, Mar 27, 2011 at 3:29 AM, TomGratte <span dir="ltr">&lt;<a href="mailto:templier@neuro.mpg.de">templier@neuro.mpg.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I&#39;m a beginner with cmake, and I did not find answers whether in the cmake<br>
documentation or in the archive of the mailing list.<br>
<br>
I run a Ubuntu 64 bits and want to use a program.<br>
<br>
I&#39;ve downloaded the .tar.gz file, then extracted it. The structure of the<br>
extracted files is :<br>
<br>
usr/local/ -&gt;<br>
<br>
bin/, include/, lib64/, share/<br>
<br>
- In bin/, there are executable files.<br>
- In include/, there are .h files.<br>
- In lib64, I have :<br>
.:<br>
cmtk<br>
<br>
./cmtk:<br>
cmtk<br>
lib<br>
libcmtkBase.a<br>
libcmtkGPU.a<br>
libcmtkIO.a<br>
libcmtkNumerics.a<br>
libcmtkPipeline.a<br>
libcmtkQt.a<br>
libcmtkRecon.a<br>
libcmtkRegistration.a<br>
libcmtkSegmentation.a<br>
libcmtksqlite3.a<br>
libcmtkSystem.a<br>
libD4CMTK.a<br>
libmxml.a<br>
libNrrdIO.a<br>
<br>
./cmtk/cmtk:<br>
CMTKConfig.cmake<br>
<br>
./cmtk/lib:<br>
CMTKLibraryDepends.cmake<br>
UseCMTK.cmake<br>
<br>
- And in share/, some documentation.<br>
<br>
I tried to use cmake on the .cmake files, but it does not work. What should<br>
I do to be able to use this software ? Is it already built ? Why is there<br>
not a CMakeLists.txt file in the file I&#39;ve downloaded ? It must be stupid<br>
questions, that is why feel free to redirect me to a helpful tutorial if you<br>
think I need some.<br>
<br>
(the software I try to use  <a href="http://www.nitrc.org/projects/cmtk/" target="_blank">http://www.nitrc.org/projects/cmtk/</a> link )<br>
<br>
Thank you<br>
<br>
Best Regards,<br>
<br>
Tom<br>
<br>
--<br>
View this message in context: <a href="http://cmake.3232098.n2.nabble.com/Build-problem-beginner-tp6211511p6211511.html" target="_blank">http://cmake.3232098.n2.nabble.com/Build-problem-beginner-tp6211511p6211511.html</a><br>

Sent from the CMake mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>