Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2013, 5:27:23 PM (11 years ago)
Author:
smerkli
Message:

Tried a few fixes to get Bluetooth to be included
properly, but no success so far. Will have to ask someone
who knows more about our CMake setup for this.

Location:
code/branches/wiimote/src/external/wiicpp/wiic
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wiimote/src/external/wiicpp/wiic/io.h

    r9812 r9827  
    3838#define CONNECT_H_INCLUDED
    3939
    40 #ifdef LINUX
    41 //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
    42 #include "/usr/include/bluetooth/bluetooth.h"
    43 #endif
     40/* This is not required, wiic_internal already includes bluetooth. */
     41//#ifdef LINUX
     42////#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
     43        //#include <bluetooth.h>
     44//#endif
    4445
    4546#include "wiic_internal.h"
  • code/branches/wiimote/src/external/wiicpp/wiic/io_nix.c

    r9812 r9827  
    4141#include <unistd.h>
    4242
    43 //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
    44 //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/hci.h"
    45 //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/hci_lib.h"
    46 //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/l2cap.h"
    47 #include "/usr/include/bluetooth/bluetooth.h"
    48 #include "/usr/include/bluetooth/hci.h"
    49 #include "/usr/include/bluetooth/hci_lib.h"
    50 #include "/usr/include/bluetooth/l2cap.h"
     43/* SANDRO HACK can't get bluetooth to work properly at the moment, will come
     44 * back here and fix this very ugly inclusion as soon as I get to grips with
     45 * cmake.
     46 */
     47#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
     48#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/hci.h"
     49#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/hci_lib.h"
     50#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/l2cap.h"
     51//#include "/usr/include/bluetooth/bluetooth.h"
     52//#include "/usr/include/bluetooth/hci.h"
     53//#include "/usr/include/bluetooth/hci_lib.h"
     54//#include "/usr/include/bluetooth/l2cap.h"
    5155
    5256#include "definitions.h"
  • code/branches/wiimote/src/external/wiicpp/wiic/wiic.h

    r9812 r9827  
    4848#else
    4949        /* nix */
    50         //#include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
    51         #include "/usr/include/bluetooth/bluetooth.h"
     50/* SANDRO HACK can't get bluetooth to work properly at the moment, will come
     51 * back here and fix this very ugly inclusion as soon as I get to grips with
     52 * cmake.
     53 */
     54//      #include "bluetooth/bluetooth.h"
     55//      #include <bluetooth.h>
     56        #include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
    5257#endif
    5358
  • code/branches/wiimote/src/external/wiicpp/wiic/wiic_internal.h

    r9812 r9827  
    5050#ifndef __APPLE__
    5151        #include <arpa/inet.h>                          /* htons() */
    52 //      #include <bluetooth.h>
    53         #include "/usr/include/bluetooth/bluetooth.h"
     52/* SANDRO HACK can't get bluetooth to work properly at the moment, will come
     53 * back here and fix this very ugly inclusion as soon as I get to grips with
     54 * cmake.
     55 */
     56//      #include <bluetooth.h>
     57//      #include "bluetooth/bluetooth.h"
     58        #include "/home/georgr/libbluetooth-dev/libbluetooth-dev/usr/include/bluetooth/bluetooth.h"
    5459#endif
    5560
Note: See TracChangeset for help on using the changeset viewer.