Results 1 to 5 of 5

Thread: Problem with libusb in macOS high Sierra

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2018
    Posts
    31
    Thanks
    8
    Qt products
    Qt5
    Platforms
    MacOS X Windows

    Default Problem with libusb in macOS high Sierra

    hi, I add libusb through "external library" and add the file libusb.h to the project folder and when I run one of the examples (listdevs.c) of this library I get the following problem. I understand it's a compatibility problem. Does anyone know how to fix this problem?

    ld: warning: ignoring file /Users/eduardo/My Cloud/Programas/dataMonitor 10 copy/libusb-1.0-2.22/MinGW64/static//libusb-1.0.a, file was built for archive which is not the architecture being linked (x86_64): /Users/eduardo/My Cloud/Programas/dataMonitor 10 copy/libusb-1.0-2.22/MinGW64/static//libusb-1.0.a
    Undefined symbols for architecture x86_64:
    "_libusb_get_bus_number", referenced from:
    configureGraph:rint_devs(libusb_device**) in configuregraph.o
    "_libusb_get_device_address", referenced from:
    configureGraph:rint_devs(libusb_device**) in configuregraph.o
    "_libusb_get_device_descriptor", referenced from:
    configureGraph:rint_devs(libusb_device**) in configuregraph.o
    "_libusb_get_port_numbers", referenced from:
    configureGraph:rint_devs(libusb_device**) in configuregraph.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [dataMonitor.app/Contents/MacOS/dataMonitor] Error 1
    22:35:33: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project dataMonitor (kit: Desktop Qt 5.11.1 clang 64bit)
    When executing step "Make"


    Does anyone know if there is a generic driver in macOS like the Microsoft winUSB for Qt?
    thanks for help me
    Last edited by Eduardo Huerta; 8th January 2019 at 04:38.

Similar Threads

  1. Replies: 0
    Last Post: 15th November 2016, 05:25
  2. Replies: 4
    Last Post: 6th March 2014, 05:57
  3. Replies: 6
    Last Post: 7th November 2012, 05:13
  4. Phonon - audio-output-problem and high latency
    By nearlyNERD in forum Qt Programming
    Replies: 3
    Last Post: 27th June 2012, 21:17
  5. MacOs deployment problem (QT 4.6.2)
    By Annihilator in forum Installation and Deployment
    Replies: 1
    Last Post: 3rd April 2010, 15:28

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.