Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_gl3wProc Unresolved External #1956

Closed
ThisIs0xBC opened this issue Jul 20, 2018 · 1 comment
Closed

_gl3wProc Unresolved External #1956

ThisIs0xBC opened this issue Jul 20, 2018 · 1 comment

Comments

@ThisIs0xBC
Copy link

Version/Branch of Dear ImGui:

dear imgui, v1.63 WIP

Back-end file/Renderer/OS: (if the question is related to inputs/rendering/build, otherwise delete this section)

Windows 10, 64bit.

My Issue/Question: (please provide context)

Standalone, minimal, complete and verifiable example: (see CONTRIBUTING.md)
When compiling my DLL (which currently doesn't even do anything I have just included the files) I get a LNK1120 Error for unresolved external of _gl3wProcs. I have included imconfig.h, imgui.h, imgui_impl_opengl3.h, imgui_impl_win32.h, imgui_internal.h, stb_rect_pack.h, stb_textedit.h and stb_truetype.h included in my project. I am also using imgui.cpp, imgui_draw.cpp and imgui_impl_opengl3.cpp.

Compiler Output.

1>------ Build started: Project: Testing ImGUI, Configuration: Release Win32 ------
1>dllmain.cpp
1>imgui_impl_opengl3.cpp
1>imgui_impl_opengl3.obj : error LNK2001: unresolved external symbol _gl3wProcs
1>C:\Users\Bens PC\Desktop\Coding\Visual Studio\C++\AssaultCube\Learning ImGUI\Testing ImGUI\Release\Testing ImGUI.dll : fatal error LNK1120: 1 unresolved externals
1>Done building project "Testing ImGUI.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Screenshots/Video (you can drag files here)

devenv_2018-07-20_20-54-02
explorer_2018-07-20_20-55-26

@ocornut
Copy link
Owner

ocornut commented Jul 20, 2018

You need to link with gl3w.c if you use it in the default opengl3 bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants