Have you built stlport's libraries? I built just static library(.a). make all is set just for all_static. there is no macro for dynamic libraries. When i try to make all_dynamic there is an error like "undefined reference to _winmain@16".