Forums - Android NDK build with llvm 3.5

2 posts / 0 new
Last post
Android NDK build with llvm 3.5
nsonje
Join Date: 7 Apr 14
Posts: 1
Posted: Tue, 2014-08-26 01:09

I am building a .so file from a .cpp file for an android project.

I am using eclipse to build using NDK.

I have downloaded llvm 3.5 and put it in toolchains folder in ANDROID NDK folder.

When I set NDK_TOOLCHAIN_VERSION =  4.8

The .cpp file gets compiled successfully for APP_ABI = armeabi-v7a

But when I set the NDK_TOOLCHAIN_VERSION = snapdragonclang3.5

It does not compile and following error is there :

[armeabi-v7a] Compile++ thumb: eyeFilterModule <= eyeFilterFile.cpp
make.exe: *** [obj/local/armeabi-v7a/objs/eyeFilterModule/eyeFilterFile.o] Error -1073741515

 

 

  • Up0
  • Down0
Raja Moderator
Join Date: 17 Apr 13
Posts: 42
Posted: Wed, 2014-08-27 18:32

Can you kindly specify the Android NDK version you are using. Also, kindly include the full compile command line and the error message to help me diagnose the issue? (you can use ndk-build V=1 to get the command line options)

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.