fatal error LNK1120: 10 unresolved externals

  • Thread starter Thread starter Ahda Muammar
  • Start date Start date
A

Ahda Muammar

Guest
1>------ Build started: Project: Rumah3D, Configuration: Debug Win32 ------
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall Image::~Image(void)" (??1Image@@QAE@XZ) referenced in function "public: void * __thiscall Image::`scalar deleting destructor'(unsigned int)" (??_GImage@@QAEPAXI@Z)
1>main.obj : error LNK2019: unresolved external symbol "class Image * __cdecl loadBMP(char const *)" (?loadBMP@@YAPAVImage@@PBD@Z) referenced in function "class Terrain * __cdecl loadTerrain(char const *,float)" (?loadTerrain@@YAPAVTerrain@@PBDM@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall Vec3f::Vec3f(void)" (??0Vec3f@@QAE@XZ) referenced in function "public: __thiscall Terrain::Terrain(int,int)" (??0Terrain@@QAE@HH@Z)
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall Vec3f::Vec3f(float,float,float)" (??0Vec3f@@QAE@MMM@Z) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: float & __thiscall Vec3f::operator[](int)" (??AVec3f@@QAEAAMH@Z) referenced in function "void __cdecl drawScene(void)" (?drawScene@@YAXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: class Vec3f __thiscall Vec3f::operator*(float)const " (??DVec3f@@QBE?AV0@M@Z) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: class Vec3f const & __thiscall Vec3f::operator+=(class Vec3f const &)" (??YVec3f@@QAEABV0@ABV0@@Z) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: float __thiscall Vec3f::magnitude(void)const " (?magnitude@Vec3f@@QBEMXZ) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: class Vec3f __thiscall Vec3f::normalize(void)const " (?normalize@Vec3f@@QBE?AV1@XZ) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>main.obj : error LNK2019: unresolved external symbol "public: class Vec3f __thiscall Vec3f::cross(class Vec3f const &)const " (?cross@Vec3f@@QBE?AV1@ABV1@@Z) referenced in function "public: void __thiscall Terrain::computeNormals(void)" (?computeNormals@Terrain@@QAEXXZ)
1>C:\Users\AHDA\Documents\Visual Studio 2012\Projects\Rumah3D\Debug\Rumah3D.exe : fatal error LNK1120: 10 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Continue reading...
 
Back
Top