Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Qt interface with cypress usb 2
Forum Updated to NodeBB v4.3 + New Features

Qt interface with cypress usb 2

Scheduled Pinned Locked Moved 3rd Party Software
2 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    saeed
    wrote on last edited by
    #1

    Hi
    I for install usb use cypress usb.2 and get a manual form cypress forum but I cant understand how I Compiling CyAPI.
    http://www.cypress.com/forum/usb-full-speed-peripherals/connect-qt-fpga


    Compiling CyAPI

    The C++ USB API from Cypress needs to be recompiled with MinGW before we use it to build our project. Extract the source code to a folder and then run the following in a command prompt:

    set PATH=%PATH%;C:\Qt\Tools\mingw482_32\bin
    mingw32-make %

    And this requires a Makefile with the following contents:

    all:
    del CyAPI.*
    g++ src/CyAPI.cpp -lsetupapi -I inc -c -o CyAPI.o -Wno-conversion-null
    ar rcs CyAPI.a CyAPI.o
    This generates the CyAPI.a static library which we’ll link against in our project.


    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Since it looks like a one file library, why not just include it in your project ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved