MantisBT - Community
View Issue Details
0026511Community[OCCT] OCCT:Visualizationpublic2015-08-03 13:062016-04-20 15:50
dc 
abv 
normalmajor 
closedfixed 
LinuxDebian 6.064 bit
[OCCT] 6.8.0 
[OCCT] 7.0.0[OCCT] 7.0.0 
0026511: Build fails with VTK 6.3rc1
Build fails with newer vtk releases,
vtkFloatingPoitnType is not declared.
See http://public.kitware.com/pipermail/vtk-developers/2012-November/027971.html [^]
/oce/src/IVtkVTK/IVtkVTK_View.cxx: In member function ‘virtual bool IVtkVTK_View::DisplayToWorld(const gp_XY&, gp_XYZ&) const’:
/oce/src/IVtkVTK/IVtkVTK_View.cxx:152:3: error: ‘vtkFloatingPointType’ was not declared in this scope
   vtkFloatingPointType* const aCoords = myRenderer->GetWorldPoint();
   ^
/oce/src/IVtkVTK/IVtkVTK_View.cxx:152:25: error: expected primary-expression before ‘const’
   vtkFloatingPointType* const aCoords = myRenderer->GetWorldPoint();
                         ^
/oce/src/IVtkVTK/IVtkVTK_View.cxx:153:7: error: ‘aCoords’ was not declared in this scope
   if (aCoords[3] == 0.0) // Point at infinity in homogeneous coordinates
       ^
/oce/src/IVtkVTK/IVtkVTK_View.cxx:158:25: error: ‘aCoords’ was not declared in this scope
   theWorldPnt = gp_XYZ (aCoords[0] / aCoords[3], aCoords[1] / aCoords[3], aCoords[2] / aCoords[3]);
                         ^
adm/cmake/TKIVtk/CMakeFiles/TKIVtk.dir/build.make:330: recipe for target 'adm/cmake/TKIVtk/CMakeFiles/TKIVtk.dir/__/__/__/src/IVtkVTK/IVtkVTK_View.cxx.o' failed
make[2]: *** [adm/cmake/TKIVtk/CMakeFiles/TKIVtk.dir/__/__/__/src/IVtkVTK/IVtkVTK_View.cxx.o] Error 1
CMakeFiles/Makefile2:1495: recipe for target 'adm/cmake/TKIVtk/CMakeFiles/TKIVtk.dir/all' failed
make[1]: *** [adm/cmake/TKIVtk/CMakeFiles/TKIVtk.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2
No tags attached.
Issue History
2015-08-03 13:06dcNew Issue
2015-08-03 13:06dcAssigned To => kgv
2015-08-19 13:14abvTarget Version => 7.0.0
2015-08-19 20:01abvAssigned Tokgv => ski
2015-08-19 20:01abvStatusnew => assigned
2015-12-18 11:50abvTarget Version7.0.0 => 7.1.0
2016-01-14 08:35gitNote Added: 0049846
2016-01-14 08:37gitNote Added: 0049847
2016-01-14 08:39abvNote Added: 0049848
2016-01-14 08:39abvAssigned Toski => bugmaster
2016-01-14 08:39abvStatusassigned => resolved
2016-01-14 08:39abvTarget Version7.1.0 => 7.0.0
2016-01-14 08:39abvStatusresolved => reviewed
2016-01-14 08:40abvNote Added: 0049849
2016-01-14 11:38bugmasterStatusreviewed => tested
2016-01-15 16:57abvChangeset attached => occt master 5ca413ce
2016-01-15 16:57abvAssigned Tobugmaster => abv
2016-01-15 16:57abvStatustested => verified
2016-01-15 16:57abvResolutionopen => fixed
2016-04-17 13:54gitNote Added: 0052981
2016-04-20 15:43aivFixed in Version => 7.0.0
2016-04-20 15:50aivStatusverified => closed

Notes
(0049846)
git   
2016-01-14 08:35   
Branch CR26511 has been created by abv.

SHA-1: 0c4cdbe5abed3863d1e7b18747c2c0b7cdb487ff


Detailed log of new commits:

Author: abv
Date: Thu Jan 14 08:34:44 2016 +0300

    0026511: Build fails with VTK 6.3rc1
    
    Obsolete typedef "vtkFloatingPointType" is replaced by "double" in VIS and DRAW
(0049847)
git   
2016-01-14 08:37   
Branch CR26511 has been updated forcibly by abv.

SHA-1: 5ca413ce6384205a223302979980e9c0044d55fa
(0049848)
abv   
2016-01-14 08:39   
The fix is in CR26511, please integrate. The change is trivial, no testing is required.
(0049849)
abv   
2016-01-14 08:40   
Note that CR26511 is based on CR0-IR-2016-01-13
(0052981)
git   
2016-04-17 13:54   
Branch CR26511 has been deleted by kgv.

SHA-1: 5ca413ce6384205a223302979980e9c0044d55fa