[vtk-developers] Parallel/vtkSocketCommunicatorHash.h

Randy Heiland heiland at indiana.edu
Fri Aug 28 10:23:16 EDT 2009


On Aug 27, 2009, at 4:33 PM, Randy Heiland wrote:

>
> On Aug 27, 2009, at 4:17 PM, Brad King wrote:
>
>> Randy Heiland wrote:
>>> Working from CVS, I'm not finding this header file and getting  
>>> errors
>>> trying to compile:
>>>
>>> [ 69%] Building CXX object
>>> Parallel/CMakeFiles/vtkParallel.dir/vtkSocketCommunicator.cxx.o
>>> /Users/heiland/Documents/workspace/VTK/Parallel/ 
>>> vtkSocketCommunicator.cxx:
>>> In member function ‘int  
>>> vtkSocketCommunicator::ServerSideHandshake()’:
>>> /Users/heiland/Documents/workspace/VTK/Parallel/ 
>>> vtkSocketCommunicator.cxx:420:
>>> error: ‘vtkSocketCommunicatorHash’ was not declared in this scope
>>
>> In the build tree there should be a file
>>
>> Parallel/vtkSocketCommunicatorHash.h
>>
>> Does it exist?  What is its content?
>>
>> If it is empty, try deleting it and build again.
>>
>> -Brad
>
> Thanks Brad.  It was there, but had a 0-size.  I rm'd it, tried to  
> rebuild (cmake/make) and got the same error.  Then I realized that  
> my VTK_DIR env var was set to somewhere other than this build dir.   
> I reset it and things seem to be working now.  Sorry for the noise...
>
> -Randy

Just to clarify, VTK_DIR is not something buried in the cmake (sorry  
if I caused confusion), but rather, it was used in my  
DYLD_LIBRARY_PATH (on OSX).  So somehow, apparently, this caused the  
problem with the header not being generated properly (don't ask me  
how :)

-Randy




More information about the vtk-developers mailing list