1>supportcode.error LNK2019: unresolved external symbol

Post Reply
Dawei Jiang
Posts: 7
Joined: Tue Oct 23, 2012 9:46 am
Location: Illinois

1>supportcode.error LNK2019: unresolved external symbol

Post by Dawei Jiang »

error code:
1>supportcode.obj : error LNK2019: unresolved external symbol __imp__glOrtho@48 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>supportcode.obj : error LNK2019: unresolved external symbol __imp__glLoadIdentity@0 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>supportcode.obj : error LNK2019: unresolved external symbol __imp__glMatrixMode@4 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>supportcode.obj : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function "void __cdecl ReSizeGLScene(int,int)" (?ReSizeGLScene@@YAXHH@Z)
1>supportcode.obj : error LNK2019: unresolved external symbol __imp__glHint@8 referenced in function "int __cdecl InitGL(void)" (?InitGL@@YAHXZ)
```````
When I try to build my own imageviewer program according to example MJPEGViewer, I got these error codes. I had add the CameraSDK\include and lib. What should I do to solve this? Thanks for your help!
jolsonsalem
Posts: 323
Joined: Thu Oct 11, 2012 9:18 am

Re: 1>supportcode.error LNK2019: unresolved external symbol

Post by jolsonsalem »

It is not finding the OpenGL libraries, you will have to add those as well.
Dawei Jiang
Posts: 7
Joined: Tue Oct 23, 2012 9:46 am
Location: Illinois

Re: 1>supportcode.error LNK2019: unresolved external symbol

Post by Dawei Jiang »

Thanks for your reply. But where are the OpenGL Libraries? I can't find them in the camera SDK folder.
Post Reply