|
From: Braden M. <br...@en...> - 2010-09-10 21:41:58
|
On 9/10/10 5:21 PM, Steve Traylen wrote: > Hi Braden, > > I gave the 0.16.7 version a go. > > openvrml/vrml97node.cpp:5650: warning: missing braces around > initializer for 'openvrml::node_interface [14]' > openvrml/vrml97node.cpp: In function > 'void<unnamed>::openvrml_png_info_callback(png_struct*, png_info*)': > openvrml/vrml97node.cpp:6435: error: 'MOZ_PNG_get_progressive_ptr' was > not declared in this scope > openvrml/vrml97node.cpp:6443: error: 'MOZ_PNG_get_image_w' was not > declared in this scope > openvrml/vrml97node.cpp:6444: error: 'MOZ_PNG_get_image_h' was not > declared in this scope Since those strings don't occur in OpenVRML's source, I can speculate that you've managed to include some Mozilla header that has #defined the conventional libpng function names to something else. Yet, this error message suggests that a header that defines these Mozilla-modified functions is *not* in the include chain. My advice would be to try to avoid this Mozilla variant of libpng altogether. But if for some reason you can't, then I guess you need to figure out how to ensure these preprocessor macros get applied consistently. -- Braden McDaniel <br...@en...> |