![]() ![]() $(call import-add-path,$(LOCAL_PATH)/…/…/cocos2d/external) So now as it seems … the build succeeds but when it runs it can’t render?īy the way in Troubleshooting the Visual Studio Emulator for Android there is something mentioned about Emulator fails to render OpenGL content but nothing on how to fix it? I don’t know why am getting these rendring related errors? ![]() \.\cocos2d\cocos\renderer\CCTexture2D.cpp initWithMipmaps 663ĮGL_emulation: eglSurfaceAttrib not implemented \.\cocos2d\cocos\renderer\CCTexture2D.cpp initWithMipmaps 663Ĭocos2d-x debug info: OpenGL error 0x0501 in. I too got chipmunk2d errors when i compile cocos2d-x 3.12 proj.visualstudio and with x86 as the active platform but when fixed them manually like in 3.13.1 it didn’t work because there were other errors that i couldn’t fix so i guess every one should stay of cocos2d-x 3.12 proj.visualstudio as obviously there is something wrong with it.Īfter looking at the emulator logcat when the app is launched i see this: cocos2d-x debug info: OpenGL error 0x0502 in. To be honest it didn’t compile successfully right from the start … i had to first get rid of some chipmunk2d errors that i got after compiling the project by manually removing the “chipmunk/” part from all the chipmunk2d errors and am sure there is better way of doing this but for now it worked fine and the build succeed. Unfortunately CocosVisualStudio has stopped. Unable to start debugging the package 'com.CocosVisualStudio' did not start on emulator or device.Īnd if i go to the app tray in the emulator i can see the cocos2d app installed in there but if i run it the device stops responding and the screen goes black for a couple of seconds and then a message: ![]() ![]() I’m getting closer to success … now am able to get a successful X86 build but only after updating cocos2d-x version to 3.13.1 and downloading its corresponding visual studio android project from the post mentioned before … but now even after the build succeeds there is a new problem when the build finishes and the x86 emulator starts up then an error message pops up: I managed to get a successful ARM build after downgrading the ndk to r11c and keeping debug|arm as the active config but even after the build succeeds there is no devices to deploy to so now am back to the problem of no devices. hyper v has to be enabled or else the option wont show up in the installation menuĪnd under common tools and software devlopement kits i installed the following packages: android sdk Īndroid sdk setup (api 19 and 21) Īs for ANT, NDK, JDK i have them downloaded manualy along time agoĪfter that i opened Tools->Options->Cross Platform->Android to specify the ANT, NDK, JDK paths:Īnd then i choose an api-19 complaint device witch i downloded before and hit run then i get this compiler errors … wired chipmunk errors Error Unable to open file C:\Users\Joseph\Documents\TestGame\proj.visualstudio\x86\Debug\libcocos2dcpp.so.recipe because 2Ĝocos2dĜ:\Program Files (x86)\MSBuild\Microsoft\MDD\Android\V140\Ē31Įrror 'chipmunk/chipmunk_private.h' file not foundĜocos2dcppĜ:\Users\Joseph\Documents\TestGame\cocos2d\cocos\physics\CCPhysicsBody.cppē1Įrror 'chipmunk/chipmunk_private.h' file not foundĜocos2dcppĜ:\Users\Joseph\Documents\TestGame\cocos2d\cocos\physics\CCPhysicsWorld.cppē0Įrror 'chipmunk/chipmunk.h' file not foundĜocos2dcppĜ:\Users\Joseph\Documents\TestGame\cocos2d\cocos\physics\CCPhysicsJoint.cppĒ7Įrror 'chipmunk/chipmunk.h' file not foundĜocos2dcppĜ:\Users\Joseph\Documents\TestGame\cocos2d\cocos\physics\CCPhysicsShape.cppē1Įrror 'chipmunk/chipmunk.h' file not foundĜocos2dcppĜ:\Users\Joseph\Documents\TestGame\cocos2d\cocos\physics\CCPhysicsContact.cppĒ6Įrror %lu", _func_, result) Ĝocos2dcppĜ:\Users\Joseph\Documents\TestGame\proj.visualstudio\Cocos2dcpp\CLANGCOMPILEđ Microsoft visual studio emulater for android (july 2016). Under visual c++ mobile devlopement tab i installed the folwing packages : visual c++ android devlopement (update 3) So i modified my current visual studio installation and insalled these new packages I don’t know if i’m right or wrong but this is what i did:įirst i knew that my current visual studio installation isn’t setup to run android projects am using visual studio 2015 update 3 with: Does anyone know how to run the proj.visualstudio for cocos2d-x 3.12 in visual studio 2015 … i the downloaded project from Here. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |