thank you for responding, yes of course i did, otherwise createNanoGrid would be undefined. here is the list i included for nanovdb.
#include <nanovdb/Nanovdb.h>
#include <nanovdb/tools/CreateNanoGrid.h>
#include <nanovdb/GridHandle.h>
#include <nanovdb/util/cuda/CudaDeviceBuffer.h>
//#include <cuda/CudaDeviceBuffer.cuh>
#include <nanovdb/util/GridBuilder.h>
#include <nanovdb/io/IO.h>
#include <nanovdb/cuda/DeviceBuffer.h>
again the issue is in the header file;
CreateNanoGrid.h(326): error : class "openvdb::v12_0::Grid<openvdb::v12_0::FloatTree>" has no member "map"
1> const nanovdb::Map& map() const {return this->grid().map();}