From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Feb 24 2023 - 20:03:54 CST

Hi,
  OSPRay 2.x has an incompatible API and you can't compile any of the
currently available revs of VMD against it. I have an experimental
implementation, but I'm hoping it is not necessary as there is now also
an OSPRay implementation for ANARI, and there are now also several other
rendering back-ends for the the ANARI 1.0 provisional spec and the
public SDK. You won't find the ANARI code in the current VMD repo yet
either as things are still changing, but my expectation is that the ANARI
renderer implementation will completely replace both the existing OSPRay 1.x
and the experimental OSPRay 2.x interfaces for VMD in the relatively
near-term. This is something I've been working on for a while now.

Best,
  John Stone
  vmd_at_ks.uiuc.edu

On Fri, Feb 24, 2023 at 11:09:58PM +0100, Alexander Beerhoff wrote:
> Seems that in OSPray 2.x OSPWorld replaces OSPModel; maybe I'll try with
> latest OSPray 1.x
> I've already installed the bleeding edge version of VMD, but a stable
> branch as backup could be usefull.
> Thankyou
> On Fri, Feb 24, 2023 at 8:58 AM Axel Kohlmeyer <[1]akohlmey_at_gmail.com>
> wrote:
>
> The VMD 1.9.3 source is from more than 6 years ago and software like
> CUDA or OSPRay and similar are changing fast.
> I suggestion you try building a more recent source. The latest alpha
> version source is only about a year old. That should have a better
> chance to build with current libraries and tools.
> On Fri, Feb 24, 2023 at 12:40 AM Alexander Beerhoff
> <[2]emserfo_at_gmail.com> wrote:
>
> 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
>
> --
> Dr. Axel Kohlmeyer [3]akohlmey_at_gmail.com [4]http://goo.gl/1wk0
> College of Science & Technology, Temple University, Philadelphia PA, USA
> International Centre for Theoretical Physics, Trieste. Italy.
>
> --
> Umi sukoschi
> Niwa ni izumi no
> Ko no ma ka na
>
> References
>
> Visible links
> 1. mailto:akohlmey_at_gmail.com
> 2. mailto:emserfo_at_gmail.com
> 3. mailto:akohlmey_at_gmail.com
> 4. https://urldefense.com/v3/__http://goo.gl/1wk0__;!!DZ3fjg!50bssQaAppdI1UA-UW0KAOXzKelk2mZkfaOzQxCVCUBMzgc1ylMnbIjsfXl_qXANIaXt2yUP4-LRKY5Ajw$

-- 
Research Affiliate, NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
http://www.ks.uiuc.edu/~johns/           
http://www.ks.uiuc.edu/Research/vmd/