The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

williamsma (2) [Avatar] Offline
#1
I am trying to run the ch15_basic_interop example, but coming up with multiple unresolved link errors. I felt like I placed glew32.dll and glew32.dll plut the glew64.dll and glew64.lib files just about everywhere, but still come up with these unresolved external errors:
[ Any help is appreciated ]

1>basic_interop.obj : error LNK2019: unresolved external symbol _wglGetCurrentDC referenced in function _init_cl
1>basic_interop.obj : error LNK2019: unresolved external symbol _wglGetCurrentContext referenced in function _init_cl
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewGetShaderInfoLog
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewGetShaderiv
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewCompileShader
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewUseProgram
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewLinkProgram
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewAttachShader
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewBindAttribLocation
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewCreateProgram
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewShaderSource
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewCreateShader
1>basic_interop.obj : error LNK2019: unresolved external symbol __imp__glewInit referenced in function _init_gl
1>basic_interop.obj : error LNK2019: unresolved external symbol __imp____glutInitWithExit@12 referenced in function _glutInit_ATEXIT_HACK@8
1>basic_interop.obj : error LNK2019: unresolved external symbol __imp____glutCreateWindowWithExit@8 referenced in function _glutCreateWindow_ATEXIT_HACK@4
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewEnableVertexAttribArray
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewVertexAttribPointer
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewBufferData
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewBindBuffer
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewGenBuffers
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewBindVertexArray
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewGenVertexArrays
1>basic_interop.obj : error LNK2001: unresolved external symbol __imp____glewDeleteBuffers
1>Ch15_basic_interop.exe : fatal error LNK1120: 23 unresolved externals
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.18
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========