[Insight-developers] VS linking error

Cory Quammen cquammen at cs.unc.edu
Thu Jun 9 14:07:49 EDT 2011


Brad,

I believe this is a problem caused by a path length limit in Visual Studio.

A work-around is to build close to a root directory of a disk, such as
C:\ITK. Not ideal, but it works.

Cory

On Thu, Jun 9, 2011 at 1:41 PM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> Hello,
> I am trying to build on my home PC today. I am trying to use VS-2010
> Express. I downloaded the latest release of CMake 2.8.4, and first build in
> the GUI, then I built with "ctest -D Experimental" and I am getting the
> following error:
>
> c1xx : fatal error C1083: Cannot open source file:
> '..\..\..\..\..\..\..\..\..\Source\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmByteSwapFilter.cxx':
> No such file or directory [C:\Users\blowekamp\Documents\Visual Studio
> 2010\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmDSED.vcxproj]
>
> http://www.cdash.org/CDash/viewBuildError.php?buildid=1216596
>
> This seems familiar, I thought that upgrading to a cmake some where in 2.8.3
> fixed the problem. So I thought I'd be in the clear with 2.8.4.
> Thanks for the help,
> Brad
>
> ========================================================
>
> Bradley Lowekamp
>
> Lockheed Martin Contractor for
>
> Office of High Performance Computing and Communications
>
> National Library of Medicine
>
> blowekamp at mail.nih.gov
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>



-- 
Cory Quammen
Computer Integrated Systems for Microscopy and Manipulation (CISMM)
Department of Computer Science
University of North Carolina at Chapel Hill
http://www.cs.unc.edu/~cquammen


More information about the Insight-developers mailing list