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

Linking issue #5

Open
nick87720z opened this issue May 5, 2015 · 1 comment
Open

Linking issue #5

nick87720z opened this issue May 5, 2015 · 1 comment

Comments

@nick87720z
Copy link
Contributor

Hello, this is first most importat bug about building.
In file src/Makefile, linking command:
${CPPOBJS} must be placed before libraries list, actually supplied by ${LDFLAGS}.
GCC docs say, that this order makes sence - each object is visible only for those, placed before it. in command. For now it is placed after all, before -o option.

This: ${CXX} ${CXXFLAGS} ${CPPOBJS} ${LDFLAGS} -o ${EXE}
works for me.

p.s. Just since it is related, i have improvement for readme.md:
There is package xcb-util, which is described as:
utility libraries for X C Binding -- atom, aux and event
When i failed to find xcb-atom in repo, i guessed, it is already provided by more basic libs, but was wrong. Thanks for google).

@nick87720z
Copy link
Contributor Author

Second was in P.S.)

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

No branches or pull requests

1 participant