Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Linker Errors on Android

$
0
0
Hi wangqiang,

It looks like the source file, pplx/pplxlinux.cpp, containing the function definitions is accidentally not being included on Android. Can you edit the CMakeLists.txt file at line 42 to also include pplx/pplxlinux.cpp. It should look like the following:
  elseif(ANDROID)
    set(SOURCES ${SOURCES} pplx/pplxlinux.cpp)
    set(SOURCES ${SOURCES} http/client/x509_cert_utilities_android.cpp)
  else()
    set(SOURCES ${SOURCES} pplx/pplxlinux.cpp)
  endif()
Does it work then?
Thanks,
Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>