Closed luoxiali closed 1 year ago
@luoxiali can you share the steps for dealing with this issue,:-)
@Myzhencai i have a little bit short memory。but if you can try this it may be work: 1.change the cmakeconfig file in folder path:C:\Program Files (x86)\GLFW\lib\cmake\glfw (perhaps any other path you install the glfw,mine is here by defualt) 2.replace the follow lines set_and_check(GLFW3_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include") set_and_check(GLFW3_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/lib") to set_and_check(GLFW3_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/../../../include") set_and_check(GLFW3_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/../../../lib") 3.in addition, CMAKE SETTING, SET THE glfw3_DIR:C:/Program Files (x86)/GLFW/lib/cmake/glfw that's my glfw's setting of this problem.
emm,i encounter this problem when i build icg solution. then i already installed glfw3.1.2 in path:c:/program Filles(x86)/GLFW , and i just find the glfw3.lib in subfolder(/lib) of the folder:![image](https://user-images.githubusercontent.com/26451909/206175195-7290d350-6c70-445d-94fa-f1e5dc1cfce4.png)
i search on net,and i only find glfw3.lib,and nowhere about glfw.lib,so i am dejected of this problem,I would appreciate it if someone konw it?
in addtion,i rename the glfw.lib to glfw3.lib in the attach dependece place in visual studio, and it can't work yet, i got many LNK2019 errors.