After i enable “VTK_SMP_IMPLEMENTATION_TYPE=TBB”, in debug build mode, there will have below error:
LINK : fatal error LNK1102: out of memory [VTK\Accelerators\Vtkm\AcceleratorsVTKm.vcxproj]
My Questions:
Why after enable TBB, then this error occurred? before enable TBB, only when i build release version, there is this error, there is no this error in debug mode.
I am working on windows with visual studio, and finally solved this issue by changing to use 64 bit compiler.
It is blamed that visual studio use 32 bit compiler as default option, developer need explicitly set to use 64 bit compiler. There are several approaches to do so: