I tried this again. I got the libpng, libjpeg, and libz files from
http://enchantia.com/software/graphapp/download/ and I put them into include directories. I tried again and got the following errors.
--------------------Configuration: celengine - Win32 Debug--------------------
Compiling...
texture.cpp
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\libjpeg\jmorecfg.h(178) : warning C4005: 'FAR' : macro redefinition
d:\microsoft visual studio\vc98\include\windef.h(135) : see previous definition of 'FAR'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(46) : error C2371: 'APP_BYTE_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(46) : see declaration of 'APP_BYTE_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(47) : error C2371: 'APP_SHORT_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(47) : see declaration of 'APP_SHORT_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(48) : error C2371: 'APP_INT_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(48) : see declaration of 'APP_INT_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(49) : error C2371: 'APP_FLOAT_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(49) : see declaration of 'APP_FLOAT_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(50) : error C2371: 'APP_REAL_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(50) : see declaration of 'APP_REAL_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(52) : error C2371: 'APP_POINTER_SIZE' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(52) : see declaration of 'APP_POINTER_SIZE'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(56) : error C2371: 'APP_BYTE_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(56) : see declaration of 'APP_BYTE_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(57) : error C2371: 'APP_SHORT_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(57) : see declaration of 'APP_SHORT_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(58) : error C2371: 'APP_INT_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(58) : see declaration of 'APP_INT_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(59) : error C2371: 'APP_FLOAT_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(59) : see declaration of 'APP_FLOAT_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(60) : error C2371: 'APP_REAL_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(60) : see declaration of 'APP_REAL_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(61) : error C2371: 'APP_POINTER_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(61) : see declaration of 'APP_POINTER_PACKING'
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(63) : error C2371: 'APP_MAXIMUM_PACKING' : redefinition; different basic types
d:\celestia\source\celestia-1.2.4\include\graphapp_3.26\src\apptypes.h(63) : see declaration of 'APP_MAXIMUM_PACKING'
Error executing cl.exe.
Celestia.exe - 13 error(s), 1 warning(s)
Any tips?