Export to GitHub

btstack - issue #172

Linux build or usage is difficult


Posted on Jun 22, 2011 by Helpful Rhino

-Werror is specified for builds, but you have #pragma statements everywhere that produce a warning, with -Werror makes the build fail.

The vendor/product really needs to be in a config file or as a command line option. There is still a "doesn't work" note in ./configure --help.

And although I have about 6 different kinds of bluetooth dongles, I don't think ANY work under your stack under linux. Do you or anyone know of any chipsets, products, or vendor/product IDs that are known to work? Or is there a way to tell?

I could really use this on an embedded ARM board as the standard stack is big, but I do need a dongle that works.

Comment #1

Posted on Jun 23, 2011 by Swift Ox

hi..

  • pragma mark: I've found a way to keep the #pragma mark feature with Xcode without causing harm, see r1228

  • vendor/product would need to be made configurable, once it is working - agreed. We can add command line parameters, BTdaemon already uses getopt

  • the code for HCI USB is an early alpha version and doesn't work, I think. The "doesn't work" in configure.in is correct. For what I know, all USB Bluetooth dongles are equal (aside from some that might need a firmware, those are useless).

Simon tried hard for a while to get USB working and claimed it worked for him. I couldn't verify that yet, but commited his changes in r1229. Please try your dongles with this and report back.

Comment #2

Posted on Jul 9, 2011 by Swift Ox

did you try again?

Status: Fixed

Labels:
Type-Defect Priority-Medium