|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
|
Опции темы | Поиск в этой теме |
04.02.2011, 08:09 | #1 |
Регистрация: 04.02.2011
Сообщений: 7
|
Ошибка в коде С++
Код:
З.Ы. не нашел на форуме что-то типа спойлера, поэтому сообщение получилось страшное. З.Ы.2 пришлось отправить комментарием ошибку |
04.02.2011, 08:09 | #2 |
Регистрация: 04.02.2011
Сообщений: 7
|
Ошибка:
1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::Enter(void)" (?Enter@hgeGUI@@QAEXXZ) referenced in function "bool __cdecl FrameFunc(void)" (?FrameFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::SetFocus(int)" (?SetFocus@hgeGUI@@QAEXH@Z) referenced in function "bool __cdecl FrameFunc(void)" (?FrameFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: int __thiscall hgeGUI::Update(float)" (?Update@hgeGUI@@QAEHM@Z) referenced in function "bool __cdecl FrameFunc(void)" (?FrameFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::Leave(void)" (?Leave@hgeGUI@@QAEXXZ) referenced in function "bool __cdecl FrameFunc(void)" (?FrameFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __cdecl hgeFont::printf(float,float,int,cha r const *,...)" (?printf@hgeFont@@QAAXMMHPBDZZ) referenced in function "bool __cdecl RenderFunc(void)" (?RenderFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeFont::SetColor(unsigned long)" (?SetColor@hgeFont@@QAEXK@Z) referenced in function "bool __cdecl RenderFunc(void)" (?RenderFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::Render(void)" (?Render@hgeGUI@@QAEXXZ) referenced in function "bool __cdecl RenderFunc(void)" (?RenderFunc@@YA_NXZ) 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::SetCursor(class hgeSprite *)" (?SetCursor@hgeGUI@@QAEXPAVhgeSprit e@@@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::SetNavMode(int)" (?SetNavMode@hgeGUI@@QAEXH@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: void __thiscall hgeGUI::AddCtrl(class hgeGUIObject *)" (?AddCtrl@hgeGUI@@QAEXPAVhgeGUIObje ct@@@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeGUIMenuItem::hgeGUIMenuItem(int, class hgeFont *,unsigned long,float,float,float,char *)" (??0hgeGUIMenuItem@@QAE@HPAVhgeFont @@KMMMPAD@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeGUI::hgeGUI(void)" (??0hgeGUI@@QAE@XZ) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeSprite::hgeSprite(unsigned long,float,float,float,float)" (??0hgeSprite@@QAE@KMMMM@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeFont::hgeFont(char const *,bool)" (??0hgeFont@@QAE@PBD_N@Z) referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol _hgeCreate@4 referenced in function _WinMain@16 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeGUI::~hgeGUI(void)" (??1hgeGUI@@QAE@XZ) referenced in function "public: void * __thiscall hgeGUI::`scalar deleting destructor'(unsigned int)" (??_GhgeGUI@@QAEPAXI@Z) 1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeFont::~hgeFont(void)" (??1hgeFont@@QAE@XZ) referenced in function "public: void * __thiscall hgeFont::`scalar deleting destructor'(unsigned int)" (??_GhgeFont@@QAEPAXI@Z) 1>menu.obj : error LNK2001: unresolved external symbol "protected: static class HGE * hgeSprite::hge" (?hge@hgeSprite@@1PAVHGE@@A) |
04.02.2011, 10:30 | #3 |
Старожил
Регистрация: 15.02.2010
Сообщений: 15,760
|
либы HGE не подключили
|
04.02.2011, 15:13 | #4 |
Регистрация: 04.02.2011
Сообщений: 7
|
новая ошибка - не хватает libc.lib
где её можно скачать? заметил, что много либ и .х не хватает в моем визуал с++, урезанная она какая-то ----с 2003 взял, уже не надо, спасибо Последний раз редактировалось Ирискин; 04.02.2011 в 15:15. |
04.02.2011, 15:17 | #5 |
Регистрация: 04.02.2011
Сообщений: 7
|
1>LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>menu.obj : error LNK2019: unresolved external symbol "public: __thiscall hgeGUIMenuItem::hgeGUIMenuItem(int, class hgeFont *,unsigned long,float,float,float,char *)" (??0hgeGUIMenuItem@@QAE@HPAVhgeFont @@KMMMPAD@Z) referenced in function _WinMain@16 1>C:\Users\Администратор\Documents\ Visual Studio 2008\Projects\game\Debug\game.exe : fatal error LNK1120: 1 unresolved externals 1>Build log was saved at "file://c:\Users\Администратор\Documents\Vi sual Studio 2008\Projects\game\game\Debug\Build Log.htm" ап! помогите ) up up up up -_- Последний раз редактировалось Stilet; 08.02.2011 в 08:14. |
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Ошибка в коде | xaero93 | Помощь студентам | 1 | 30.01.2011 15:08 |
ошибка в коде c# | Roegis | Помощь студентам | 6 | 14.01.2011 13:00 |
Ошибка в коде, ошибка в css или это проблема с совместимостью с браузерами? | ankris | HTML и CSS | 5 | 23.11.2010 16:58 |
Ошибка в коде с++ | Айдар | Помощь студентам | 1 | 14.04.2010 23:15 |
Ошибка в коде | hacknet | Компоненты Delphi | 12 | 07.12.2008 14:23 |