# Compile libcurl 7.37.0 with Android 4.4 or other versions

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.

# ImagePicker for cocos2d-x v3

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.

Android iOS

# Visual Studio 2012编译Unreal 4

ps: 其实这个纯粹是我蛋疼才这么干的，还是升级VS比较方便…

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:

# Pomelo中利用Wind.js封装异步

### Wind.js是什么？

@老赵 写的一个js库 本质是用eval函数实现的~我们写看起来是同步的顺序流程代码，但是实质异步执行