Errors Occured when building OPTIX


When I build OPTIX. Following errors occurred:
/usr/local/include/OpenEXR/ImfFrameBuffer.h:22:10: fatal error: ImathBox.h: No such file or directory

I think to install the OpenEXR and Imath properly.

Besides, when I ccmake config I saw the following warning:

Could not find a package configuration file provided by "NVTX" with any of the following names:

My system is as follows:

  • Ubuntu 18.04
  • GCC 7.5
  • CMake 3.22.1
  • CUDA 11.3
  • OptiX 7.3
  • OpenEXR 3.1

Can anyone help me! Thanks!