This is log:
Code: Select all
celestiacore.obj : error LNK2019: unresolved external symbol "class ColorTemperatureTable * __cdecl GetStarColorTable(enum ColorTableType)" (?GetStarColorTable@@YAPAVColorTemperatureTable@@W4ColorTableType@@@Z) referenced in function "public: void __thiscall CelestiaCore::charEntered(char const *,int)" (?charEntered@CelestiaCore@@QAEXPBDH@Z)
cel_engine.lib(render.obj) : error LNK2001: unresolved external symbol "class ColorTemperatureTable * __cdecl GetStarColorTable(enum ColorTableType)" (?GetStarColorTable@@YAPAVColorTemperatureTable@@W4ColorTableType@@@Z)
winmain.obj : error LNK2019: unresolved external symbol _wglGetPixelFormatAttribivARB referenced in function "unsigned int __cdecl ChooseBestMSAAPixelFormat(struct HDC__ *,int *,unsigned int,int)" (?ChooseBestMSAAPixelFormat@@YAIPAUHDC__@@PAHIH@Z)
winmain.obj : error LNK2019: unresolved external symbol _wglChoosePixelFormatARB referenced in function "bool __cdecl SetDCPixelFormat(struct HDC__ *)" (?SetDCPixelFormat@@YA_NPAUHDC__@@@Z)
winmain.obj : error LNK2019: unresolved external symbol "bool __cdecl WGLExtensionSupported(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?WGLExtensionSupported@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function "bool __cdecl SetDCPixelFormat(struct HDC__ *)" (?SetDCPixelFormat@@YA_NPAUHDC__@@@Z)
winmain.obj : error LNK2019: unresolved external symbol "void __cdecl InitWGLExtensions(struct HINSTANCE__ *)" (?InitWGLExtensions@@YAXPAUHINSTANCE__@@@Z) referenced in function _WinMain@16
libpng1.lib(pngerror.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _png_default_error
libpng1.lib(pngrutil.obj) : error LNK2001: unresolved external symbol __imp__fprintf
libpng1.lib(pngwutil.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _png_write_chunk_start
cel_engine.lib(stardb.obj) : error LNK2019: unresolved external symbol "class Orbit * __cdecl CreateOrbit(class PlanetarySystem *,class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?CreateOrbit@@YAPAVOrbit@@PAVPlanetarySystem@@PAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z) referenced in function "public: class Star * __thiscall StarDatabase::createStar(unsigned int,class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?createStar@StarDatabase@@QAEPAVStar@@IPAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "class Orbit * __cdecl CreateOrbit(class PlanetarySystem *,class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?CreateOrbit@@YAPAVOrbit@@PAVPlanetarySystem@@PAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
cel_engine.lib(stardb.obj) : error LNK2019: unresolved external symbol "void __cdecl FillinRotationElements(class AssociativeArray *,class RotationElements &)" (?FillinRotationElements@@YAXPAVAssociativeArray@@AAVRotationElements@@@Z) referenced in function "public: class Star * __thiscall StarDatabase::createStar(unsigned int,class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,bool)" (?createStar@StarDatabase@@QAEPAVStar@@IPAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N@Z)
cel_engine.lib(solarsys.obj) : error LNK2001: unresolved external symbol "void __cdecl FillinRotationElements(class AssociativeArray *,class RotationElements &)" (?FillinRotationElements@@YAXPAVAssociativeArray@@AAVRotationElements@@@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: void __thiscall GLProgram::use(void)const " (?use@GLProgram@@QBEXXZ) referenced in function "public: void __thiscall CelestiaGLProgram::use(void)const " (?use@CelestiaGLProgram@@QBEXXZ)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall ShaderProperties::usesFragmentLighting(void)const " (?usesFragmentLighting@ShaderProperties@@QBE_NXZ) referenced in function "void __cdecl setLightParameters_GLSL(class CelestiaGLProgram &,class ShaderProperties const &,struct LightingState const &,class Color,class Color)" (?setLightParameters_GLSL@@YAXAAVCelestiaGLProgram@@ABVShaderProperties@@ABULightingState@@VColor@@3@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: bool __thiscall ShaderProperties::usesShadows(void)const " (?usesShadows@ShaderProperties@@QBE_NXZ) referenced in function "void __cdecl setLightParameters_GLSL(class CelestiaGLProgram &,class ShaderProperties const &,struct LightingState const &,class Color,class Color)" (?setLightParameters_GLSL@@YAXAAVCelestiaGLProgram@@ABVShaderProperties@@ABULightingState@@VColor@@3@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: class Vec3ShaderParameter & __thiscall Vec3ShaderParameter::operator=(class Vector3<float> const &)" (??4Vec3ShaderParameter@@QAEAAV0@ABV?$Vector3@M@@@Z) referenced in function "void __cdecl setLightParameters_GLSL(class CelestiaGLProgram &,class ShaderProperties const &,struct LightingState const &,class Color,class Color)" (?setLightParameters_GLSL@@YAXAAVCelestiaGLProgram@@ABVShaderProperties@@ABULightingState@@VColor@@3@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: class FloatShaderParameter & __thiscall FloatShaderParameter::operator=(float)" (??4FloatShaderParameter@@QAEAAV0@M@Z) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: class Vec4ShaderParameter & __thiscall Vec4ShaderParameter::operator=(class Vector4<float> const &)" (??4Vec4ShaderParameter@@QAEAAV0@ABV?$Vector4@M@@@Z) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: class Vec3ShaderParameter & __thiscall Vec3ShaderParameter::operator=(class Point3<float> const &)" (??4Vec3ShaderParameter@@QAEAAV0@ABV?$Point3@M@@@Z) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: class CelestiaGLProgram * __thiscall ShaderManager::getShader(class ShaderProperties const &)" (?getShader@ShaderManager@@QAEPAVCelestiaGLProgram@@ABVShaderProperties@@@Z) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "class ShaderManager & __cdecl GetShaderManager(void)" (?GetShaderManager@@YAAAVShaderManager@@XZ) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: void __thiscall ShaderProperties::setShadowCountForLight(unsigned int,unsigned int)" (?setShadowCountForLight@ShaderProperties@@QAEXII@Z) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(render.obj) : error LNK2019: unresolved external symbol "public: __thiscall ShaderProperties::ShaderProperties(void)" (??0ShaderProperties@@QAE@XZ) referenced in function "void __cdecl renderRings_GLSL(class RingSystem &,struct RenderInfo &,struct LightingState const &,float,float,unsigned int,bool,unsigned int)" (?renderRings_GLSL@@YAXAAVRingSystem@@AAURenderInfo@@ABULightingState@@MMI_NI@Z)
cel_engine.lib(solarsys.obj) : error LNK2019: unresolved external symbol "bool __cdecl ParseDate(class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,double &)" (?ParseDate@@YA_NPAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAN@Z) referenced in function "class Body * __cdecl CreatePlanet(class PlanetarySystem *,class Body *,class AssociativeArray *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,enum Disposition,bool)" (?CreatePlanet@@YAPAVBody@@PAVPlanetarySystem@@PAV1@PAVAssociativeArray@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@W4Disposition@@_N@Z)
.\Release/Celestia.exe : fatal error LNK1120: 20 unresolved externals
How fix it?