MenelauseZzw / Vascular-Tree-Reconstruction

Source code for CVPR 19 (Divergence Prior) & 21 (Confluent Vessel Tree) papers.
27 stars 7 forks source link

Error running GenerateNeighborhoodGraph #4

Open RomStriker opened 2 years ago

RomStriker commented 2 years ago

Hi,

Thank you for the great work and sharing the code. I have been trying to run the example that you provide in the experiments folder. After some work, I have been able to successfully build and install the application. One comment here is that boost 1.65.0 does not work well with gcc-4.8, so I had to use gcc-5 to build successfully.

Now, I can run ObjectnessMeasureImageFilter and NonMaximumSuppressionFilter without any error but with GenerateNeighborhoodGraph I get the following output.

0.023     0     0
    0  0.23     0
    0     0  0.23
[2022-04-05 13:18:02.251920] [0x00007fd479f6b7c0] [info]    measurements.size = 21552
[2022-04-05 13:18:02.251935] [0x00007fd479f6b7c0] [info]    tangentLinesPoints1.size = 21552
[2022-04-05 13:18:02.251939] [0x00007fd479f6b7c0] [info]    tangentLinesPoints2.size = 21552
[2022-04-05 13:18:02.251941] [0x00007fd479f6b7c0] [info]    radiuses.size = 7184
[2022-04-05 13:18:02.251944] [0x00007fd479f6b7c0] [info]    objectnessMeasure.size = 7184
[2022-04-05 13:18:02.251947] [0x00007fd479f6b7c0] [info]    indices1.size = 109330
[2022-04-05 13:18:02.251950] [0x00007fd479f6b7c0] [info]    indices2.size = 109330
HDF5-DIAG: Error detected in HDF5 (1.10.1) thread 0:
  #000: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.1/hdf5-1.10.1/src/H5Dio.c line 226 in H5Dwrite(): not a dataset
    major: Invalid arguments to routine
    minor: Inappropriate type
terminate called after throwing an instance of 'H5::DataSetIException'
test2.sh: line 12: 10616 Aborted                 (core dumped) /usr/local/Bin/GenerateNeighborhoodGraph --thresholdBelow 0.040 --aKnnGraph true --knnValue 4 --aspectRatio 10 --mutualLink false --distConstraint 2 --voxelSize 0.046 --inputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolume.mhd" --outputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolumeMalK4.h5"

I am not sure how to solve this error. I upgraded the HDF version to 1.10.2 but then I get another set of errors as following.

0.023     0     0
    0  0.23     0
    0     0  0.23
[2022-04-05 13:45:19.397953] [0x00007f8a41de67c0] [info]    measurements.size = 21552
[2022-04-05 13:45:19.397967] [0x00007f8a41de67c0] [info]    tangentLinesPoints1.size = 21552
[2022-04-05 13:45:19.397971] [0x00007f8a41de67c0] [info]    tangentLinesPoints2.size = 21552
[2022-04-05 13:45:19.397974] [0x00007f8a41de67c0] [info]    radiuses.size = 7184
[2022-04-05 13:45:19.397977] [0x00007f8a41de67c0] [info]    objectnessMeasure.size = 7184
[2022-04-05 13:45:19.397979] [0x00007f8a41de67c0] [info]    indices1.size = 109330
[2022-04-05 13:45:19.397982] [0x00007f8a41de67c0] [info]    indices2.size = 109330
HDF5-DIAG: Error detected in HDF5 (1.10.2) thread 0:
  #000: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5D.c line 145 in H5Dcreate2(): unable to create dataset
    major: Dataset
    minor: Unable to initialize object
  #001: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Dint.c line 474 in H5D__create_named(): unable to create and link to dataset
    major: Dataset
    minor: Unable to initialize object
  #002: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5L.c line 1641 in H5L_link_object(): unable to create new link to object
    major: Links
    minor: Unable to initialize object
  #003: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5L.c line 1885 in H5L_create_real(): can't insert link
    major: Symbol table
    minor: Unable to insert object
  #004: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Gtraverse.c line 867 in H5G_traverse(): internal path traversal failed
    major: Symbol table
    minor: Object not found
  #005: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Gtraverse.c line 639 in H5G_traverse_real(): traversal operator failed
    major: Symbol table
    minor: Callback failed
  #006: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5L.c line 1688 in H5L_link_cb(): unable to create object
    major: Object header
    minor: Unable to initialize object
  #007: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Oint.c line 2221 in H5O_obj_create(): unable to open object
    major: Object header
    minor: Can't open object
  #008: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Doh.c line 291 in H5O__dset_create(): unable to create dataset
    major: Dataset
    minor: Unable to initialize object
  #009: /home/roman/PhD/confluent-stuff/CMake-hdf5-1.10.2/hdf5-1.10.2/src/H5Dint.c line 1087 in H5D__create(): not a datatype
    major: Invalid arguments to routine
    minor: Inappropriate type
terminate called after throwing an instance of 'H5::FileIException'
test2.sh: line 12: 15701 Aborted                 (core dumped) /usr/local/Bin/GenerateNeighborhoodGraph --thresholdBelow 0.040 --aKnnGraph true --knnValue 4 --aspectRatio 10 --mutualLink false --distConstraint 2 --voxelSize 0.046 --inputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolume.mhd" --outputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolumeMalK4.h5"

I am running these commands as root so permission should not be a problem.

The script is

/usr/local/Bin/GenerateNeighborhoodGraph \
--thresholdBelow 0.040 \
--aKnnGraph true \
--knnValue 4 \
--aspectRatio 10 \
--mutualLink false \
--distConstraint 2 \
--voxelSize 0.046 \
--inputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolume.mhd" \
--outputFileName "/home/roman/PhD/confluent-stuff/Main/image001/0.040/NonMaximumSuppressionVolumeMalK4.h5"

I would really appreciate it if you could guide me here. Also, what is good thresholdBelow value, I am using 0.040 for now because I saw it in the paper. Thank you.

RomStriker commented 2 years ago

I did get some warning during the build process. I'll share the output here if that's useful.

roman@roman-compustation:~/PhD/confluent-stuff/Vascular-Tree-Reconstruction/build$ cmake ..
-- The C compiler identification is GNU 5.5.0
-- The CXX compiler identification is GNU 5.5.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   graph
--   log
--   log_setup
--   program_options
--   system
--   date_time
--   filesystem
--   thread
--   regex
--   chrono
--   atomic
-- Found OpenMP_C: -fopenmp (found version "4.0") 
-- Found OpenMP_CXX: -fopenmp (found version "4.0") 
-- Found OpenMP: TRUE (found version "4.0")  
-- Found Eigen: /usr/local/include/eigen3 (found version "3.4.0") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'flann'
--   Found flann, version 1.8.4
-- Found Flann: /usr/local/lib/libflann.so  
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   graph
--   log
--   log_setup
--   program_options
--   system
--   date_time
--   filesystem
--   thread
--   regex
--   chrono
--   atomic
-- Boost version: 1.65.0
-- Found the following Boost libraries:
--   graph
--   log
--   log_setup
--   program_options
--   system
--   date_time
--   filesystem
--   thread
--   regex
--   chrono
--   atomic
-- Found OpenMP_C: -fopenmp (found version "4.0") 
-- Found OpenMP_CXX: -fopenmp (found version "4.0") 
-- Found CUDA: /usr/local/cuda (found suitable version "8.0", minimum required is "8") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/build
roman@roman-compustation:~/PhD/confluent-stuff/Vascular-Tree-Reconstruction/build$ make -j 8
Scanning dependencies of target IO
Scanning dependencies of target ObjectnessMeasureImageFilter
Scanning dependencies of target NonMaximumSuppressionFilter
[  6%] Building CXX object IO/CMakeFiles/IO.dir/FileWriter.cpp.o
[ 13%] Building CXX object IO/CMakeFiles/IO.dir/FileReader.cpp.o
[ 20%] Linking CXX shared library libIO.so
[ 26%] Building CXX object NonMaximumSuppressionFilter/CMakeFiles/NonMaximumSuppressionFilter.dir/main.cpp.o
[ 33%] Building CXX object ObjectnessMeasureImageFilter/CMakeFiles/ObjectnessMeasureImageFilter.dir/main.cpp.o
[ 33%] Built target IO
Scanning dependencies of target GenerateTreeTopology
[ 40%] Building NVCC (Device) object LevenbergMarquardtMinimizer/CMakeFiles/LevenbergMarquardtMinimizer.dir/LevenbergMarquardtMinimizer_generated_DoProjectionOntoLine.cu.o
[ 46%] Building NVCC (Device) object LevenbergMarquardtMinimizer/CMakeFiles/LevenbergMarquardtMinimizer.dir/LevenbergMarquardtMinimizer_generated_DoLevenbergMarquardtMinimizer.cu.o
Scanning dependencies of target GenerateNeighborhoodGraph
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 53%] Building CXX object GenerateTreeTopology/CMakeFiles/GenerateTreeTopology.dir/main.cpp.o
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
[ 60%] Building CXX object GenerateNeighborhoodGraph/CMakeFiles/GenerateNeighborhoodGraph.dir/main.cpp.o
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkMacro.h:42:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkLightObject.h:21,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkObject.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkRegion.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkImageRegion.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkImage.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/NonMaximumSuppressionFilter/main.cpp:4:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/Core/Common/itkConfigure.h:59:6: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK" [-Wcpp]
     #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK"
      ^
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:166:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_limits.h:5,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkNumericTraits.h:51,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkConceptChecking.h:32,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkAtomicIntDetail.h:39,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkAtomicInt.h:38,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkTimeStamp.h:33,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkLightObject.h:23,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkObject.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkRegion.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkImageRegion.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkImage.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/NonMaximumSuppressionFilter/main.cpp:4:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_config_compiler.h:21:4: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL" [-Wcpp]
   #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL"
    ^
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkMacro.h:42:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkLightObject.h:21,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkObject.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkCommand.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/ObjectnessMeasureImageFilter/main.cpp:4:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/Core/Common/itkConfigure.h:59:6: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK" [-Wcpp]
     #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK"
      ^
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:166:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_limits.h:5,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkNumericTraits.h:51,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkConceptChecking.h:32,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkAtomicIntDetail.h:39,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkAtomicInt.h:38,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkTimeStamp.h:33,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkLightObject.h:23,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkObject.h:31,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkCommand.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/ObjectnessMeasureImageFilter/main.cpp:4:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_config_compiler.h:21:4: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL" [-Wcpp]
   #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL"
    ^
nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/NonMaximumSuppressionFilter/main.cpp: In function ‘void DoNonMaximumSuppressionFilter(const string&, const string&, double)’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/NonMaximumSuppressionFilter/main.cpp:156:26: warning: unused variable ‘SigmaValueComponentIndex’ [-Wunused-variable]
   constexpr unsigned int SigmaValueComponentIndex = 1 + NumDimensions;
                          ^
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkMacro.h:42:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkNumericTraits.h:21,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkPoint.h:22,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkContinuousIndex.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:8:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/Core/Common/itkConfigure.h:59:6: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK" [-Wcpp]
     #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of ITK"
      ^
In file included from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h:166:0,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_limits.h:5,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkNumericTraits.h:51,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkPoint.h:22,
                 from /home/roman/PhD/confluent-stuff/itk-4.13.3/Modules/Core/Common/include/itkContinuousIndex.h:21,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:8:
/home/roman/PhD/confluent-stuff/itk-4.13.3/build/Modules/ThirdParty/VNL/src/vxl/vcl/vcl_config_compiler.h:21:4: warning: #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL" [-Wcpp]
   #warning "WARNING:  The current project is configured to use a C++ standard version older than the C++ standard used for this build of VXL"
    ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching.hpp:89:0,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:23:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching_impl.hpp: In function ‘std::__cxx11::list<PriorityQue::Node*> PriorityQue::adjust(std::__cxx11::list<PriorityQue::Node*>)’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching_impl.hpp:153:17: warning: unused variable ‘temp’ [-Wunused-variable]
           Node *temp; 
                 ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching_impl.hpp: In function ‘void edmonds_optimum_branching(TEdgeListGraph&, TVertexIndexMap, TWeightMap, TInputIterator, TInputIterator, TOutputIterator)’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching_impl.hpp:761:71: warning: typedef ‘EdgeIter’ locally defined but not used [-Wunused-local-typedefs]
     typedef typename graph_traits<TEdgeListGraph>::edge_iterator      EdgeIter;
                                                                       ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/edmonds_optimum_branching_impl.hpp:762:71: warning: typedef ‘weight_t’ locally defined but not used [-Wunused-local-typedefs]
     typedef typename property_traits<TWeightMap>::value_type          weight_t;
                                                                       ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp: In function ‘void DoGenerateMinimumSpanningTreeOnlyPositionsDataSet(const string&, const string&, int)’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:829:53: warning: typedef ‘PositionType’ locally defined but not used [-Wunused-local-typedefs]
  typedef Eigen::Matrix<ValueType, 1, NumDimensions> PositionType;
                                                     ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp: In instantiation of ‘void GenerateEuclideanMinimumSpanningTree(const std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, int) [with int NumDimensions = 3; ValueType = double; IndexType = int]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:849:88:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:347:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (IndexType index1 = 0; index1 != dataset.rows; ++index1)
                                     ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:370:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (IndexType index1 = 0; index1 < numberOfPoints; ++index1)
                                     ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:372:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (IndexType index2 = index1 + 1; index2 < numberOfPoints; ++index2)
                                               ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp: In instantiation of ‘void GenerateMinimumSpanningTreeWith(const std::function<ValueType(const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, ValueType, ValueType, ValueType)>&, const std::vector<ValueType>&, const std::vector<ValueType>&, const std::vector<ValueType>&, const std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, std::vector<ValueType>&, int, ValueType, bool) [with int NumDimensions = 3; ValueType = double; IndexType = int; PositionType = Eigen::Matrix<double, 1, 3>]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:938:21:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:561:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (IndexType index1 = 0; index1 < numberOfPoints; ++index1)
                                      ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:563:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (IndexType index2 = index1 + 1; index2 < numberOfPoints; ++index2)
                                                ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp: In instantiation of ‘ValueType ComputeDirectedArclength(const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, ValueType) [with ValueType = double; PositionType = Eigen::Matrix<double, 1, 3>]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:1047:25:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:304:14: warning: unused variable ‘arclength’ [-Wunused-variable]
    ValueType arclength;
              ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp: In instantiation of ‘void GenerateKnnGraph(int, const std::vector<T>&, const std::vector<T>&, const std::vector<T>&, std::vector<ValueType>&, std::vector<ValueType>&, int) [with ValueType = double; IndexType = int]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:515:20:   required from ‘void GenerateMinimumSpanningTreeWith(const std::function<ValueType(const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, const PositionType&, ValueType, ValueType, ValueType)>&, const std::vector<ValueType>&, const std::vector<ValueType>&, const std::vector<ValueType>&, const std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, std::vector<ValueType>&, int, ValueType, bool) [with int NumDimensions = 3; ValueType = double; IndexType = int; PositionType = Eigen::Matrix<double, 1, 3>]’
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:938:21:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateTreeTopology/main.cpp:433:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (IndexType index1 = 0; index1 != dataset.rows; ++index1)
                                    ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LevenbergMarquardtMinimizer.inl(48): warning: variable "intialValue" was declared but never referenced
          detected during:
            instantiation of "void LevenbergMarquardtMinimizer(const CostFunction<JacobianMatrixType, VariableVectorType, ResidualVectorType> &, VariableVectorType &, ValueType &, ValueType, ValueType, ValueType, ValueType, int &, int, std::vector<ValueType, std::allocator<ValueType>> &, double) [with JacobianMatrixType=cusp::csr_matrix<int, double, cusp::host_memory>, VariableVectorType=cusp::array1d<double, cusp::host_memory>, ResidualVectorType=cusp::array1d<double, cusp::host_memory>, ValueType=double]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(59): here
            instantiation of "void DoCpuOrGpuLevenbergMarquardtMinimizer<CostFunctionType,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with CostFunctionType=CpuLinearCombination<3, double, int>, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(94): here
            instantiation of "void DoCpuLevenbergMarquardtMinimizer<NumDimensions,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(160): here

/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/CurvatureCostFunction.inl(434): warning: variable "absCurvCoeff" was set but never used
          detected during:
            instantiation of "void cudaPairwiseCostResidual<ValueType,IndexType,NumDimensions>(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) [with ValueType=double, IndexType=int, NumDimensions=3]" 
(744): here
            instantiation of "void gpuPairwiseCostResidual<ValueType,IndexType,NumDimensions>(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) [with ValueType=double, IndexType=int, NumDimensions=3]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LinearCombination.inl(221): here
            instantiation of "void GpuLinearCombination<NumDimensions, ValueType, IndexType>::ComputeResidual2(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) const [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LinearCombination.hpp(106): here
            instantiation of "GpuLinearCombination<NumDimensions, ValueType, IndexType>::GpuLinearCombination(Vector1 &&, Vector2 &&, Vector3 &&, Vector4 &&, Vector5 &&, Vector6 &&, double, double) [with NumDimensions=3, ValueType=double, IndexType=int, Vector1=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>, Vector2=cusp::array1d_view<__gnu_cxx::__normal_iterator<const int *, std::vector<int, std::allocator<int>>>>, Vector3=cusp::array1d_view<__gnu_cxx::__normal_iterator<const int *, std::vector<int, std::allocator<int>>>>, Vector4=cusp::array1d_view<thrust::detail::normal_iterator<const double *>>, Vector5=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>, Vector6=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(42): here
            instantiation of "void DoCpuOrGpuLevenbergMarquardtMinimizer<CostFunctionType,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with CostFunctionType=GpuLinearCombination<3, double, int>, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(126): here
            instantiation of "void DoGpuLevenbergMarquardtMinimizer<NumDimensions,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(161): here

/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/CurvatureCostFunction.inl(570): warning: variable "absCurvCoeff" was set but never used
          detected during:
            instantiation of "void cudaPairwiseCostJacobian<ValueType,IndexType,NumDimensions>(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) [with ValueType=double, IndexType=int, NumDimensions=3]" 
(770): here
            instantiation of "void gpuPairwiseCostJacobian<ValueType,IndexType,NumDimensions>(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) [with ValueType=double, IndexType=int, NumDimensions=3]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LinearCombination.inl(230): here
            instantiation of "void GpuLinearCombination<NumDimensions, ValueType, IndexType>::ComputeJacobian2(const ValueType *, const ValueType *, const ValueType *, const ValueType *, const ValueType *, const IndexType *, const IndexType *, ValueType *, int, double) const [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LinearCombination.hpp(106): here
            instantiation of "GpuLinearCombination<NumDimensions, ValueType, IndexType>::GpuLinearCombination(Vector1 &&, Vector2 &&, Vector3 &&, Vector4 &&, Vector5 &&, Vector6 &&, double, double) [with NumDimensions=3, ValueType=double, IndexType=int, Vector1=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>, Vector2=cusp::array1d_view<__gnu_cxx::__normal_iterator<const int *, std::vector<int, std::allocator<int>>>>, Vector3=cusp::array1d_view<__gnu_cxx::__normal_iterator<const int *, std::vector<int, std::allocator<int>>>>, Vector4=cusp::array1d_view<thrust::detail::normal_iterator<const double *>>, Vector5=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>, Vector6=cusp::array1d_view<__gnu_cxx::__normal_iterator<const double *, std::vector<double, std::allocator<double>>>>]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(42): here
            instantiation of "void DoCpuOrGpuLevenbergMarquardtMinimizer<CostFunctionType,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with CostFunctionType=GpuLinearCombination<3, double, int>, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(126): here
            instantiation of "void DoGpuLevenbergMarquardtMinimizer<NumDimensions,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(161): here

/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp: In instantiation of ‘void GenerateAKnnGraph(const std::vector<T>&, const std::vector<T>&, const std::vector<T>&, std::vector<IndexType>&, std::vector<IndexType>&, int, double, int, bool, double, ValueType) [with ValueType = double; IndexType = int]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:457:185:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:78:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (IndexType index1 = 0; index1 != dataset.rows; ++index1)
                                    ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:150:11: warning: unused variable ‘res_’ [-Wunused-variable]
    double res_ = v_.dot(v_);
           ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:177:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (tempIndex2_.size() <= NNA)
                          ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:179:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (IndexType i = 0; i != tempIndex2_.size() ; ++i)
                            ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:175:13: warning: unused variable ‘max_rknn’ [-Wunused-variable]
   ValueType max_rknn;
             ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:232:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (IndexType i = 0; i != indices1_.size(); ++i)
                          ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:236:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (index2 == indexSearch.size() - 1)
              ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:238:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (IndexType j = indexSearch[index2]; j != indices2_.size(); ++j)
                                              ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:245:19: warning: unused variable ‘resInd’ [-Wunused-variable]
            double resInd = vInd.dot(vInd);
                   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:264:19: warning: unused variable ‘resInd’ [-Wunused-variable]
            double resInd = vInd.dot(vInd);
                   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/GenerateNeighborhoodGraph/main.cpp:76:12: warning: unused variable ‘ratio’ [-Wunused-variable]
  ValueType ratio = 0;
            ^
[ 66%] Linking CXX executable NonMaximumSuppressionFilter
[ 66%] Built target NonMaximumSuppressionFilter
[ 73%] Linking CXX executable ObjectnessMeasureImageFilter
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/LevenbergMarquardtMinimizer.inl(48): warning: variable "intialValue" was declared but never referenced
          detected during:
            instantiation of "void LevenbergMarquardtMinimizer(const CostFunction<JacobianMatrixType, VariableVectorType, ResidualVectorType> &, VariableVectorType &, ValueType &, ValueType, ValueType, ValueType, ValueType, int &, int, std::vector<ValueType, std::allocator<ValueType>> &, double) [with JacobianMatrixType=cusp::csr_matrix<int, double, cusp::device_memory>, VariableVectorType=cusp::array1d<double, cusp::device_memory>, ResidualVectorType=cusp::array1d<double, cusp::device_memory>, ValueType=double]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(59): here
            instantiation of "void DoCpuOrGpuLevenbergMarquardtMinimizer<CostFunctionType,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with CostFunctionType=GpuLinearCombination<3, double, int>, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(126): here
            instantiation of "void DoGpuLevenbergMarquardtMinimizer<NumDimensions,ValueType,IndexType>(const std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<IndexType, std::allocator<IndexType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, const std::vector<ValueType, std::allocator<ValueType>> &, int, double, std::vector<ValueType, std::allocator<ValueType>> &, double) [with NumDimensions=3, ValueType=double, IndexType=int]" 
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/DoLevenbergMarquardtMinimizer.cu(161): here

[ 73%] Built target ObjectnessMeasureImageFilter
[ 80%] Linking CXX executable GenerateTreeTopology
[ 80%] Built target GenerateTreeTopology
[ 86%] Linking CXX executable GenerateNeighborhoodGraph
[ 86%] Built target GenerateNeighborhoodGraph
Scanning dependencies of target LevenbergMarquardtMinimizer
[ 93%] Building CXX object LevenbergMarquardtMinimizer/CMakeFiles/LevenbergMarquardtMinimizer.dir/main.cpp.o
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.h:15:0,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:11,
                 from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/typeGeneral.h: In member function ‘TypeGeneral::REAL TypeGeneral::Edge::UpdateMessage(TypeGeneral::GlobalSize, TypeGeneral::LocalSize, TypeGeneral::LocalSize, TypeGeneral::Vector*, TypeGeneral::REAL, int, void*)’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/typeGeneral.h:483:10: warning: variable ‘kMin’ set but not used [-Wunused-but-set-variable]
   int k, kMin;
          ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeBinary; MRFEnergy<T>::NodeId = MRFEnergy<TypeBinary>::Node*; MRFEnergy<T>::LocalSize = TypeBinary::LocalSize; MRFEnergy<T>::NodeData = TypeBinary::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeBinary; MRFEnergy<T>::NodeId = MRFEnergy<TypeBinary>::Node*; MRFEnergy<T>::EdgeData = TypeBinary::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeBinary]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeBinary; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeBinary]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeBinary]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:4:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeBinaryFast; MRFEnergy<T>::NodeId = MRFEnergy<TypeBinaryFast>::Node*; MRFEnergy<T>::LocalSize = TypeBinaryFast::LocalSize; MRFEnergy<T>::NodeData = TypeBinaryFast::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeBinaryFast; MRFEnergy<T>::NodeId = MRFEnergy<TypeBinaryFast>::Node*; MRFEnergy<T>::EdgeData = TypeBinaryFast::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeBinaryFast]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeBinaryFast; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeBinaryFast]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeBinaryFast]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:5:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypePotts; MRFEnergy<T>::NodeId = MRFEnergy<TypePotts>::Node*; MRFEnergy<T>::LocalSize = TypePotts::LocalSize; MRFEnergy<T>::NodeData = TypePotts::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypePotts; MRFEnergy<T>::NodeId = MRFEnergy<TypePotts>::Node*; MRFEnergy<T>::EdgeData = TypePotts::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypePotts]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypePotts; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypePotts]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypePotts]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:6:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeGeneral; MRFEnergy<T>::NodeId = MRFEnergy<TypeGeneral>::Node*; MRFEnergy<T>::LocalSize = TypeGeneral::LocalSize; MRFEnergy<T>::NodeData = TypeGeneral::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeGeneral; MRFEnergy<T>::NodeId = MRFEnergy<TypeGeneral>::Node*; MRFEnergy<T>::EdgeData = TypeGeneral::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeGeneral]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeGeneral; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeGeneral]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeGeneral]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:7:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeTruncatedLinear; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedLinear>::Node*; MRFEnergy<T>::LocalSize = TypeTruncatedLinear::LocalSize; MRFEnergy<T>::NodeData = TypeTruncatedLinear::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeTruncatedLinear; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedLinear>::Node*; MRFEnergy<T>::EdgeData = TypeTruncatedLinear::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeTruncatedLinear]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeTruncatedLinear; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeTruncatedLinear]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeTruncatedLinear]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:8:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeTruncatedQuadratic; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedQuadratic>::Node*; MRFEnergy<T>::LocalSize = TypeTruncatedQuadratic::LocalSize; MRFEnergy<T>::NodeData = TypeTruncatedQuadratic::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeTruncatedQuadratic; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedQuadratic>::Node*; MRFEnergy<T>::EdgeData = TypeTruncatedQuadratic::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeTruncatedQuadratic]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeTruncatedQuadratic; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeTruncatedQuadratic]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeTruncatedQuadratic]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:9:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeTruncatedLinear2D; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedLinear2D>::Node*; MRFEnergy<T>::LocalSize = TypeTruncatedLinear2D::LocalSize; MRFEnergy<T>::NodeData = TypeTruncatedLinear2D::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeTruncatedLinear2D; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedLinear2D>::Node*; MRFEnergy<T>::EdgeData = TypeTruncatedLinear2D::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeTruncatedLinear2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeTruncatedLinear2D; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeTruncatedLinear2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeTruncatedLinear2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:10:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘MRFEnergy<T>::Node* MRFEnergy<T>::AddNode(MRFEnergy<T>::LocalSize, MRFEnergy<T>::NodeData) [with T = TypeTruncatedQuadratic2D; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedQuadratic2D>::Node*; MRFEnergy<T>::LocalSize = TypeTruncatedQuadratic2D::LocalSize; MRFEnergy<T>::NodeData = TypeTruncatedQuadratic2D::NodeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:45:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:51:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode() (invalid parameter?)");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::AddEdge(MRFEnergy<T>::NodeId, MRFEnergy<T>::NodeId, MRFEnergy<T>::EdgeData) [with T = TypeTruncatedQuadratic2D; MRFEnergy<T>::NodeId = MRFEnergy<TypeTruncatedQuadratic2D>::Node*; MRFEnergy<T>::EdgeData = TypeTruncatedQuadratic2D::EdgeData]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:91:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddNode(): graph construction completed - nodes cannot be added");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:99:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in AddEdge() (invalid parameter?)");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:8:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp: In instantiation of ‘void MRFEnergy<T>::SetAutomaticOrdering() [with T = TypeTruncatedQuadratic2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/ordering.cpp:20:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Error in SetAutomaticOrdering(): function cannot be called after graph construction is completed");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:7:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp: In instantiation of ‘int MRFEnergy<T>::Minimize_BP(MRFEnergy<T>::Options&, MRFEnergy<T>::REAL&, MRFEnergy<T>::REAL*) [with T = TypeTruncatedQuadratic2D; MRFEnergy<T>::REAL = double]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/minimize.cpp:153:7: warning: variable ‘vMin’ set but not used [-Wunused-but-set-variable]
  REAL vMin;
       ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:6:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp: In instantiation of ‘void MRFEnergy<T>::CompleteGraphConstruction() [with T = TypeTruncatedQuadratic2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:177:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("Fatal error in CompleteGraphConstruction");
   ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.cpp:184:3: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   m_errorFn("CompleteGraphConstruction(): fatal error");
   ^
In file included from /home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:3:0:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h: In instantiation of ‘char* MRFEnergy<T>::Malloc(int) [with T = TypeTruncatedQuadratic2D]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/instances.inc:11:16:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/TRWS/MRFEnergy.h:226:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
   if (!b) m_errorFn("Not enough memory");
           ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp: In instantiation of ‘DoTRWSMinimizer(std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const IndexType&, std::vector<ValueType>&, double)::<lambda(int, int, int, int, bool)> [with int NumDimensions = 3; ValueType = double; IndexType = int]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:147:13:   required from ‘struct DoTRWSMinimizer(std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const IndexType&, std::vector<ValueType>&, double) [with int NumDimensions = 3; ValueType = double; IndexType = int]::<lambda(int, int, int, int, bool)>’
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:167:2:   required from ‘void DoTRWSMinimizer(std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const IndexType&, std::vector<ValueType>&, double) [with int NumDimensions = 3; ValueType = double; IndexType = int]’
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:317:198:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:101:15: warning: unused variable ‘SquareDistPtoLq’ [-Wunused-variable]
     ValueType SquareDistPtoLq = dotproduct<ValueType, 3>(baseLine, baseLine) - (dotproduct<ValueType, 3>(baseLine, Lq)*dotproduct<ValueType, 3>(baseLine, Lq)) / (dotproduct<ValueType, 3>(Lq, Lq)+1e-15);
               ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp: In instantiation of ‘void DoTRWSMinimizer(std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<ValueType>&, std::vector<IndexType>&, std::vector<IndexType>&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const ValueType&, const IndexType&, std::vector<ValueType>&, double) [with int NumDimensions = 3; ValueType = double; IndexType = int]’:
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:317:198:   required from here
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:169:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int e = 0; e < indices1.size(); e++)
                    ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:178:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int e = 0; e < indices1.size(); e++)
                    ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:199:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int e = 0; e < indices1.size(); e++)
                    ^
/home/roman/PhD/confluent-stuff/Vascular-Tree-Reconstruction/LevenbergMarquardtMinimizer/main.cpp:208:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for (int i = 0; i < points.size() / 3; i++)
                    ^
[100%] Linking CXX executable LevenbergMarquardtMinimizer
[100%] Built target LevenbergMarquardtMinimizer
roman@roman-compustation:~/PhD/confluent-stuff/Vascular-Tree-Reconstruction/build$ sudo make install
[sudo] password for roman: 
[ 20%] Built target IO
[ 33%] Built target GenerateTreeTopology
[ 46%] Built target GenerateNeighborhoodGraph
[ 60%] Built target NonMaximumSuppressionFilter
[ 73%] Built target ObjectnessMeasureImageFilter
[100%] Built target LevenbergMarquardtMinimizer
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/Bin/GenerateTreeTopology
-- Set runtime path of "/usr/local/Bin/GenerateTreeTopology" to "/usr/local/Lib:/usr/local/lib"
-- Installing: /usr/local/Bin/GenerateNeighborhoodGraph
-- Set runtime path of "/usr/local/Bin/GenerateNeighborhoodGraph" to "/usr/local/Lib:/usr/local/lib"
-- Installing: /usr/local/Lib/libIO.so
-- Set runtime path of "/usr/local/Lib/libIO.so" to "/usr/local/Lib"
-- Installing: /usr/local/Include/FileReader.hpp
-- Installing: /usr/local/Include/FileWriter.hpp
-- Installing: /usr/local/Bin/NonMaximumSuppressionFilter
-- Set runtime path of "/usr/local/Bin/NonMaximumSuppressionFilter" to "/usr/local/Lib"
-- Installing: /usr/local/Bin/ObjectnessMeasureImageFilter
-- Set runtime path of "/usr/local/Bin/ObjectnessMeasureImageFilter" to "/usr/local/Lib"
-- Installing: /usr/local/Bin/LevenbergMarquardtMinimizer
-- Set runtime path of "/usr/local/Bin/LevenbergMarquardtMinimizer" to "/usr/local/Lib"
roman@roman-compustation:~/PhD/confluent-stuff/Vascular-Tree-Reconstruction/build$