Giter Club home page Giter Club logo

Comments (6)

texane avatar texane commented on August 25, 2024

I have no problem neither do I see one in the source. please be more explicit about the issue.

from stlink.

legath avatar legath commented on August 25, 2024

i have commented LIBUSB_CALL in stlink-usb.c (string 60 ) and building have finished successfully.

from stlink.

texane avatar texane commented on August 25, 2024

Can you tell what is the expension of LIBUSB_CALL on your system? On any LINUX, there should be no expansion.
Maybe this is a problem because LIBUSB_CALL is not defined at all. What is your version of LIBUSB? Can you have
a look at libusb.h to see what is the definition of LIBUSB_CALL?
Can you test with #if not defined (LIBUSB_CALL) #define LIBUSB_CALL #endif?

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on August 25, 2024

Can you test with #if not defined (LIBUSB_CALL) #define LIBUSB_CALL #endif?

This proposed fix has been submitted via commit fc85ba7 afterwards.
As it reads from the code, one can safely assume that these missing lines caused the mentioned compilation error and their addition resolves this issue.

from stlink.

legath avatar legath commented on August 25, 2024

It was so long ago. I have moved to manjaro linux and becomes use openocd and jlink gdb server

from stlink.

Nightwalker-87 avatar Nightwalker-87 commented on August 25, 2024

@legath: It's ok now as it is, don't worry about it.

from stlink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.