Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Can't link libraries with visual studio's tool chain
Can't link libraries with visual studio's tool chain [message #1776740] Tue, 21 November 2017 03:38
mingheng wang is currently offline mingheng wangFriend
Messages: 1
Registered: November 2017
Junior Member
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?
Previous Topic:Eclipse will not start
Next Topic:associating nature to a remote system project
Goto Forum:
  


Current Time: Fri Dec 15 00:42:28 GMT 2017

Powered by FUDForum. Page generated in 0.01489 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software