Compiling vtk error for using vtkGPUinfoList
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
In order to using vtkGPUInfoList, i set the two parameters including DirectX_INCLUDE_DIR and DirectX_LIBRARY in CMAKE. When i set the compiler for VC, the compiling process doesn't show any errors. Through the testing, the GPU information can get correctly. However, when using the compiler for Borland, the error message will show. The message show under.
CodeGear C++ 6.10 for Win32 Copyright (c) 1993-2008 CodeGear C:\VTK5.6\Rendering\vtkDirectXGPUInfoList.cxx: Error E2268 C:\VTK5.6\Rendering\vtkDirectXGPUInfoList.cxx 382: Call to undefined function 'stricmp' in function vtkDirectXGPUInfoList::GetDeviceIDFromHMonitor( HMONITOR_ *,wchar_t *,int) *** 1 errors in Compile ***
I try to add header #include <string.h>, but it is in vain.
How do i solve it. :(