MantisBT - VTK
View Issue Details
0015355VTK(No Category)public2015-03-02 15:242016-07-07 13:40
Dženan Zukić 
 
normalminorhave not tried
closedfixed 
6.0.0 
7.1.0 
TBD
incorrect functionality
0015355: Linker cannot find tbb_debug.lib
In debug mode (but not release) there is a linking error with tbb_debug.lib, even though I specified its path in CMake configuration step along with all other things setting VTK_SMP_IMPEMENTATION_TYPE to TBB required. It happens for vtkFiltersModelingCxxTests, AmbientSpheres and many others. Example message:
5>------ Build started: Project: vtkFiltersSMPCxxTests, Configuration: Debug x64 ------
5>LINK : fatal error LNK1104: cannot open file 'tbb_debug.lib'
Build: 2 succeeded, 117 failed, 124 up-to-date, 7 skipped
No tags attached.
txt CMakeCache.txt (170,749) 2015-03-02 15:24
https://www.vtk.org/Bug/file/18/CMakeCache.txt
Issue History
2015-03-02 15:24Dženan ZukićNew Issue
2015-03-02 15:24Dženan ZukićFile Added: CMakeCache.txt
2016-07-06 12:10Berk GeveciNote Added: 0036191
2016-07-06 16:36Dženan ZukićNote Added: 0036237
2016-07-07 13:40Dženan ZukićNote Added: 0036331
2016-07-07 13:40Dženan ZukićStatusbacklog => closed
2016-07-07 13:40Dženan ZukićResolutionopen => fixed
2016-07-07 13:40Dženan ZukićFixed in Version => 7.1.0

Notes
(0036191)
Berk Geveci   
2016-07-06 12:10   
Can you still reproduce this? I believe FindTBB changed since this was reported.
(0036237)
Dženan Zukić   
2016-07-06 16:36   
The latest TBB release compiles and links properly in Release mode, but in Debug gives this error:
40>c:\libs\tbb44_20160526oss\include\tbb\tbb_config.h(546): fatal error C1017: invalid integer constant expression

This seems like an error in TBB. I will investigate more.
(0036331)
Dženan Zukić   
2016-07-07 13:40   
It looks like the problem was fixed 4 months ago by this pull request:
https://gitlab.kitware.com/vtk/vtk/merge_requests/1306 [^]

This bug is gone in today's master branch (commit 445361ed4692eba9f12db29bab1f01f24229d50a).