Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] Problem Compiling

Problem Compiling 4 weeks 1 day ago #1

  • fs
  • fs's Avatar
  • Offline
Hi All
I managed to set the sources in VS2017, I have set the gl3w .c and .h files. Compiled all sources but I am having some linker errors:

Severity Code Description Project File Line Suppression State
Error LNK1120 41 unresolved externals ReShade C:\Users\feder\Desktop\reshade-master\bin\Win32\Debug App\ReShade32.exe 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::BeginMenuBar(void)" (?BeginMenuBar@ImGui@@YA_NXZ) referenced in function "private: void __thiscall reshade::runtime::draw_overlay_menu(void)" (?draw_overlay_menu@runtime@reshade@@AAEXXZ) ReShade C:\Users\feder\Desktop\reshade-master\gui.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Button(char const *,struct ImVec2 const &)" (?Button@ImGui@@YA_NPBDABUImVec2@@@Z) ReShade C:\Users\feder\Desktop\reshade-master\ImGui.lib(imgui.obj) 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::Button(char const *,struct ImVec2 const &)" (?Button@ImGui@@YA_NPBDABUImVec2@@@Z) referenced in function "private: void __thiscall reshade::runtime::draw_overlay_menu_home(void)" (?draw_overlay_menu_home@runtime@reshade@@AAEXXZ) ReShade C:\Users\feder\Desktop\reshade-master\gui.obj 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::ButtonBehavior(struct ImRect const &,unsigned int,bool *,bool *,int)" (?ButtonBehavior@ImGui@@YA_NABUImRect@@IPA_N1H@Z) referenced in function "void __cdecl ImGui::EndColumns(void)" (?EndColumns@ImGui@@YAXXZ) ReShade C:\Users\feder\Desktop\reshade-master\ImGui.lib(imgui.obj) 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::ButtonEx(char const *,struct ImVec2 const &,int)" (?ButtonEx@ImGui@@YA_NPBDABUImVec2@@H@Z) referenced in function "private: void __thiscall reshade::runtime::draw_overlay_menu_home(void)" (?draw_overlay_menu_home@runtime@reshade@@AAEXXZ) ReShade C:\Users\feder\Desktop\reshade-master\gui.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Checkbox(char const *,bool *)" (?Checkbox@ImGui@@YA_NPBDPA_N@Z) ReShade C:\Users\feder\Desktop\reshade-master\ImGui.lib(imgui.obj) 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Checkbox(char const *,bool *)" (?Checkbox@ImGui@@YA_NPBDPA_N@Z) ReShade C:\Users\feder\Desktop\reshade-master\d3d10_runtime.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Checkbox(char const *,bool *)" (?Checkbox@ImGui@@YA_NPBDPA_N@Z) ReShade C:\Users\feder\Desktop\reshade-master\d3d11_runtime.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Checkbox(char const *,bool *)" (?Checkbox@ImGui@@YA_NPBDPA_N@Z) ReShade C:\Users\feder\Desktop\reshade-master\d3d9_runtime.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::Checkbox(char const *,bool *)" (?Checkbox@ImGui@@YA_NPBDPA_N@Z) ReShade C:\Users\feder\Desktop\reshade-master\gui.obj 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::CloseButton(unsigned int,struct ImVec2 const &,float)" (?CloseButton@ImGui@@YA_NIABUImVec2@@M@Z) referenced in function "bool __cdecl ImGui::Begin(char const *,bool *,int)" (?Begin@ImGui@@YA_NPBDPA_NH@Z) ReShade C:\Users\feder\Desktop\reshade-master\ImGui.lib(imgui.obj) 1
Error LNK2019 unresolved external symbol "bool __cdecl ImGui::CollapseButton(unsigned int,struct ImVec2 const &)" (?CollapseButton@ImGui@@YA_NIABUImVec2@@@Z) referenced in function "bool __cdecl ImGui::Begin(char const *,bool *,int)" (?Begin@ImGui@@YA_NPBDPA_NH@Z) ReShade C:\Users\feder\Desktop\reshade-master\ImGui.lib(imgui.obj) 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::CollapsingHeader(char const *,int)" (?CollapsingHeader@ImGui@@YA_NPBDH@Z) ReShade C:\Users\feder\Desktop\reshade-master\d3d11_runtime.obj 1
Error LNK2001 unresolved external symbol "bool __cdecl ImGui::CollapsingHeader(char const *,int)" (?CollapsingHeader@ImGui@@YA_NPBDH@Z) ReShade C:\Users\feder\Desktop\reshade-master\d3d9_runtime.obj 1

There are much more. What could be wrong here?

Thanks,

FS
Last Edit: 4 weeks 1 day ago by fs.
The administrator has disabled public write access.

Problem Compiling 3 weeks 6 days ago #2

  • fs
  • fs's Avatar
  • Offline
Ok Recompiled ImGui and now links well.
Thanks
FS
The administrator has disabled public write access.