Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beginner here! Help with linker issues for example from opengles3-book Chapter 2 - Hello_Triangle #52

Open
nikhilbagul opened this issue May 24, 2018 · 0 comments

Comments

@nikhilbagul
Copy link

Hey guys, I am very new to OpenGL development. I am learning to develop Open GL ES 3 apps following your book. Here is current environment spec:

Emulator: Mali_OpenGL_ES_Emulator-v3.0.2.g694a9-Windows-64bit
IDE: Visual Studio 2015 Win64
Cmake version: 3.11.2
OS: Windows 10

I am referring the Chapter 16 for building it on Windows and for Visual Studio
After a lot of beating my head around and digging, I managed to bring down the number of Linker issues that I was getting. Currently I am stuck on 2 linker issues that I unable to resolved or get any help.

image

Error LNK1120 2 unresolved externals Hello_Triangle C:\Users\nikhil.bagul\Documents\OpenGLES\Projects\opengles3-book\Chapter_2\Hello_Triangle\VisualStudioSolution64\Release\Hello_Triangle.exe 1

Error LNK2019 unresolved external symbol main referenced in function "int __cdecl __scrt_common_main_seh(void)" (?__scrt_common_main_seh@@yahxz) Hello_Triangle C:\Users\nikhil.bagul\Documents\OpenGLES\Projects\opengles3-book\Chapter_2\Hello_Triangle\VisualStudioSolution64\MSVCRT.lib(exe_main.obj) 1

Error LNK2019 unresolved external symbol WinCreate referenced in function esCreateWindow Hello_Triangle C:\Users\nikhil.bagul\Documents\OpenGLES\Projects\opengles3-book\Chapter_2\Hello_Triangle\VisualStudioSolution64\esUtil.obj 1

Any help is much appreciated.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant