Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile under Ubuntu #519

Closed
gorynch opened this issue Nov 29, 2016 · 5 comments
Closed

Compile under Ubuntu #519

gorynch opened this issue Nov 29, 2016 · 5 comments

Comments

@gorynch
Copy link

gorynch commented Nov 29, 2016

Hi
I'm trying to compile stlink under Ubuntu 15.04
I have C maker, gcc, libusb, libusb-dev.
Type in Terminal
$ git clone git://github.com/texane/stlink.git
and

$ make release
[RELEASE]
Makefile:27: recipe for target 'release' failed
make: *** [release] Error 2

There are a lot of manuals how to install stlink, BUT all of them using autogen.sh. In my case there is no such file.
Any idea?

@xor-gate
Copy link
Member

Try running make clean && make release this probably due to missing build/Release folder and CMake files. Did you git cloned the latest version from master branch?

@vijayandra
Copy link

When STLINK connected with Ubuntu, softreset from firmware does not work. Debugged very long to find issue but now seems Linux/Qstlink combination is issue.

@df8508 df8508 mentioned this issue Dec 15, 2016
5 tasks
@xor-gate xor-gate added this to the v1.3.0 milestone Dec 27, 2016
@julienrhodes
Copy link

I had to run cmake . to make the build files prior to make.

@xor-gate
Copy link
Member

xor-gate commented Jan 9, 2017

Then you are building inside the source folder which is highly discouraged, I recommend:

mkdir build && cd build && cmake .. && make

@xor-gate
Copy link
Member

I'm closing this, as it is inside the doc/compiling.md documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants