<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Brad King wrote:<br>
<br>
<blockquote type="cite">
  <pre wrap="">I don't know, but there have been a few dependency fixes since 2.4.8.
I'd rather not track down a bug we already fixed.  Please try it.
  </pre>
</blockquote>
<br>
I built paraview using cmake 2.6 patch 0, first using 64 bit IDs, then
I changed to 32bits anf built again. The same link errors appeared.
Doing a make clean in VTK/GUISupport resolved it<br>
<br>
JB<br>
<br>
<br>
<blockquote cite="mid:487F5330.3060408@kitware.com" type="cite">
  <pre wrap="">John Biddiscombe wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Problem went away when I did a make clean in VTK/GUISupport.

Question is, why did

make rebuild_cache
make
ERRORS

touch VTK/vtkConfigure.h
make
ERRORS

cd VTK/GUISupport
make clean
cd ../../
make

NO ERRORS

Why did the touch and rebuild cache commmands not cause vtkGuiSupport to
be rebuilt? what is wrong with cmake that the dependency on vtkConfigure
is not triggering a rebuild?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
What version of CMake?  What version of ParaView/VTK?

-Brad

  </pre>
  <blockquote type="cite">
    <blockquote type="cite">
      <pre wrap="">When re-building paraview with VTK_USE_64BIT_IDS OFF on a 64 bit
machine, I get the following link errors

Linking CXX executable ../../bin/paraview
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::PedigreeToId(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::PedigreeToQModelIndex(long long)
const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::PedigreeToId(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTreeModelAdapter::IdToPedigree(long long) const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::PedigreeToQModelIndex(long long)
const'
/project/csvis/biddisco/build/pv-rigi/bin/libQVTK.so: undefined
reference to `vtkQtTableModelAdapter::IdToPedigree(long long) const'
collect2: ld returned 1 exit status

I will see if I can fix this, but if whoever maintains the classes
vtkQtTableModelAdapter/etc wants to chime in with the correct fix,
then please do.

[pause]

Looking at the code, I can see that vtkIdType is being set to int and
the vtkQtTree* classes use vtkIdType, so why long long is appearing, I
have no idea.

JB

      </pre>
    </blockquote>
    <pre wrap="">
    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">-- 
John Biddiscombe,                            email:biddisco @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/about/BJohn.php">http://www.cscs.ch/about/BJohn.php</a>
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82</pre>
</body>
</html>