[Insight-users] Using ITK libraries without CMAKE
Sameer Zaheer
bless.sins at gmail.com
Wed May 18 03:37:19 EDT 2011
Hi Dan,
For one, this is what I'm getting when I try to build ITKCommon:
3>..\..\..\..\..\InsightToolkit-3.20.0\Utilities\vxl\core\vnl\vnl_math.cxx(155):
fatal error C1017: invalid integer constant expression
The line this is referring to is:
# if VXL_BIG_ENDIAN
The file can be accessed here:
http://www.lems.brown.edu/vision/vxl_doc/html/core/vnl/html/vnl__math_8cxx-source.html
Note there's a difference of one line from the link to the file I'm
using. That is because the file I'm using is missing the following
line (which I think is irrelevant to the error):
const double vnl_math::euler
VCL_STATIC_CONST_INIT_FLOAT_DEFN( 0.57721566490153286061 );
Thanks and your help is appreciated,
Sameer
On Tue, May 17, 2011 at 10:49 PM, Dan Mueller <dan.muel at gmail.com> wrote:
> Hi Sameer,
>
>> Any help is appreciated.
> My advice is to use CMake :P From personal experience, it will save
> you a lot of time and effort. Is there a reason you can't use CMake
> for the project from which you want to use ITK?
>
> Cheers, Dan
>
> On 17 May 2011 14:19, Sameer Zaheer <bless.sins at gmail.com> wrote:
>> Hi,
>>
>> I tried downloading ITK and building all the libraries and it failed giving
>> various errors. I started googling the errors but eventually gave up as
>> there were too many. Since I really only need one class (maybe two), I was
>> wondering if I could copy and past the source files for that into the folder
>> I'm using and then build it with MS Visual Studio?
>>
>> The class I'm talking about it is:
>>
>> itkLineIterator
>>
>> Besides adding #include <itkLineIterator.h> to the top of my code's file,
>> what else would I have to do? Any help is appreciated.
>>
>> Thanks,
>>
>> --
>> Sameer Zaheer
>> University of Toronto
>
--
Sameer Zaheer
University of Toronto
More information about the Insight-users
mailing list