Mrkebubun / o3d

Automatically exported from code.google.com/p/o3d
0 stars 0 forks source link

o3d/core/cross/bitmap_png.cc fails to compile #231

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.make

What is the expected output? What do you see instead?
$ make
  ACTION Extracting last change to /home/evil/o3d/out/Debug/obj/gen/build/LASTCHANGE out/Debug/obj/gen/build/LASTCHANGE.always
  CXX(target) out/Debug/obj.target/o3dCore/o3d/core/cross/bitmap_png.o
o3d/core/cross/bitmap_png.cc: In static member function ‘static bool 
o3d::Bitmap::LoadFromPNGStream(o3d::ServiceLocator*, o3d::MemoryReadStream*, 
const o3d::String&, o3d::Bitmap::BitmapRefArray*)’:
o3d/core/cross/bitmap_png.cc:113:39: error: ‘png_infopp_NULL’ was not 
declared in this scope
o3d/core/cross/bitmap_png.cc:131:50: error: ‘png_infopp_NULL’ was not 
declared in this scope
o3d/core/cross/bitmap_png.cc:195:36: error: ‘png_set_gray_1_2_4_to_8’ was 
not declared in this scope
o3d/core/cross/bitmap_png.cc:260:48: error: ‘png_infopp_NULL’ was not 
declared in this scope
o3d/core/cross/bitmap_png.cc: In function ‘bool 
o3d::<unnamed>::CreatePNGInUInt8Vector(const o3d::Bitmap&, std::vector<unsigned 
char>*)’:
o3d/core/cross/bitmap_png.cc:285:41: error: ‘png_infopp_NULL’ was not 
declared in this scope
o3d/core/cross/bitmap_png.cc:311:60: error: ‘png_voidp_NULL’ was not 
declared in this scope
make: *** [out/Debug/obj.target/o3dCore/o3d/core/cross/bitmap_png.o] Error 1

What version of the product are you using? On what operating system?
Latest source code, currently copied from the
code.google.com repository at http://code.google.com/p/o3d

Original issue reported on code.google.com by ihatewin...@gmail.com on 9 Aug 2010 at 10:30