[vtkusers] Build vtkFLTK 0.6.1

Toon Huysmans denhuys at hotmail.com
Fri Dec 17 09:05:36 EST 2004


Hi I am trying to build the following:

vtk 4.4
fltk 1.1.6
vtkFLTK 0.6.1

using CMake 2.0.5 and VC.NET.

The vtk and fltk builds are fine, but when building vtkFLTK I get the 
following errors:

(excerpt of build ouput)

------ Build started: Project: QuadricCut, Configuration: Release 
Win32 ------
Building Custom Rule C:/Documents and Settings/Administrator/My 
Documents/Image-Mesh Processing 
CD-try/vtkFLTK/vtkFLTK-0.6.1/Build/Examples/QuadricCut/QuadricCutUI.cxx
Compiling...
QuadricCut.cxx
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(29) : error 
C2375: 'InInCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(26) : 
see declaration of 'InInCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(42) : error 
C2375: 'OutInCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(27) : 
see declaration of 'OutInCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(55) : error 
C2375: 'InOutCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(28) : 
see declaration of 'InOutCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(68) : error 
C2375: 'OutOutCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(29) : 
see declaration of 'OutOutCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(81) : error 
C2375: 'OnOnCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(30) : 
see declaration of 'OnOnCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(94) : error 
C2375: 'OnInCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(31) : 
see declaration of 'OnInCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(107) : error 
C2375: 'OnOutCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(32) : 
see declaration of 'OnOutCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(120) : error 
C2375: 'InOnCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(33) : 
see declaration of 'InOnCb'
\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Examples\QuadricCut\QuadricCut.cxx(133) : error 
C2375: 'OutOnCb' : redefinition; different linkage
C:\Documents and Settings\Administrator\My Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\QuadricCutUI.h(34) : 
see declaration of 'OutOnCb'
QuadricCutBase.cxx
QuadricCutUI.cxx
Generating Code...
Build log was saved at "file://c:\Documents and Settings\Administrator\My 
Documents\Image-Mesh Processing 
CD-try\vtkFLTK\vtkFLTK-0.6.1\Build\Examples\QuadricCut\Release\BuildLog.htm"
QuadricCut - 9 error(s), 0 warning(s)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


What am I doing wrong?

Greetings,

Toon Huysmans. 



More information about the vtkusers mailing list