[SOLVED] Problem Compiling

More
4 years 1 month ago - 4 years 1 month ago #1 by fs Problem Compiling was created by fs
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 years 1 month ago by fs.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #2 by fs Replied by fs on topic Problem Compiling
Ok Recompiled ImGui and now links well.
Thanks
FS

Please Log in or Create an account to join the conversation.

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.