deepmedic / dense3dCrf

Fully-connected (dense) 3D CRF for processing biomedical scans
Other
137 stars 48 forks source link

Installation problem #8

Closed abuIlyas closed 3 years ago

abuIlyas commented 5 years ago

Hi all, I have few experience in installation but i followed your advice and i believe i couldn't do it better. I installed successfully cmake and itk but while building the dense3dCrf.sln file i incurred in the following errors:

  1. 4>Done building project "optimization.vcxproj" -- FAILED.
  2. 2>Done building project "densecrf.vcxproj" -- FAILED. 5>------ Rebuild All started: Project: dense3DCrfInferenceOnNiis, Configuration: Debug x64 ---
  3. 5>Done building project "dense3DCrfInferenceOnNiis.vcxproj" -- FAILED. 6>------ Rebuild All started: Project: ALL_BUILD, Configuration: Debug x64 ------

which results in ========== Rebuild All: 3 succeeded, 3 failed, 0 skipped ========== and no binary file ("dense3DCrfInferenceOnNiis") in the /build/applicationAndExamples/ folder. Can you help me out? thanks Davide

abuIlyas commented 5 years ago

and this is the list of errors:

Severity Code Description Project File Line Suppression State Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) optimization \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2556 'int round(double)': overloaded function differs only by return type from 'double round(double)' densecrf \dense3dCrf-master\src\permutohedral.cpp 32
Error C2371 'round': redefinition; different basic types densecrf \dense3dCrf-master\src\permutohedral.cpp 32
Error C2491 'round': definition of dllimport function not allowed densecrf \dense3dCrf-master\src\permutohedral.cpp 32
Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2264 'Eigen::DenseBase::segment': error in function definition or declaration; function not called densecrf \dense3dCrf-master\src\densecrf.cpp 425 Error C2264 'Eigen::DenseBase::segment': error in function definition or declaration; function not called densecrf \dense3dCrf-master\src\densecrf.cpp 452 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) densecrf \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185 Error C2373 'Eigen::DenseBase::segment': redefinition; different type modifiers dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 120 Error C2447 '{': missing function header (old-style formal list?) dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 121 Error C2373 'Eigen::DenseBase::head': redefinition; different type modifiers dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 152 Error C2447 '{': missing function header (old-style formal list?) dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 153 Error C2373 'Eigen::DenseBase::tail': redefinition; different type modifiers dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 184 Error C2447 '{': missing function header (old-style formal list?) dense3DCrfInferenceOnNiis \dense3dCrf-master\include\Eigen\src\Core\VectorBlock.h 185

satrajitgithub commented 5 years ago

Having the same problem. Could you fix it?

fepegar commented 4 years ago

I thought that since this repo hasn't been touched in 4 years, Kostas might've used an older version of ITK. I've been able to compile using ITK 4.13.1: https://github.com/InsightSoftwareConsortium/ITK/releases/tag/v4.13.1