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

GUI could not be built with cmake due to wrong order of actions (missing dependencies?) #551

Closed
blacklion opened this issue Jan 30, 2017 · 3 comments · Fixed by #552
Closed

Comments

@blacklion
Copy link

I'm trying to update FreeBSD port to post-1.3.0 version, commit 4f460ec. It works flawlessly without gtk-3.0 support, but with gtk-3 installed it try to build GUI and fails, because it try to link stlink-gui BEFORE it links libstlink (both static & dynamic).

I'm attaching two log files: one when gtk-3 is not installed (stlink-nogiu.txt), it is successful build. And one with gtk-3 installed (stlink-gui.txt), which fails.

I'm using

$ cmake --version
cmake version 3.7.2
$

BTW, is it possible to disable stlink-gui build in presence of gtk-3 in system? autoconf-based system allowed this.

@xor-gate
Copy link
Member

xor-gate commented Jan 30, 2017

Yeah I have broken de build for this. Somebody already fixed it for Arch (and probably also for FreeBSD) with this PR #552.

The offending error during build is:

/usr/bin/ld: cannot find -lstlink

I have "reworked" the static/dynamic library thing, which broke the *NIX builds. I'm still not happy with static/dynamic libs. But I will solve this in a better way for MacOSX and Windows builds.

@xor-gate
Copy link
Member

Ping @blacklion, could you try latest master?

@blacklion
Copy link
Author

Oh, I'm sorry, it works! Latest version are in FreeBSD ports now, works!
Thank you!

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

Successfully merging a pull request may close this issue.

3 participants