<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
HI,Andy,
<br> Thanks for replying!!!
<br> Could you give me more hint on my previous question about transfer
vtk object via socket ( this is my ultimate goal for different kinds of
question these days)??
<br> I have a vtk object with the type of "vtkPolyData", say, the
definition is "vtkPolyData* a", if using "vtkPolyDataWriter" to write it
onto disk, there will be a vtk file with 200+ Kbytes , but if I use "sizeof
*a" in the code, it will return a value about 200+ bytes(must be the size
of ASCII description of this object), and I can only use this number
as the number of bytes needed to be transfered in socket's read()/write(),
and the vtk object at the receiving side will cause program to crash.
<p>I know using the number of 200+ must be wrong, but what is the way to
obtain the size of the object to be transfered ??
<p>Thanks !!
<br>
<p>Andy Cedilnik wrote:
<blockquote TYPE=CITE>Hi!
<p>Internal cache entries are the one you are not supposed to change. They
<br>come from other sources or they are computed on when you run cmake.
<p>CMakeCache.txt is the only file needed to generate all the other ones.
<br>So, CMakeSystemConfig.cmake will also be generated when running cmake.
<p>When you edit cache using ccmake/cmake -i/CMakeSetup, you edit
<br>CMakeCache.txt.
<p>Hope that answers your question.
<p>
Andy
<p>On Mon, 2002-07-22 at 22:10, Song Li wrote:
<br>> Hi,
<br>>
<br>> Anybody familiar with CMAKE ?? I have two questions:
<br>>
<br>> 1. What is the meaning of "INTERNAL" cache entries in CMakeCache.txt??
<br>>
<br>> 2. File "CMakeSystemConfig.cmake" has many variables with the same
name
<br>> in
<br>>
<br>> CMakeCache.txt, if these two files have different
setting, which will
<br>> CMAKE read ??</blockquote>
<pre>--
Song Li
VRAC(Virtual Reality Application Center),Iowa State University
Email: lisong@vrac.iastate.edu
Homepage: <A HREF="http://www.vrac.iastate.edu/~lisong">http://www.vrac.iastate.edu/~lisong</A></pre>
</html>