Compiling error
Aug 5, 2012 at 2:37am UTC
I'm having one problem in my compiling, i hope that you can help me :)
The error
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
1
1>Build started 03/08/2012 14:54:22.
1>InitializeBuildStatus:
1> Touching "Debug\VCMPBrowser.unsuccessfulbuild".
1>ClCompile:
1> All outputs are up-to-date.
1> All outputs are up-to-date.
1>ResourceCompile:
1> All outputs are up-to-date.
1>ManifestResourceCompile:
1> All outputs are up-to-date.
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::Shutdown(void)" (?Shutdown@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::EndList(void)" (?EndList@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>MainWindow.obj : error LNK2001: símbolos externos indefinidos "public: static void __cdecl CWin7::EndList(void)" (?EndList@CWin7@@SAXXZ)
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::CreateCustomList(void)" (?CreateCustomList@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>MainWindow.obj : error LNK2001: símbolos externos indefinidos "public: static void __cdecl CWin7::CreateCustomList(void)" (?CreateCustomList@CWin7@@SAXXZ)
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::CreateTasksList(void)" (?CreateTasksList@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>MainWindow.obj : error LNK2001: símbolos externos indefinidos "public: static void __cdecl CWin7::CreateTasksList(void)" (?CreateTasksList@CWin7@@SAXXZ)
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::BeginList(void)" (?BeginList@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>MainWindow.obj : error LNK2001: símbolos externos indefinidos "public: static void __cdecl CWin7::BeginList(void)" (?BeginList@CWin7@@SAXXZ)
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CHistory::Load(void)" (?Load@CHistory@@SAXXZ) referenciado na função _WinMain@16
1>main.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CWin7::Init(void)" (?Init@CWin7@@SAXXZ) referenciado na função _WinMain@16
1>MainWindow.obj : error LNK2019: símbolo externo indefinido "public: static void __cdecl CHistory::Write(void)" (?Write@CHistory@@SAXXZ) referenciado na função "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
1>ServerQuery.obj : error LNK2019: símbolo externo indefinido _VCMPQ_CreateQuery referenciado na função "public: static long __cdecl CServerQuery::Query(char const *,unsigned short)" (?Query@CServerQuery@@SAJPBDG@Z)
1>D:\browser\Debug\VCMPBrowser.exe : fatal error LNK1120: 9 não resolvido externo
1>
1>FALHA da compilação.
1>
1>Time Elapsed 00:00:04.79
========== Compilar: 0 com êxito, 1 com falha, 0 atualizados, 0 ignorados ==========
Aug 5, 2012 at 2:57am UTC
Looks like you haven't compiledthe cpp file containing the functions CWin7::Shutdown, CWin7::EndList, CWin7::CreateCustomList etc etc, or you haven't linked to the library containing them.
Aug 5, 2012 at 3:20pm UTC
I already complied it, do you can say me how i can link it?
Thank you.
Aug 5, 2012 at 8:16pm UTC
Last edited on Aug 5, 2012 at 8:16pm UTC
Topic archived. No new replies allowed.