From: Vermaas, Josh (vermaasj_at_msu.edu)
Date: Fri Feb 24 2023 - 00:19:28 CST

Do you need the OSPray renderer? If not, the easiest thing to do is yank LIBOSPRAY out of configure.options. If you do need it, you may need to help your compiler find libospray.

-Josh

From: <owner-vmd-l_at_ks.uiuc.edu> on behalf of Alexander Beerhoff <emserfo_at_gmail.com>
Date: Thursday, February 23, 2023 at 10:06 PM
To: "vmd-l_at_ks.uiuc.edu" <vmd-l_at_ks.uiuc.edu>
Subject: vmd-l: Fwd: Problem building vmd with ospray - OSPRayRenderer.h error: ‘OSPModel’ does not name a typ

Hi, I'm on debian and I'm building vmd 1.9.3.src. I use this commands:"./configure" with this configure.options:
LINUXAMD64 OPENGL OPENGLPBUFFER FLTK TK ACTC IMD LIBSBALL XINERAMA XINPUT LIBOSPRAY LIBTACHYON LIBPNG VRPN NETCDF COLVARS TCL PYTHON PTHREADS NUMPY SILENT ICC
Then in src folder:
make LDFLAGS="-L/usr/lib/x86_64-linux-gnu -I/usr/include/tcl8.6 -I/usr/include -I/Path-to-Home/stable-software/vmd/plugins/include -I/Path-to-Home/stable-software/vmd/plugins/LINUXAMD64/molfile -I/Path-to-Home/stable-software/ospray/include/ospray -L/Path-to-Home/stable-software/ospray/lib" CPPFLAGS="-L/usr/lib/x86_64-linux-gnu -I/usr/include/tcl8.6 -I/usr/include -I/Path-to-Home/stable-software/vmd/plugins/include -I/Path-to-Home/stable-software/vmd/plugins/LINUXAMD64/molfile -I/Path-to-Home/stable-software/ospray/include -L/Path-to-Home/stable-software/ospray/lib"
Then I need to replace icc and icpc with gcc in Makefile. Now I'm stuck with this error:
Compiling OSPRayDisplayDevice.C --> OSPRayDisplayDevice.o ...In file included from OSPRayDisplayDevice.C:48:
OSPRayRenderer.h:182:3: error: ‘OSPModel’ does not name a type
  182 | OSPModel ospModel; ///< scene graph
      | ^~~~~~~~
make: *** [Makefile:574 : OSPRayDisplayDevice.o] Erreur 1

What can I do?

Best Regards

--
Umi sukoschi
Niwa ni izumi no
Ko no ma ka na