Python Metawear Package Install Error

Input:
pip install metawear

Output:
g++ -shared -o libble++.so.0.5 src/att.o src/uuid.o src/bledevice.o src/att_pdu.o src/pretty_printers.o src/blestatemachine.o src/float.o src/logging.o src/lescan.o -m64 -lbluetooth g++: error: unrecognized command line option ‘-m64’ Makefile:57: recipe for target 'libble++.so.0.5' failed

Is the new Warble package 64 bit only?

Comments

  • The update fixed the issue. Thanks.

  • There is a follow-up issue during the installation:

    g++ -o dist/release/lib/arm/libwarble.so.1.0.14 -s -shared -Wl,--soname,libwarble.so.1 -marm build/arm/release/src/warble/cpp/blepp_api.o build/arm/release/src/warble/cpp/lib.o build/arm/release/src/warble/cpp/blepp_scanner.o build/arm/release/src/warble/cpp/blepp_utils.o build/arm/release/src/warble/cpp/gattchar.o build/arm/release/src/warble/cpp/win10_scanner.o build/arm/release/src/warble/cpp/scanner.o build/arm/release/src/warble/cpp/gatt.o build/arm/release/src/warble/cpp/win10_api.o deps/libblepp/libble++.a -lbluetooth ln -sf libwarble.so.1.0.14 dist/release/lib/arm/libwarble.so.1 ln -sf libwarble.so.1 dist/release/lib/arm/libwarble.so make: Leaving directory '/tmp/pip-build-b4wa2eoa/warble/clibs/warble' error: Destination path 'mbientlab/warble/libwarble.so.1' already exists

  • Just to be clear: the installation still works, it just shows this false positive.

  • edited July 2018

    @schuster said:
    There is a follow-up issue during the installation:

    g++ -o dist/release/lib/arm/libwarble.so.1.0.14 -s -shared -Wl,--soname,libwarble.so.1 -marm build/arm/release/src/warble/cpp/blepp_api.o build/arm/release/src/warble/cpp/lib.o build/arm/release/src/warble/cpp/blepp_scanner.o build/arm/release/src/warble/cpp/blepp_utils.o build/arm/release/src/warble/cpp/gattchar.o build/arm/release/src/warble/cpp/win10_scanner.o build/arm/release/src/warble/cpp/scanner.o build/arm/release/src/warble/cpp/gatt.o build/arm/release/src/warble/cpp/win10_api.o deps/libblepp/libble++.a -lbluetooth ln -sf libwarble.so.1.0.14 dist/release/lib/arm/libwarble.so.1 ln -sf libwarble.so.1 dist/release/lib/arm/libwarble.so make: Leaving directory '/tmp/pip-build-b4wa2eoa/warble/clibs/warble' error: Destination path 'mbientlab/warble/libwarble.so.1' already exists

    What exactly were you doing that resulted in this error message?

  • Same as before: install metawear package with pip.

    `# apt update

    apt upgrade -y

    apt install -y git python3-pip libbluetooth-dev libboost-all-dev

    pip3 install metawear`

    On a clean raspbian.

This discussion has been closed.