|Can't link libraries with visual studio's tool chain [message #1776740]
||Tue, 21 November 2017 03:38
| mingheng wang
Registered: November 2017
I set up eclipse to use visual studio 2015 community as compiler. I've got include and eclipse indexer working. But for the library part, I tried putting opengl32.lib, glew32.lib and glfw3dll.lib into project->proprieties->c/c++ general->paths and symbols under libraries tab, using absolute path/relative path/in source path, I still keep getting: |
11:24:15 **** Incremental Build of configuration Debug for project gl13 ****
Info: Internal Builder is used for build
link /DLL /nologo /OUT:gl13.exe OGContext.obj main.obj "C:\\Users\\Administrator\\eclipse-workspace\\gl13\\glew32.lib" "C:\\Users\\Administrator\\eclipse-workspace\\gl13\\glfw3dll.lib" "C:\\Users\\Administrator\\eclipse-workspace\\gl13\\OpenGL32.Lib"
main.obj : error LNK2019: unresolved external symbol _glfwInit referenced in function _main
gl13.exe : fatal error LNK1120: 1 unresolved externals
While at cmd using cl main.cpp opengl32.lib glfw3dll.lib glew32.lib compiles fine.
Can anyone please help me with this issue?
Powered by FUDForum
. Page generated in 0.01993 seconds