@Armando,
can you provide with a Minimal Working Example (MWE)? Which version of ITK
are you using? Which version of CMake
are you using? Which CMake
flags have you enabled?
If we could have your CMakeLists.txt
, your code if shareable and if self-contained, and concise, fellows would be in a better position to try to answer with a fix.
Also, note that if you are using ITK master
, or any release tagged after ITK 5.0 Alpha 1
, you will not be able to use a Visual Studio older than 2015.
Also, note that VS 2010 is almost 10 years old, and many folks are likely not to have access to such version. Also, full-feature, community-edition VS are released regularly since a few years now, and other excellent choices, such as CLion, exist, so you may want to upgrade or switch to other more modern IDE/builder.
JON HAITZ