Tuesday, April 17, 2018

Running Examples

Trying to get all the examples to work, from ITKWikiExamples-master download.

Trying -DCMAKE_CXX_FLAGS=-std=c++11 flag with example

ccmake -DCMAKE_CXX_FLAGS=-std=c++11 ../../WatershedImageFilter/

Following instructions on how to build an example from
https://itk.org/ITKExamples/Documentation/Build/index.html#build-individual-examples
Following to the t, where itk is installed.  But no test file was found.
Using the flag ccmake -DCMAKE_CXX_FLAGS=-std=c++11 .. in this attempt

Made master-cpopy of all examples.  Going to try running: ccmake -DCMAKE_CXX_FLAGS=-std=c++11 ../ to see if it will work.  Then to build the project, according the the website used: ccmake -DCMAKE_CXX_FLAGS=-std=c++11 -build . . In the bin folder, running ctest -V gives errors while running CTest.
    Going to redo the build project, and run make after doing so. cmake --build 17:29:53 - 17:53:56
run ctest -V got some kind of output!!!


master-flag for using ccmake with the visibility flag.  added set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wall") to the CMakeLists.txt got this idea from this github link.  master-flag going to use the commands the tutorial lists. cmake --build . 17:51:25 - 18:12:11


==========================

After doing make install with itk and vtk.  Getting files and instruction from this wiki. This time, building into example-build folder using ITKWikiExamples-master as the 'original' files ccmake -DCMAKE_CXX_FLAGS=-std=c++11 ../ITKWikiExamples-master/.  in the example-build folder, run make 20:31:38 - 20:52:20


Format keeper

No comments:

Post a Comment