Sorry, i can only guess, may be i am wrong, From logs i saw issues happen with C++, C seems to work.
May be this is applicable:
one more link (may be related, may be not, oh)
With a fresh install of Win10, ITK 4.13.1 and VS 2017.8.3 I can configure ITK normally.
As @mihail.isakov suggested, make sure that the Visual Studio install includes
- MSBuild
- Visual Studio C++ Support
- The Windows SDK
Iām still having trouble compiling, so I just installed everything to check if there wasnāt something I was missing outā¦ Still no joy
Do you have Desktop development with C++
? That is kind of the main thing and I donāt see it on your list. Visual Studio C++ core features
is probably it, but it will not hurt if you select Desktop
as well.
This time around I didnāt install the desktop tools (IDE, etc), Iām just using the command line / build toolchain.
Iāve managed to almost build ITK using MinGW64. Unfortunately, libTIFF will not compile otherwise everything else compiles successfully. Thereās definitely something weird going on with VS, although no combination of installed tools seems to be helping at all. Iāve even tried using different versions of the toolchain specified with vcvarsall
but still with no success
Sorry this build has been so difficult, @Tom_Hampshire. Your persistence is impressive!
There is something odd going on; if we let it rest and come back later, maybe it will reveal itself.
In the meantime, we can fix up the MinGW64 build and run with it.
I started a local buildā¦
Here is a patch for the libtiff build issue.
I think we encountered this error when trying to compile on windows with Rās mingw toolchain.
Please consider applying this to the 4.13 legacy branch as well.
This patch is now available in both ITK
master
and release-4.13
branches.
Thanks for all your help. Iāve got everything compiled and running successfully!!