I knew about cocos2d-x about two weeks ago and started. So far, I haven't got anything running yet. I saw HelloWorld only one day.
I've been struggling with issue for a week now. I really want to start my project so if anyone knows or has idea how to resolve this problem. Please share.
before I begin, my OS is Win7
and I use Eclipse
I fixed the problem from build_native.py where print "something" should be in () so I edited them to be print ("something")
and there was seperator problem at line number 140
so i indenteded them well. So build_native.py is works (but still gives an error about glfw3.h)
I fixed indentation of Android.mk with variable LOCAL_SRC_FILES where the indentation is not in TABS but 8 spaces. After I did this, build_native.py started to compile
Above took me about 5 days. So don't want to waste my time this time. Please super developers help me OUT!! please:::
build_native.py gave me an following error:
cocos2d-x-3.0beta2\projects\MyGame\proj.android../cocos2d\cocos\2d\platform\desktop\CCEGLView.h:31:19: fatal error: glfw3.h: No such file or directory
So I searched where glfw3.h is. it was in \external\glfw3\include\win32(and mac). So I opened CCEGLView.h and replaced glfw3.h with "blah\win32\glfw.h"
it didn't give me missing glfw3.h error but gave me this:
win32\glfw3.h:162:23: fatal error: GL/gl.h: No such file or directory
I searched where gl.h is but I couldn't find it under cocos2d-x-3.0beta2 but there was GL folder at about 7 locations.
I couldn't do anything by myself from this point. So i'm asking you for a help.
I don't know what's happening. All I wanted to see is HelloWorld with ailen-looking-coco smiling at me (may be not smiling). I attached screenshots that might be helpful if you have a look at it
glfw3.h is missing from CCEGLView.h
screenshots.egg.zip (314.2 KB)