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

Help! LNK2019,unrevoled external symbol _esMain referenced in function _main. #30

Open
3AceShowHand opened this issue Nov 22, 2015 · 1 comment

Comments

@3AceShowHand
Copy link

I use powerVRSDK3.5 to set up my visual studio environment.
all the header files and libs are include .
I copy "esUtils.h" and "esUtils_win32.h" to the folder of Include .
all libs are set correctly ,"libEGL.lib","libGLESv2.lib","Common.lib" .
I set subSystem as console .
but here comes the problem as mentioned in the title.
and it shows that problem occurs in "esUtil_win32.obj".

please help me to solve this problem,Even google can not solve this problem.

@danginsburg
Copy link
Owner

You don't mention which example you are trying to build, but esMain is called from the main() defined in esUtil_win32.c. It sounds to me like you are trying to build without actually having one of the examples that define esMain(). Try building a simple example like Chapter_2/Hello_Triange. esMain is in Hello_Triangle.c

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

2 participants