Results 1 to 15 of 15

Thread: Error while trying to build android app. #error Bionic header ctype.h...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #12
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Error while trying to build android app. #error Bionic header ctype.h...

    Are you able to build, deploy, and run a simple "Hello world!" program that uses iostream for Android using your build environment?

    Your pro file does indeed include a bunch of folders for your native environment: all includes and libraries should be coming from the NDK. It also contains what looks like the wrong name for the freesteam library. Try this cut down version
    Qt Code:
    1. TEMPLATE = app
    2. QT += qml quick
    3. SOURCES += main.cpp \
    4. mysteamclass.cpp
    5. RESOURCES += qml.qrc
    6. # Additional import path used to resolve QML modules in Qt Creator's code model
    7. QML_IMPORT_PATH =
    8. # Default rules for deployment.
    9. include(deployment.pri)
    10. HEADERS += \
    11. mysteamclass.h
    12. #--------------------------------ME= C++11 AND LIBRARIES-----------------#
    13.  
    14. CONFIG+=c++11
    15. LIBS += -lgsl
    16. LIBS += -lfreesteam
    17. LIBS += -lgslcblas
    To copy to clipboard, switch view to plain text mode 

    I am assuming the the three libs have been built with the cross-compiler and installed in the NDK default library path.

  2. The following user says thank you to ChrisW67 for this useful post:

    hackree (1st August 2015)

Similar Threads

  1. qt for android 5.5 some error
    By xiaoxiangyu in forum Qt Programming
    Replies: 3
    Last Post: 15th July 2015, 22:15
  2. Android: Error while building/deploying project
    By JeanC in forum Installation and Deployment
    Replies: 1
    Last Post: 21st June 2015, 21:18
  3. Building error qt android
    By dmcyster@gmail.com in forum Newbie
    Replies: 1
    Last Post: 8th May 2015, 15:55
  4. Qt 5.1 for Android error
    By Baso in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 27th July 2013, 10:47
  5. qt5.1 create a android test app met a error
    By tsuibin in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 25th July 2013, 07:40

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.