   Gamebryo
  I tried to compile the first tut in Gamebryo 2.3 and this is what i got:1>------ Build started: Project: Tutorial01, Configuration: Debug Win32 ------1>Linking...1>NiSystem.lib(NiMessageBox.obj) : error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "protected: static unsigned int __cdecl NiMessageBox::DefaultMessageBox(char const *,char const *,void *)" (?DefaultMessageBox@NiMessageBox@@KAIPBD0PAX@Z)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__ShowCursor@4 referenced in function "public: void __thiscall NiApplication::HidePointer(void)" (?HidePointer@NiApplication@@QAEXXZ)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__PostMessageA@16 referenced in function "public: void __thiscall NiApplication::QuitApplication(void)" (?QuitApplication@NiApplication@@QAEXXZ)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "public: static long __stdcall NiApplication::WinProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinProc@NiApplication@@SGJPAUHWND__@@IIJ@Z)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "public: static long __stdcall NiApplication::WinProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinProc@NiApplication@@SGJPAUHWND__@@IIJ@Z)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__MoveWindow@24 referenced in function "public: virtual bool __thiscall NiApplication::OnWindowResize(int,int,unsigned int,struct HWND__ *)" (?OnWindowResize@NiApplication@@UAE_NHHIPAUHWND__@@@Z)1>NiApplication.lib(NiAppWindow.obj) : error LNK2001: unresolved external symbol __imp__MoveWindow@241>NiApplication.lib(NiDX9Select.obj) : error LNK2001: unresolved external symbol __imp__MoveWindow@241>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__MoveWindow@241>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__GetWindowRect@8 referenced in function "public: virtual bool __thiscall NiApplication::OnWindowResize(int,int,unsigned int,struct HWND__ *)" (?OnWindowResize@NiApplication@@UAE_NHHIPAUHWND__@@@Z)1>NiApplication.lib(NiAppWindow.obj) : error LNK2001: unresolved external symbol __imp__GetWindowRect@81>NiApplication.lib(NiDX9Select.obj) : error LNK2001: unresolved external symbol __imp__GetWindowRect@81>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__GetWindowRect@81>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__GetClientRect@8 referenced in function "public: virtual bool __thiscall NiApplication::OnWindowResize(int,int,unsigned int,struct HWND__ *)" (?OnWindowResize@NiApplication@@UAE_NHHIPAUHWND__@@@Z)1>NiD3D10Renderer.lib(NiD3D10Renderer.obj) : error LNK2001: unresolved external symbol __imp__GetClientRect@81>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__SendMessageA@16 referenced in function "public: virtual bool __thiscall NiApplication::OnWindowResize(int,int,unsigned int,struct HWND__ *)" (?OnWindowResize@NiApplication@@UAE_NHHIPAUHWND__@@@Z)1>NiApplication.lib(NiAppWindow.obj) : error LNK2001: unresolved external symbol __imp__SendMessageA@161>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function "protected: virtual bool __thiscall NiApplication::Process(void)" (?Process@NiApplication@@MAE_NXZ)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function "protected: virtual bool __thiscall NiApplication::Process(void)" (?Process@NiApplication@@MAE_NXZ)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__TranslateAcceleratorA@12 referenced in function "protected: virtual bool __thiscall NiApplication::Process(void)" (?Process@NiApplication@@MAE_NXZ)1>NiApplication.lib(NiApplication_Win32.obj) : error LNK2019: unresolved external symbol __imp__PeekMessageA@20 referenced in function "protected: virtual bool __thiscall NiApplication::Process(void)" (?Process@NiApplication@@MAE_NXZ)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__IsWindow@4 referenced in function "public: __thiscall NiAppWindow::~NiAppWindow(void)" (??1NiAppWindow@@QAE@XZ)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__SetWindowTextA@8 referenced in function "public: void __thiscall NiAppWindow::SetWindowCaption(char *)" (?SetWindowCaption@NiAppWindow@@QAEXPAD@Z)1>NiApplication.lib(NiDX9Select.obj) : error LNK2001: unresolved external symbol __imp__SetWindowTextA@81>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__SetWindowTextA@81>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function "public: void __thiscall NiAppWindow::StatusWindowCreate(void)" (?StatusWindowCreate@NiAppWindow@@QAEXXZ)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__DestroyWindow@4 referenced in function "public: void __thiscall NiAppWindow::StatusWindowDestroy(void)" (?StatusWindowDestroy@NiAppWindow@@QAEXXZ)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function "public: virtual struct HWND__ * __thiscall NiAppWindow::CreateMainWindow(int,struct HWND__ *)" (?CreateMainWindow@NiAppWindow@@UAEPAUHWND__@@HPAU2@@Z)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function "public: virtual struct HWND__ * __thiscall NiAppWindow::CreateMainWindow(int,struct HWND__ *)" (?CreateMainWindow@NiAppWindow@@UAEPAUHWND__@@HPAU2@@Z)1>NiApplication.lib(NiAppWindow.obj) : error LNK2019: unresolved external symbol __imp__AdjustWindowRect@12 referenced in function "public: virtual struct HWND__ * __thiscall NiAppWindow::CreateMainWindow(int,struct HWND__ *)" (?CreateMainWindow@NiAppWindow@@UAEPAUHWND__@@HPAU2@@Z)1>NiApplication.lib(NiDX9Select.obj) : error LNK2019: unresolved external symbol __imp__SendDlgItemMessageA@20 referenced in function "protected: static void __cdecl NiDX9Select::EnumerateAdapters(struct HWND__ *)" (?EnumerateAdapters@NiDX9Select@@KAXPAUHWND__@@@Z)1>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__SendDlgItemMessageA@201>NiApplication.lib(NiDX9Select.obj) : error LNK2019: unresolved external symbol __imp__EndDialog@8 referenced in function "protected: static int __stdcall NiDX9Select::Callback(struct HWND__ *,unsigned int,unsigned int,long)" (?Callback@NiDX9Select@@KGHPAUHWND__@@IIJ@Z)1>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__EndDialog@81>NiApplication.lib(NiDX9Select.obj) : error LNK2019: unresolved external symbol __imp__CheckDlgButton@12 referenced in function "protected: static int __stdcall NiDX9Select::Callback(struct HWND__ *,unsigned int,unsigned int,long)" (?Callback@NiDX9Select@@KGHPAUHWND__@@IIJ@Z)1>NiApplication.lib(NiDX9Select.obj) : error LNK2019: unresolved external symbol __imp__DialogBoxIndirectParamA@20 referenced in function "protected: static enum NiDX9Select::ReturnVal __cdecl NiDX9Select::Select(struct HWND__ *,unsigned int,unsigned int,bool &,bool &,void const * &,void const * &,void const * &,unsigned int &)" (?Select@NiDX9Select@@KA?AW4ReturnVal@1@PAUHWND__@@IIAA_N1AAPBX22AAI@Z)1>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__DialogBoxIndirectParamA@201>NiApplication.lib(NiDX9Select.obj) : error LNK2019: unresolved external symbol __imp__GetWindowLongA@8 referenced in function "protected: static enum NiDX9Select::ReturnVal __cdecl NiDX9Select::Select(struct HWND__ *,unsigned int,unsigned int,bool &,bool &,void const * &,void const * &,void const * &,unsigned int &)" (?Select@NiDX9Select@@KA?AW4ReturnVal@1@PAUHWND__@@IIAA_N1AAPBX22AAI@Z)1>NiApplication.lib(NiD3D10Select.obj) : error LNK2001: unresolved external symbol __imp__GetWindowLongA@81>NiApplication.lib(NiAppMain.obj) : error LNK2019: unresolved external symbol __imp__RegisterClassA@4 referenced in function _WinMain@161>NiApplication.lib(NiAppMain.obj) : error LNK2019: unresolved external symbol __imp__GetStockObject@4 referenced in function _WinMain@161>NiApplication.lib(NiAppMain.obj) : error LNK2019: unresolved external symbol __imp__LoadCursorA@8 referenced in function _WinMain@161>NiApplication.lib(NiAppMain.obj) : error LNK2019: unresolved external symbol __imp__LoadIconA@8 referenced in function _WinMain@161>Debug\Tutorial01.exe : fatal error LNK1120: 29 unresolved externals1>Build log was saved at "file://c:\Program Files\Emergent\Gamebryo 2.3 Evaluation\Samples\Tutorials\01-Renderers\Win32\VC80\Debug\BuildLog.htm"1>Tutorial01 - 44 error(s), 0 warning(s)========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========BTW I am using Microsoft Visual Studio C++ 5 Express edition.What do i need to do?Can't seem to figure it out, can someone be kind and tell me what i need to do?[Edited by - roger88 on September 12, 2008 12:19:10 PM]
  Didn't you post this the other day?Those are simple linker errors. You didn't link to the proper libraries that include those functions.error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "protected: static unsigned int __cdecl NiMessageBox::DefaultMessageBox(char const *,char const *,void *)"That says that the linker can't find the MessageBox function. Go to MSDN and look that function up. It will tell you what libraries you have to link to.   ;  You posted this two days ago and got answers, why did you post the same thing again?   ;Quote:Original post by roger88EDIT: Sorry, but i can't find it in MSDN can u help me please?You always look up errors by their error code, not the whole line:error LNK2019: unresolved external symbol __imp__MessageBoxA@16 referenced in function "protected: static unsigned int __cdecl NiMessageBox::DefaultMessageBox(char const *,char const *,void *)"   