[Insight-users] Build ITK 3.14.0 under Win XP x64 and Visual Studio 2008

Luis Ibanez luis.ibanez at kitware.com
Thu Jun 18 10:25:46 EDT 2009


Hi Tom,

The ITK mailing list uses a maximum limit of 40Kb per
email message.

Your last two messages have passed that limit and for
that reason I have been truncating the older sections.
(including in this one).

That's how the "first problem" got lost.

Still...
You shouldn't have to copy Visual Studio DLLs around.
There is something wrong with your Visual Studio installation.

---

The error in the vnl_matlab file will be related to the
settings on your vxl_config.h file.

Could you please take a look at that file (in your binary
directory) (the lines to look for, were described in my
previous message).

and let us know what you find for the declaration of
vnl_int_32.


     Thanks


           Luis


--------------------------------------------------------------------
On Thu, Jun 18, 2009 at 10:16 AM, Thomas Hack <hack at bonn.edu> wrote:

> Hi Luis, I mentioned it in my first post, which is still in correspondence
> in every messe we wrote since then. here is the build log of my actual build
> try: 1>------ Build started: Project: itkvnl, Configuration: Debug x64
> ------ 1>Compiling... 1>vnl_matlab_read.cxx 2>------ Skipped Build: Project:
> RUN_TESTS, Configuration: Debug x64 ------ 2>Project not selected to build
> for this solution configuration
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(16)
> : error C2182: 'type' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(17)
> : error C2182: 'rows' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(18)
> : error C2182: 'cols' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(19)
> : error C2182: 'imag' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(20)
> : error C2182: 'namlen' : illegal use of type 'void' 1>vnl_matlab_write.cxx
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(16)
> : error C2182: 'type' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(17)
> : error C2182: 'rows' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(18)
> : error C2182: 'cols' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(19)
> : error C2182: 'imag' : illegal use of type 'void'
> 1>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(20)
> : error C2182: 'namlen' : illegal use of type 'void' 1>Generating Code...
> 1>Build log was saved at
> "file://d:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl\itkvnl.dir\Debug\BuildLog.htm"
> 1>itkvnl - 10 error(s), 0 warning(s) 3>------ Build started: Project:
> itkTestDriver, Configuration: Debug x64 ------ 3>Linking... 3>LINK : fatal
> error LNK1104: cannot open file '..\..\bin\Debug\itkvnl.lib' 3>Build log was
> saved at
> "file://d:\libs\ITK\x64\InsightToolkit-3.14.0\Code\IO\itkTestDriver.dir\Debug\BuildLog.htm"
> 3>itkTestDriver - 1 error(s), 0 warning(s) 4>------ Skipped Build: Project:
> INSTALL, Configuration: Debug x64 ------ 4>Project not selected to build for
> this solution configuration 5>------ Skipped Build: Project: PACKAGE,
> Configuration: Debug x64 ------ 5>Project not selected to build for this
> solution configuration ========== Build: 0 succeeded, 2 failed, 33
> up-to-date, 3 skipped ========== I think the problem is, that the
> vnl_matlab_header tries to use types in the struct which were set to void in
> the vxl_config.h at line 74 f. Thank you, Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090618/3d09871b/attachment-0001.htm>


More information about the Insight-users mailing list