0
votes

Environment : Visual Studio 2019.

I'm developing an Engine as a SharedLib (DLL) and I made an example that uses this DLL so I can launch my Engine. at this stage I have to add GLFW library to my engine, so I added GLFW as a submodule (git) to my project and built this library as a StaticLib (.lib) with static runtime sets to "On". and added GLFW as a reference in my engine as in the second picture below. the build of GLFW goes very well and I get GLFW.lib. so I added some functions of GLFW to my engine code like glfwMakeContextCurrent() at this point when I build the Engine I get weird linking errors for many functions except glfwInit().

here is a picture of an example of one of my linking errors: enter image description here

the project view:

enter image description here

Note: opengl32.lib already added to the engine in the Input in the Linker.

Please if you have any thoughts, I would appreciate it if you can share them