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 8571557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T18:48:29+00:00 2026-06-11T18:48:29+00:00

first of all, i got into a problem last time when trying to compile

  • 0

first of all, i got into a problem last time when trying to compile a c program to linux- arm architecture, for using it in an android app later. I succeeded in doing so, and i’ll write later a post on how to use the NDK standalone toolchain.

Now that i’ve finally got that working, I’m trying to compile a .c file, which has a line “include bluetooth/bluetooth.h” in it. When I try to compile the file, i get a: “no such file or directory” error on it. My makefile includes the word “-libbluetooth”.
The standart NDK gcc library does’nt have a bluetooth support, so i’ve downloaded “libbluetooth.so” from my device, which is what i needed to make it work, according to the brief research on the subject over the internet. I still get the same error.

I’ll be glad to know if anyone has encountered the same problem.
thank u
Dekel

  • 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-06-11T18:48:30+00:00Added an answer on June 11, 2026 at 6:48 pm

    You need the bluetooth library to link your program; but to compile it, you need the appropriate headers. libbluetooth.so is not part of Android official API, but luckily you can find it sources and the include files that declare its public (but unofficial) API, if you download the AOSP source tree, according to Google’s instructions. Actually, you are interested in a small part of the tree: ./external/bluetooth/bluez/lib. There you will find the bluetooth/bluetooth.h include file. In your Android.mk, you will have a line similar to:

    LOCAL_C_INCLUDES += $(AOSP_ROOT)/external/bluetooth/bluez/lib
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a weird problem with udp sockets. First of all, let me provide
I'm Trying to optimize my code, and I got into a problem I don't
I'm new to PHP first of all .. My question is once I got
First of all, I'm quite new to the Android and JAVA world (coming from
I recently ran into a problem caused by using fstream::eof(). I read the following
Simple question that i've always pondered about. When I first got into opengl I
First of all, I'm not sure if this is a problem with ILMerge or
In trying to implement the repository pattern I've run into a minor problem that
I've got hree html tables which I wanted to put into tabs. All three
thanks for your time first...after all the searching on google, github and here, and

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.