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

  • Home
  • SEARCH
  • 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 7014223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:29:37+00:00 2026-05-27T22:29:37+00:00

I have the latest android ndk installed. I am using Eclipse along with Sequoyah.

  • 0

I have the latest android ndk installed. I am using Eclipse along with Sequoyah.

I am trying to use various things that should be found in stlport or gnustl libraries, but I keep getting errors that they cannot be found.

In JNI/Application.mk I only have

APP_STL := stlport_shared

I have tried stlport_static and the gnustl_static/shared and all get the same result.

In my Android.mk I have

LIB_TEST_DIR := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_PATH := $(LIB_TEST_DIR)

LOCAL_MODULE := testmod

LOCAL_MODULE_FILENAME := libtestmod

LOCAL_CPP_EXTENSION := .cxx .cpp .cc

LOCAL_C_INCLUDES := $(LOCAL_PATH)/libtest2/

LOCAL_CFLAGS := -DHAVE_CONFIG_H

LOCAL_SRC_FILES := test.cc

include $(BUILD_SHARED_LIBRARY)

In a header file that test.cc includes, I have

#include <cassert>
#include <algorithm>
#include <iosfwd>

But, when I build, it cannot find any of these. Any idea what I am doing wrong?

When I do a clean, I see this:

Clean: addiJNI [armeabi]
Clean: stlport_shared [armeabi]
Clean: stlport_static [armeabi]

So, it seems like it knew I wanted stlport. Similar thing happens if I use the gnu libs instead. But when I build even the simplest example, I get something like…

jni/test.cpp:4:19: error: cassert: No such file or directory
jni/test.cpp:6:21: error: algorithm: No such file or directory
jni/test.cpp:7:18: error: iosfwd: No such file or directory
make: *** [obj/local/armeabi/objs/addiJNI/addiJNI.o] Error 1
  • 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-27T22:29:37+00:00Added an answer on May 27, 2026 at 10:29 pm

    This was the problem, not sure why.

    LOCAL_CPP_EXTENSION := .cxx .cpp .cc

    It didn’t like the .cxx at the beginning.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed the latest android sdk (android-sdk_r10-windows.zip), latest eclipse helios (eclipse-jee-helios-SR2-win32.zip) and latest
i have installed the latest iphone sdk 3.0 beta 5, and trying to submit
I have just installed that latest stable release of TortoiseSVN on Windows Server 2003
I have been trying to use the latest NAnt (0.86 Beta 1) for a
I'm trying to create an Android application in Eclipse using the Maven plugin and
my eclipse is 3.6,i have installed the latest sdk,but when i install the ADT
I have a table in my Android app that only should store the 50
I'm using the Android plugin for Eclipse on OSX, latest versions of everything. When
Today I installed the latest version of Eclipse, Android SDK and AVD plugin. But
I'm running Windows XP SP3 and I do have the latest .NET libraries installed,

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.