NIRALUser / DTIProcessToolkit

DTIProcess is a DTI processing and analysis toolkit developed in UNC and University of Utah
http://www.nitrc.org/projects/dtiprocess
Apache License 2.0
7 stars 8 forks source link

Fix build error on Windows #36

Closed lassoan closed 7 years ago

lassoan commented 7 years ago

VS2013 has round() function and if you redefine it causes build error (see http://slicer.cdash.org/viewBuildError.php?buildid=1021062).

If you need backward compatibility with older VS versions then you can add a try_compile test for round().

lassoan commented 7 years ago

Thanks for merging this. Would you also update the release branch so that the build error is fixed in Slicer nightly builds? If you prefer, I can update the extension index to point to the latest version on the master branch.

juanprietob commented 7 years ago

Yes, I will merge to the release branch. No need to update the ExtensionIndex.