Menu

Error during NDK build

Help
nibol
2013-03-25
2013-05-14
  • nibol

    nibol - 2013-03-25

    Hello,

    I am having some trouble to build the Android project: the NDK build does not finish. Apparently, there is a file in which a variable may be used uninitialized (message received is

    crengine/android/jni/../../thirdparty/freetype/src/smooth/ftgrays.c:924:21: error: 'levels' may be used uninitialized in this function [-Werror=maybe-uninitialized]
    

    ).

    Does anyone else have had this problem too? Any thoughts on how to solve it?

    Thanks.

     
  • nibol

    nibol - 2013-03-26

    Hi, I can build it now: I erased -Werror from the line

    LOCAL_CFLAGS += $(CRFLAGS) $(CRENGINE_INCLUDES) -Wno-psabi -Wno-unused-variable -Wno-sign-compare -Wno-write-strings -Wno-main -Wno-unused-but-set-variable -Wno-unused-function -Werror -Wall
    
     

Log in to post a comment.