[vtkusers] Installing VTK, 'vtkHybrid.lib' error
Sameer Zaheer
bless.sins at gmail.com
Thu Mar 17 08:12:15 EDT 2011
Hi David,
Thanks for your reply. I tried that, and it builds on most instances, but
fails on 7 instances. Examples of the errors I get for failures are:
vtkCommonInstantiator.cxx(419): error C2491: 'vtkCommonInstantiator::Count'
: definition of dllimport static data member not allowed
vtkFilteringInstantiator.cxx(476): error C2491:
'vtkFilteringInstantiator::Count' : definition of dllimport static data
member not allowed
vtkImagingInstantiator.cxx(356): error C2491:
'vtkImagingInstantiator::Count' : definition of dllimport static data member
not allowed
vtkIOInstantiator.cxx(458): error C2491: 'vtkIOInstantiator::Count' :
definition of dllimport static data member not allowed
For one of the failures I also got the following error:
d:\vtk_5.4\hybrid\vtkExodusIIReaderPrivate.h(10): fatal error C1083: Cannot
open include file: 'vtkMultiProcessController.h': No such file or directory
Upon checking, I did find the file located in D:\VTK_5.4\Parallel .
Any thoughts?
Thanks,
Sameer
On Thu, Mar 17, 2011 at 2:17 AM, David Partyka <david.partyka at kitware.com>wrote:
> In your VS solution is there a vtkHybrid project? If so can you right click
> it and hit compile?
>
> The 'vtk-5.6.1-win32.exe' installer contains vtk.exe which is a tcl
> interpreter configured to load vtk which is useful for running the examples
> in the book.
>
> On Thu, Mar 17, 2011 at 1:54 AM, Sameer Zaheer <bless.sins at gmail.com>wrote:
>
>> Hi,
>>
>> I'm trying to install VTK, but everytime, I'm unable to get
>> 'vtkHybrid.lib' to work. I get:
>>
>> Fatal error LNK1104: cannot open file 'vtkHybrid.lib'
>>
>> The way I'm installing it is this: I downloaded vtk-5.6.1.zip,
>> unzipped it, then used CMAKE to configure and generate the binaries.
>> Note, I didn't see any "VTK_USE_HYBRID" option. Then I build the
>> binaries by opening vtk.sln in the binaries directory, and building
>> ALL_BUILD. I'm using MS Visual Studio 10.
>>
>> Despite this vtkHybrid.lib exists neither in the source folder or the
>> binary folder. I'm also wondering, what is purpose of the
>> 'vtk-5.6.1-win32.exe' file, since I didn't use it all during my
>> installation process.
>>
>> Your thoughts in this matter are greatly appreciated.
>>
>> Thanks,
>>
>>
>> --
>> Sameer Zaheer
>> Engineering Science 1T0+PEY
>> University of Toronto
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
--
Sameer Zaheer
Engineering Science 1T0+PEY
University of Toronto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110317/5213b298/attachment.htm>
More information about the vtkusers
mailing list