[SOLVED] Problem Compiling
- fs
- Topic Author
Less
More
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
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: 5 years 5 months ago by fs.
Please Log in or Create an account to join the conversation.
- fs
- Topic Author
Less
More
Ok Recompiled ImGui and now links well.
Thanks
FS
Thanks
FS
Please Log in or Create an account to join the conversation.