Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7635017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:20:03+00:00 2026-05-31T07:20:03+00:00

I need an IDE that must: allow running the ~/android-ndk-r7/ndk-build script for compilation; intercept

  • 0

I need an IDE that must:

  1. allow running the ~/android-ndk-r7/ndk-build script for
    compilation;
  2. intercept the gcc output and show it to me;
  3. when I click on an error line, go to error location: open the mentioned file at the mentioned line.

I have a large existing C++ project and am porting it to Android/NDK.

(Neither Code::Blocks nor Eclipse do the 3rd. Maybe I am missing something?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T07:20:05+00:00Added an answer on May 31, 2026 at 7:20 am

    I configured Code::Blocks for Android NDK/JNI development, but there’s a trick.
    Codeblocks believes that it can know what compiler you use, and wants to stop you from using something it does not know. You have to trick it.

    1. Create an empty codeblocks project
    2. Add your source and header files (manually)
    3. Click the right mouse button on your project in the workspace (the left pane). You will see a menu: the two useful menu items
      (EDIT: First go to Properties and specify it’s a custom Makefile, then to Build options)
    4. Go to “Properties” and tell CB it has a custom Makefile. Do not tell it anything close to the truth about the platform: it will tell you that you don’t have the required compiler and will not even attempt to build something.
      custom makefile
    5. Finally, in the Build options, select the GNU GCC Compiler, go to the “Make commands”, and write your custom commands. (Personally I created a Makefile that invokes ndk-build — I prefer to keep scripts in the text files rather than in GUI dialogs. The item that you might want to change is -j 4)build options

    And one final note: if your configuration does not work, you get no meaningful diagnostics.

    PS Here’s my Makefile:

    all:
        @echo '====all===='
        pwd;~/android-ndk-r7/ndk-build -j 4
    clean:
        @echo '====clean===='
        pwd;~/android-ndk-r7/ndk-build clean
    
    .PHONY: clean
    .PHONY: all
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In selenium IDE, I need to click on the nth link that has text
I need an IDE that can do the following: Run on an oldish laptop
I need to move to a serious Ruby (on Rails) IDE now that Netbeans
I am beginning CakePHP, but I need IDE for detect method of class that
I have 2 weeks to finish my final year project.I need a GUI IDE
How does one start development in Silverlight? Does one need a new IDE? or
I need any tool or IDE environment to debug and test the vb scripts
i am writing an ide using qt (on c++) and i need to add
I am using Netbeans IDE for a java project. In this project i need
I have a project in my IDE. I need to make a shared library

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.