Compile library error

Hi,
I have an errors when I compile library:
https://user-images.githubusercontent.com/26750611/36898233-fda6ca4a-1e2a-11e8-93b3-47b4068d9c16.png
How can I fix them? Win10 x64, visual studio 2017, gtx 970

And I get these errors in CLion (MinGW Compiler):

"D:\Program Files\JetBrains\CLion 2017.3.3\bin\cmake\bin\cmake.exe" --build D:\gvdb_library\cmake-build-debug --target libgvdb -- -j 2
[ 10%] Generating $(Configuration)/cuda_gvdb_module.ptx
[ 10%] Generating $(Configuration)/cuda_gvdb_copydata.ptx
cuda_gvdb_copydata.cu
cuda_gvdb_module.cu
Scanning dependencies of target libgvdb
[ 15%] Building CXX object CMakeFiles/libgvdb.dir/src/app_perf.cpp.obj
g++.exe: error: /wd4267: No such file or directory
g++.exe: error: /wd4996: No such file or directory
g++.exe: error: /wd4244: No such file or directory
g++.exe: error: /wd4305: No such file or directory
mingw32-make.exe[3]: *** [CMakeFiles/libgvdb.dir/src/app_perf.cpp.obj] Error 1
CMakeFiles\libgvdb.dir\build.make:70: recipe for target 'CMakeFiles/libgvdb.dir/src/app_perf.cpp.obj' failed
mingw32-make.exe[3]: *** Waiting for unfinished jobs....
[ 20%] Building CXX object CMakeFiles/libgvdb.dir/src/gvdb_allocator.cpp.obj
CMakeFiles\libgvdb.dir\build.make:95: recipe for target 'CMakeFiles/libgvdb.dir/src/gvdb_allocator.cpp.obj' failed
g++.exe: error: /wd4267: No such file or directory
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/libgvdb.dir/all' failed
g++.exe: error: /wd4996: No such file or directory
CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/libgvdb.dir/rule' failed
g++.exe: error: /wd4244: No such file or directory
Makefile:117: recipe for target 'libgvdb' failed
g++.exe: error: /wd4305: No such file or directory
mingw32-make.exe[3]: *** [CMakeFiles/libgvdb.dir/src/gvdb_allocator.cpp.obj] Error 1
mingw32-make.exe[2]: *** [CMakeFiles/libgvdb.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles/libgvdb.dir/rule] Error 2
mingw32-make.exe: *** [libgvdb] Error 2

VS 2015 (sample FluidSim):

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>  Checking Build System
1>  CMake does not need to re-run because D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/build/gFluidSurface/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: gFluidSurface, Configuration: Debug x64 ------
2>  Generating fluid_system_cuda.ptx
2>D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/include\gvdb_vec.h(115): warning : type qualifier on return type is meaningless
2>
2>D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/include\gvdb_vec.h(228): warning : type qualifier on return type is meaningless
2>
2>  fluid_system_cuda.cu
2>  Building Custom Rule D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/source/gFluidSurface/CMakeLists.txt
2>  CMake does not need to re-run because D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/build/gFluidSurface/CMakeFiles/generate.stamp is up-to-date.
2>  fluid.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(359): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  fluid_system.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\gFluidSurface\fluid_system.cpp(2086): warning C4477: 'sprintf' : format string '%0*d' requires an argument of type 'int', but variadic argument 1 has type 'std::size_t'
2>  D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\gFluidSurface\fluid_system.cpp(2086): note: this argument is used as a field width
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(75): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  main_fluid_surface.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>  gvdb_node
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\exception(359): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  file_png.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  file_tga.cpp
2>  main_win.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\main_win.cpp(1324): warning C4311: 'type cast': pointer truncation from 'HANDLE' to 'long'
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\main_win.cpp(1332): warning C4311: 'type cast': pointer truncation from 'HANDLE' to 'long'
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\main_win.cpp(1340): warning C4311: 'type cast': pointer truncation from 'HANDLE' to 'long'
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\limits(210): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  nv_gui.cpp
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\nv_gui.cpp(1084): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\nv_gui.cpp(1087): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\source\sample_utils\nv_gui.cpp(1090): warning C4312: 'type cast': conversion from 'int' to 'void *' of greater size
2>D:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\cmath(303): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc
2>  Generating Code...
2>  glew.c
2>     Creating library D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/build/gFluidSurface/Debug/gFluidSurface.lib and object D:/ProgramData/NVIDIA Corporation/GVDB SDK 1.0/build/gFluidSurface/Debug/gFluidSurface.exp
2>main_fluid_surface.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl nvdb::DataPtr::DataPtr(struct nvdb::DataPtr &&)" (__imp_??0DataPtr@nvdb@@QEAA@$$QEAU01@@Z) referenced in function "public: void __cdecl Sample::simulate(void)" (?simulate@Sample@@QEAAXXZ)
2>D:\ProgramData\NVIDIA Corporation\GVDB SDK 1.0\build\gFluidSurface\gFluidSurface.exe : fatal error LNK1120: 1 unresolved externals
3>------ Skipped Build: Project: ALL_BUILD, Configuration: Debug x64 ------
3>Project not selected to build for this solution configuration 
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

The MinGW error looks like: ‘/wd4267’: No such file or directory…
I would have to see the command line compiler arguments to determine what is happening here. Was this build generated using CMake? Which version?

The Windows error with gFluidSurface may also be related to compiler and platform. Please indicate the OS, compiler, cmake version, etc., as this error does not appear with the standard build for VS2015.