Hello,
I am trying to compile LibARvrml under windows in visual studio 6, but I am
receiving errors when doing so.
I am using the 2.70.1 version of Artoolkit with openvrml 0.14.3. I think
that I am following the readme and did all the steps, but when I try to
compile the arVRML library I get some 14 warnings and 5 errors some of
which I put as follows.
It looks like the problem comes from open vrml, and I tried with a different
version of openvrml (0.15) but the problem got worse (and the .h files are
diferent in this other version).
Can anyone point me to what I might be doing wrong ?
Thanks a lot
Alain
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/node_class_ptr.h(73) : warning C4800:
'class openvrml::node_class *const ' : forcing value to bool 'true' or
'false' (performance warning)
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/field_value_ptr.h(75) : warning C4800:
'class openvrml::field_value *const ' : forcing value to bool 'true' or
'false' (performance warning)
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/node_ptr.h(74) : warning C4800: 'struct
std::pair<class openvrml::node * const,unsigned int> *const ' : forcing
value to bool 'true' or 'false' (performance warning)
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/node_type_ptr.h(72) : warning C4800:
'class openvrml::node_type *const ' : forcing value to bool 'true' or
'false' (performance warning)
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/scope_ptr.h(71) : warning C4800: 'class
openvrml::scope *const ' : forcing value to bool 'true' or 'false'
(performance warning)
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/node.h(111) : warning C4518: '$S37 ' :
storage-class or type specifier(s) unexpected here; ignored
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/script.h(81) : warning C4518: '$S42 ' :
storage-class or type specifier(s) unexpected here; ignored
__ARTOOLKIT 2.70.1\INCLUDE\openvrml/gl/viewer.h(31) : warning C4099:
'GLUtesselator' : type name first seen using 'class' now seen using 'struct'
__ARTOOLKIT 2.70.1\INCLUDE\GL/glu.h(155) : see declaration of
'GLUtesselator'
__artoolkit 2.70.1\lib\SRC\ARvrml\arViewer.cpp(182) : error C2352:
'openvrml::gl::viewer::insert_dir_light' : illegal call of non-static member
function
|