[IGSTK-Developers] Build error IGSTK VS9
Patrick Cheng
cheng at isis.georgetown.edu
Thu Feb 5 14:39:41 EST 2009
Hi Kevin,
I just tried it with the virtual machine here, there is no compilation
errors. The configuration for the virtual machine is:
Windows Server 2003 SP2 + Visual Studio 2008
It was downloaded from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=c7a809d8-8c9f-439f-8147-948bc6957812&displaylang=en
My desktop has Window XP SP3 + Visual Studio 2005, it also compiles fine.
Patrick
Kevin Gary wrote:
> FWIW, I am also getting the exact same error trying to build under VS8
> (2005).
>
> What does everyone else use to build IGSTK on Windows? Cygwin? GCC?
>
> KG
>
>
> Luis Ibanez wrote:
>>
>> Since January 31, I have been submitting a Nightly build
>> of IGSTK and IGSTKSandbox with VS9 from redwall.kitware:
>>
>> IGSTK:
>> http://www.cdash.org/CDash/buildSummary.php?buildid=264731
>>
>> IGSTKSandbox:
>> http://www.cdash.org/CDash/buildSummary.php?buildid=264738
>>
>>
>> IGSTK builds fine with VS9
>>
>> (and so do VTK, ITK and FLTK of course).
>>
>>
>> IGSTKSandbox has a compilation error due to a misname in
>> a test, this compilation error is not specific to VS9...
>>
>>
>> Redwall is a 64bits machine running Windows Vista.
>>
>>
>> Luis
>>
>>
>> ---------------------------
>> Patrick Cheng wrote:
>>> Hi Kevin,
>>>
>>> We haven't tried IGSTK with VS9 yet. I just setup a virtual machine
>>> here. I will go through the build process to figure out what the
>>> problem is.
>>>
>>> Thank you,
>>>
>>> Patrick1
>>>
>>> Kevin Gary wrote:
>>>
>>>> IGSTK, when compiling any *ObjectRepresentation.cxx file. I am able
>>>> to build VTK just fine.
>>>>
>>>> Thanks,
>>>> K2
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Andinet Enquobahrie [mailto:andinet.enqu at kitware.com]
>>>> Sent: Thu 2/5/2009 6:31 AM
>>>> To: Kevin Gary
>>>> Cc: igstk-developers at public.kitware.com
>>>> Subject: Re: [IGSTK-Developers] Build error IGSTK VS9
>>>>
>>>> Kevin-
>>>>
>>>> Just wanted to make sure...
>>>>
>>>> Did you get this compilation errors when you build VTK or IGSTK?
>>>>
>>>> Let us know
>>>>
>>>> Thanks,
>>>> -Andinet
>>>>
>>>>> Folks,
>>>>>
>>>>> I've been getting build errors with IGSTK-Head under VS9. The error
>>>>> below shows up for several of the spatial objects. I have rebuilt
>>>>> fltk, vtk, and igstk all the way from scratch to no available.
>>>>> Anyone know the root cause?
>>>>>
>>>>> Thanks,
>>>>> K2
>>>>> ---
>>>>>
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkDataArrayTemplate.h(308) :
>>>>> error C4430: missing type specifier - int assumed. Note: C++ does
>>>>> not support default-int
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(32)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::New' : definition of
>>>>> dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(35)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::CollectRevisions' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(38)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::SetArray' : definition
>>>>> of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(45)
>>>>> : error C2491:
>>>>> 'vtkArrayIteratorTemplate<T>::vtkArrayIteratorTemplate' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(53)
>>>>> : error C2491:
>>>>> 'vtkArrayIteratorTemplate<T>::~vtkArrayIteratorTemplate' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(65)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::Initialize' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(76)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfTuples' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(87)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfValues' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(98)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetNumberOfComponents'
>>>>> : definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(105)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetTuple' : definition
>>>>> of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(112)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetDataType' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(119)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::GetDataTypeSize' :
>>>>> definition of dllimport function not allowed
>>>>> 2>d:\home\kgary\src\dev\vtk520\common\vtkArrayIteratorTemplate.txx(136)
>>>>> : error C2491: 'vtkArrayIteratorTemplate<T>::PrintSelf' :
>>>>> definition of dllimport function not allowed
>>>>>
>>>>> _______________________________________________
>>>>> IGSTK-Developers mailing list
>>>>> IGSTK-Developers at public.kitware.com
>>>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>> _______________________________________________
>>> IGSTK-Developers mailing list
>>> IGSTK-Developers at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/igstk-developers
>>>
>
More information about the IGSTK-Developers
mailing list