[Insight-developers] VS linking error

Bradley Lowekamp blowekamp at mail.nih.gov
Thu Jun 9 14:42:00 EDT 2011


Looking at the following file path:

'..\..\..\..\..\..\..\..\..\Users\blowekamp\Documents\Source\ITK\Modules\ThirdParty\GDCM\src\gdcm\Source\DataStructureAndEncodingDefinition\gdcmUNExplicitImplicitDataElement.cxx'

I can't help but wonder if we should be using absolute paths and not relative. I wonder if there is a way to do that with CMake?

Is anyone working on a solution to this problem?

Brad

On Jun 9, 2011, at 2:13 PM, Bill Lorensen wrote:

> Brad,
> 
> I think that Cory is correct about the path length. My ITK build is
> at; c:/Projects/ITK-net and I have no problems.
> 
> Bill
> 
> On Thu, Jun 9, 2011 at 2:07 PM, Cory Quammen <cquammen at cs.unc.edu> wrote:
>> 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
>> _______________________________________________
>> 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
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110609/4800562e/attachment.htm>


More information about the Insight-developers mailing list