I try to compiling Celestia CVS in command line (Wiki steps). Some errors appears.
That??s the end of the compile log:
Code: Select all
...
cel_engine.lib(rendcontext.obj) : error LNK2001: unresolved external symbol __imp__glMaterialfv@12
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glColor4fv@4 referenced in function "void __cdecl renderModelDefault(class Model *,struct RenderInfo const &,bool)" (?renderModelDefault@@YAXPAVModel@@ABURenderInfo@@_N@Z)
cel_engine.lib(nebula.obj) : error LNK2001: unresolved external symbol __imp__glColor4fv@4
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glFogf@8 referenced in function "void __cdecl renderSphere_Combiners_VP(struct RenderInfo const &,class LightingState const &,class Frustum const &,class GLContext const &)" (?renderSphere_Combiners_VP@@YAXABURenderInfo@@ABVLightingState@@ABVFrustum@@ABVGLContext@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glFogi@8 referenced in function "void __cdecl renderSphere_Combiners_VP(struct RenderInfo const &,class LightingState const &,class Frustum const &,class GLContext const &)" (?renderSphere_Combiners_VP@@YAXABURenderInfo@@ABVLightingState@@ABVFrustum@@ABVGLContext@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glFogfv@8 referenced in function "void __cdecl renderSphere_Combiners_VP(struct RenderInfo const &,class LightingState const &,class Frustum const &,class GLContext const &)" (?renderSphere_Combiners_VP@@YAXABURenderInfo@@ABVLightingState@@ABVFrustum@@ABVGLContext@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glTexGeni@12 referenced in function "void __cdecl renderShadowedModelDefault(class Model *,struct RenderInfo const &,class Frustum const &,float *,float *,class Vector3<float> const &,bool,class GLContext const &)" (?renderShadowedModelDefault@@YAXPAVModel@@ABURenderInfo@@ABVFrustum@@PAM3ABV?$Vector3@M@@_NABVGLContext@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glDrawElements@16 referenced in function "private: void __thiscall Renderer::renderEllipsoidAtmosphere(class Atmosphere const &,class Point3<float>,class Quaternion<float> const &,class Vector3<float>,class Vector3<float> const &,class Color,float,bool)" (?renderEllipsoidAtmosphere@Renderer@@AAEXABVAtmosphere@@V?$Point3@M@@ABV?$Quaternion@M@@V?$Vector3@M@@ABV5@VColor@@M_N@Z)
cel_engine.lib(lodspheremesh.obj) : error LNK2001: unresolved external symbol __imp__glDrawElements@16
cel_engine.lib(rendcontext.obj) : error LNK2001: unresolved external symbol __imp__glDrawElements@16
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glMultMatrixf@4 referenced in function "void __cdecl glMatrix(class Matrix4<float> const &)" (?glMatrix@@YAXABV?$Matrix4@M@@@Z)
cel_engine.lib(galaxy.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixf@4
cel_engine.lib(nebula.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixf@4
cel_engine.lib(axisarrow.obj) : error LNK2001: unresolved external symbol __imp__glMultMatrixf@4
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol _gluProject@48 referenced in function "private: void __thiscall Renderer::renderLocations(class std::vector<class Location *,class std::allocator<class Location *> > const &,class Quaternion<float> const &,class Point3<double> const &,class Quaternion<double> const &,float)" (?renderLocations@Renderer@@AAEXABV?$vector@PAVLocation@@V?$allocator@PAVLocation@@@std@@@std@@ABV?$Quaternion@M@@ABV?$Point3@N@@ABV?$Quaternion@N@@M@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glGetDoublev@8 referenced in function "private: void __thiscall Renderer::renderLocations(class std::vector<class Location *,class std::allocator<class Location *> > const &,class Quaternion<float> const &,class Point3<double> const &,class Quaternion<double> const &,float)" (?renderLocations@Renderer@@AAEXABV?$vector@PAVLocation@@V?$allocator@PAVLocation@@@std@@@std@@ABV?$Quaternion@M@@ABV?$Point3@N@@ABV?$Quaternion@N@@M@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glDepthFunc@4 referenced in function "public: bool __thiscall Renderer::init(class GLContext *,int,int,struct Renderer::DetailOptions &)" (?init@Renderer@@QAE_NPAVGLContext@@HHAAUDetailOptions@1@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glCullFace@4 referenced in function "public: bool __thiscall Renderer::init(class GLContext *,int,int,struct Renderer::DetailOptions &)" (?init@Renderer@@QAE_NPAVGLContext@@HHAAUDetailOptions@1@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glLightModeli@8 referenced in function "public: bool __thiscall Renderer::init(class GLContext *,int,int,struct Renderer::DetailOptions &)" (?init@Renderer@@QAE_NPAVGLContext@@HHAAUDetailOptions@1@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function "public: virtual void __thiscall DSORenderer::process(class DeepSkyObject * const &,double,float)" (?process@DSORenderer@@UAEXABQAVDeepSkyObject@@NM@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glPolygonOffset@8 referenced in function "private: void __thiscall Renderer::renderObject(class Point3<float>,float,double,class Quaternion<float>,float,float,struct Renderer::RenderProperties &,class LightingState const &)" (?renderObject@Renderer@@AAEXV?$Point3@M@@MNV?$Quaternion@M@@MMAAURenderProperties@1@ABVLightingState@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glFrontFace@4 referenced in function "private: void __thiscall Renderer::renderObject(class Point3<float>,float,double,class Quaternion<float>,float,float,struct Renderer::RenderProperties &,class LightingState const &)" (?renderObject@Renderer@@AAEXV?$Point3@M@@MNV?$Quaternion@M@@MMAAURenderProperties@1@ABVLightingState@@@Z)
cel_engine.lib(renderglsl.obj) : error LNK2001: unresolved external symbol __imp__glFrontFace@4
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glDepthRange@16 referenced in function "public: void __thiscall Renderer::render(class Observer const &,class Universe const &,float,class Selection const &)" (?render@Renderer@@QAEXABVObserver@@ABVUniverse@@MABVSelection@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glPolygonMode@8 referenced in function "public: void __thiscall Renderer::render(class Observer const &,class Universe const &,float,class Selection const &)" (?render@Renderer@@QAEXABVObserver@@ABVUniverse@@MABVSelection@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glTexEnvf@12 referenced in function "public: void __thiscall Renderer::render(class Observer const &,class Universe const &,float,class Selection const &)" (?render@Renderer@@QAEXABVObserver@@ABVUniverse@@MABVSelection@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glClear@4 referenced in function "public: void __thiscall Renderer::render(class Observer const &,class Universe const &,float,class Selection const &)" (?render@Renderer@@QAEXABVObserver@@ABVUniverse@@MABVSelection@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol __imp__glClearColor@16 referenced in function "public: void __thiscall Renderer::render(class Observer const &,class Universe const &,float,class Selection const &)" (?render@Renderer@@QAEXABVObserver@@ABVUniverse@@MABVSelection@@@Z)
cel_engine.lib(texture.obj) : error LNK2019: unresolved external symbol __imp__glGetTexParameterfv@12 referenced in function "bool __cdecl testMaxLevel(void)" (?testMaxLevel@@YA_NXZ)
cel_engine.lib(texture.obj) : error LNK2019: unresolved external symbol _gluBuild2DMipmaps@28 referenced in function "public: __thiscall ImageTexture::ImageTexture(class Image &,enum Texture::AddressMode,enum Texture::MipMapMode)" (??0ImageTexture@@QAE@AAVImage@@W4AddressMode@Texture@@W4MipMapMode@3@@Z)
cel_engine.lib(lodspheremesh.obj) : error LNK2019: unresolved external symbol __imp__glNormalPointer@12 referenced in function "private: void __thiscall LODSphereMesh::renderSection(int,int,int,struct LODSphereMesh::RenderInfo const &)" (?renderSection@LODSphereMesh@@AAEXHHHABURenderInfo@1@@Z)
cel_engine.lib(rendcontext.obj) : error LNK2001: unresolved external symbol __imp__glNormalPointer@12
cel_engine.lib(vertexlist.obj) : error LNK2001: unresolved external symbol __imp__glNormalPointer@12
cel_engine.lib(vertexprog.obj) : error LNK2019: unresolved external symbol __imp__glGetError@0 referenced in function "bool __cdecl LoadNvVertexProgram(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned int &)" (?LoadNvVertexProgram@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAI@Z)
cel_engine.lib(fragmentprog.obj) : error LNK2001: unresolved external symbol __imp__glGetError@0
cel_engine.lib(axisarrow.obj) : error LNK2019: unresolved external symbol __imp__glRotatef@16 referenced in function "void __cdecl RenderAxisArrows(class Quaternion<float> const &,float,float)" (?RenderAxisArrows@@YAXABV?$Quaternion@M@@MM@Z)
.\Release\celestia.exe : fatal error LNK1120: 150 unresolved externals
I wonder if anyone could shed light on this for me.
Thanks for All
Igor Borgo