[Fwd: Re: [Insight-users] Re: Problem building 2.4 on .Net 2003]

Vicente Grau vicente at robots.ox.ac.uk
Mon Dec 5 12:44:47 EST 2005


Sorry about that, this is the file generated by CMake directly from the 
files downloaded from the itk webpage.

Vicente

#ifndef vcl_config_manual_h_
#define vcl_config_manual_h_
//:
// \file
// This file either is or was generated from vcl_config_manual.h.in
// \brief manual options


//: VCL_USE_NATIVE_STL
// Whether to use the compiler's STL.
#define VCL_USE_NATIVE_STL 1


//: VCL_USE_NATIVE_COMPLEX
// Whether to use the compiler's complex type.
#define VCL_USE_NATIVE_COMPLEX 1
// Used to be set from VCL_USE_NATIVE_STL, which worked fine.
// If you don't use the stl flag's setting you're on your own.
// #define VCL_USE_NATIVE_COMPLEX VCL_USE_NATIVE_STL


//: VCL_USE_IMPLICIT_TEMPLATES
// Whether to use implicit template instantiation.
#define VCL_USE_IMPLICIT_TEMPLATES 1

#endif // vcl_config_manual_h_


Luis Ibanez wrote:

>
>
> Hi Vicente,
>
> Thanks for sending the file...
>
> but...
>
> What we need is the file *BEFORE* you made any local fixes.
>
>
> Please restore the original code and send us the generated
> file:
>
>
>
>      ITK-Binary-Dir/
>               Utilities/vxl/vcl/
>                     vcl_config_manual.h
>
>
>
>
>     Thanks
>
>
>
>        Luis
>
>
>
> -----------------------------------------------------------
> Vicente Grau wrote:
>
>>
>> This is the file. I don't know if it makes any difference, but this 
>> is after I was able to fix the problem by commenting out the lines in
>>
>> vxl/vcl/CMakeLists.txt where the installation tried to include the 
>> emulation files. After that my installation went fine.
>>
>> Vicente
>>
>> #ifndef vcl_config_manual_h_
>> #define vcl_config_manual_h_
>> //:
>> // \file
>> // This file either is or was generated from vcl_config_manual.h.in
>> // \brief manual options
>>
>>
>> //: VCL_USE_NATIVE_STL
>> // Whether to use the compiler's STL.
>> #define VCL_USE_NATIVE_STL @VCL_USE_NATIVE_STL@
>>
>>
>> //: VCL_USE_NATIVE_COMPLEX
>> // Whether to use the compiler's complex type.
>> #define VCL_USE_NATIVE_COMPLEX @VCL_USE_NATIVE_COMPLEX@
>> // Used to be set from VCL_USE_NATIVE_STL, which worked fine.
>> // If you don't use the stl flag's setting you're on your own.
>> // #define VCL_USE_NATIVE_COMPLEX VCL_USE_NATIVE_STL
>>
>>
>> //: VCL_USE_IMPLICIT_TEMPLATES
>> // Whether to use implicit template instantiation.
>> #define VCL_USE_IMPLICIT_TEMPLATES @VCL_USE_IMPLICIT_TEMPLATES@
>>
>> #endif // vcl_config_manual_h_
>>
>>
>> Luis Ibanez wrote:
>>
>>>
>>>
>>> Hi Vicente, John,
>>>
>>>
>>> Thansk for your feedback.
>>>
>>>
>>> I'm not being able reproduce the problem that you reported.
>>>
>>>
>>> The downloaded .zip file build fine for me with
>>> Visual Studio 2003, both in Release and Debug.
>>>
>>>
>>>
>>> It seems that CMake is configuring your local build in a
>>> different way.
>>>
>>>
>>> Could you two, please, post to the list the following file
>>> from your build:
>>>
>>>       ITK-Binary-Dir/
>>>              Utilities/vxl/vcl/
>>>                    vcl_config_manual.h
>>>
>>>
>>> This file is generated by CMake at configuration time, using
>>> as source the file in
>>>
>>>       Insight/
>>>            Utilities/vxl/vcl/
>>>                  vcl_config_manual.h.in
>>>
>>>
>>> In particular we want to check what CMake marked in the
>>>
>>>
>>>           #define  VCL_USE_NATIVE_STL
>>>
>>>
>>>
>>> Please post the vcl_config_manual.h file to the list so
>>> we can track what is going wrong with your installations.
>>>
>>>
>>>
>>>    Thanks
>>>
>>>
>>>
>>>
>>>       Luis
>>>
>>>
>>>
>>> -------------------
>>> Vicente Grau wrote:
>>>
>>> > I also had a problem when installing ITK 2.4 on .Net 2003. The 
>>> compiler was getting a conflict when trying to install both vcl 
>>> "emulation" and "iso" files. Sorry I didn't save the exact error 
>>> messages. I solved it using this fix I found in the list:
>>> >
>>> > http://www.itk.org/pipermail/insight-users/2004-April/008270.html
>>> >
>>> > I just thought this might have something to do with John's 
>>> problem, as it is also related to compiling vcl. In my case, I got 
>>> ITK 2.4 from the ITK download page, file InsightToolkit-2.4.0.zip.
>>> >
>>> > Vicente
>>> >
>>> >
>>> >
>>> > insight-users-request at itk.org wrote:
>>> >
>>> > ------------------------------
>>> >
>>> > Hi John,
>>> >
>>> > How did you get the sources of ITK 2.4 ?
>>> >
>>> >   a) CVS ?
>>> >   b) Kitware ftp ?
>>> >   c) ITK Download page (then Sourceforge) ?
>>> >
>>> >
>>> > Also, if you used (b) or (c), what file
>>> > did you get:
>>> >
>>> >
>>> >   1) InsightToolkit-2.4.0.tgz  ?
>>> >   2) InsightToolkit-2.4.0.zip  ?
>>> >
>>> >
>>> >
>>> > Please let us know
>>> >
>>> >
>>> >
>>> >    Thanks
>>> >
>>> >
>>> >
>>> >       Luis
>>> >
>>> >
>>> >
>>> > ------------------------
>>> > John Tourtellott wrote:
>>> >
>>> >>
>>> >> I downloaded version 2.4 and tried building on Windows XP using 
>>> VS .Net 2003, but got a bunch of errors in the Utilities directory. 
>>> I apologize for the long post, but I thought I should include all of 
>>> the error messages below. Also, FYI, I used CMake 2.0 (patch 6) to 
>>> make the project. Any idea what I'm doing wrong?
>>> >>
>>> >> Thanks for the help,
>>> >> john
>>> >>
>>> >>
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_alloc.h(512): 
>>> error C2039: 'alloc' : is not a member of 'std'
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(836): 
>>> error C2059: syntax error : ')'
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(950): 
>>> error C2059: syntax error : ')'
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(980): 
>>> error C2059: syntax error : 'const'
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(1019): 
>>> error C2059: syntax error : 'const'
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): 
>>> error C2065: 'Alloc' : undeclared identifier
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): 
>>> error C2065: 'Compare' : undeclared identifier
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(965): 
>>> error C2065: 'k' : undeclared identifier
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\emulation\vcl_tree.h(865): 
>>> error C2065: 'Key' : undeclared identifier
>>> >> c:\Documents and Settings\Compaq_Owner\My 
>>> Documents\InsightToolkit-2.4.0\Utilities\vxl\vcl\
>>>
>>> ...  SNIP ...
>>>
>>>
>>>
>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>


More information about the Insight-users mailing list