VMD-L Mailing List
From: Vlad Cojocaru (vlad.cojocaru_at_mpi-muenster.mpg.de)
Date: Tue Jan 10 2017 - 07:25:10 CST
- Next message: Vlad Cojocaru: "Re: compiling VMD 1.9.3 with OSPRay support"
- Previous message: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Next in thread: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Reply: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear VMDers,
I am trying to compile VMD 1.9.3 with OSPRay support. However, I get the
compilation error below:
Some details:
OS: openSUSE 42.2 (arch x86_64)
GCC 4.8.5
OSPRay 1.1.2 (downloaded and built successfully according to their
instructions)
Has anybody observed such an errror and has a fix for it ?
Thanks for letting me know
Best wishes
Vlad
Compiling OSPRayRenderer.C --> OSPRayRenderer.o ...
OSPRayRenderer.C: In member function ‘void
OSPRayRenderer::render_compile_and_validate()’:
OSPRayRenderer.C:662:12: error: redeclaration of ‘int i’
for (int i = 0; i < directional_lights.num(); ++i) {
^
OSPRayRenderer.C:552:7: error: ‘int i’ previously declared here
int i;
^
OSPRayRenderer.C: In member function ‘void
OSPRayRenderer::cylinder_array(Matrix4*, float, float*, int, float*, int)’:
OSPRayRenderer.C:2027:38: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
for (i=0,ind4=0,ind6=0,ind7=0; i<cylnum;
i++,ind4+=4,ind6+=6,ind7+=7) {
^
OSPRayRenderer.C:2035:38: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
for (i=0,ind4=0,ind6=0,ind7=0; i<cylnum;
i++,ind4+=4,ind6+=6,ind7+=7) {
^
OSPRayRenderer.C: In member function ‘void
OSPRayRenderer::trimesh_c4u_n3f_v3f(Matrix4&, unsigned char*, float*,
float*, int, int)’:
OSPRayRenderer.C:2474:11: warning: unused variable ‘norm’
[-Wunused-variable]
float norm[9];
^
OSPRayRenderer.C:2472:15: warning: unused variable ‘cn2f’
[-Wunused-variable]
const float cn2f = 1.0f / 127.5f;
^
OSPRayRenderer.C: In member function ‘void
OSPRayRenderer::trimesh_n3f_v3f(Matrix4&, float*, float*, float*, int,
int)’:
OSPRayRenderer.C:2630:14: warning: unused variable ‘c’ [-Wunused-variable]
const rgba c = { uniform_color[0],
^
Makefile:595: recipe for target 'OSPRayRenderer.o' failed
make: *** [OSPRayRenderer.o] Error 1
-- Vlad Cojocaru, Ph.D., Project Group Leader Department of Cell and Developmental Biology Max Planck Institute for Molecular Biomedicine Röntgenstrasse 20, 48149 Münster, Germany Tel: +49-251-70365-324; Fax: +49-251-70365-399 Email: vlad.cojocaru[at]mpi-muenster.mpg.de http://www.mpi-muenster.mpg.de/43241/cojocaru
- Next message: Vlad Cojocaru: "Re: compiling VMD 1.9.3 with OSPRay support"
- Previous message: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Next in thread: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Reply: John Stone: "Re: compiling VMD 1.9.3 with OSPRay support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]