** This is depecrated since pomelo is only supporting libpomelo2 with various bindings. I’ve removed the github repo and you may find the archive here(Download).**
Recently I need compile libcurl for different platforms, since cocos-2dx 3.0 ships with libcurl 7.26.0 and there are several fixes in newer versions according to changelog. There are several blogs describing how to build libcurl with android source, such as porting-of-libcurl-to-android-os-using, How_to_compile_libcurl and Android ndk下编译libcurl. However, they are all out dated, especially android source has changed a lot!
After struggling a whole weekend, I finally compiled libcurl 7.37.0 with android 4.4 source. The steps described in
packages/Android/Android.mk skip many details. I’ll explain every steps and hope you can make it. If you use the similar version, you could just copy & paste mine.
This extension plugin is able to load images from system photo library. Native calls for Android, iOS(iPhone+iPad) & Win32. More details can be found here ImagePicker.
NOTE: please check the example files first before using! I’ve tested code with v3.5 and v3.10, and it should always work if the cocos2d::Texture2d related API doesn’t break…
ps. I made a Pull Request to cocos before and it seems they don’t need it. So I just put it here seperately.
最近尝试了一下在Visual Studio 2012中编译Unreal 4，记录一下其中踩的坑~
I was blocked by word ladder II in last two days.
I solve this problem with BFS building search graph + DFS build paths. However I tried my best optimizing but got Time Limit Exceeded (I’ve tried three ways of building path”. After profiling, it seems in the building path part, copying ArrayList consumes too much time.
I encountered a very strange problem these days: can’t link glew in C++ code. I’ve tried this code but failed, my post in SO: