Cannot build - linking error

I tried to build Box2D in Qt and there is my problem:

Code: Select all

/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: ../freeglut/libfreeglut_static.a(freeglut_state.c.o): undefined reference to symbol 'XGetWindowAttributes'
/usr/lib64/libX11.so.6: error adding symbols: DSO missing from command line

What am i doing wrong?
.. since you didn#t get ANY(!) response to your question (I have the same Issue) for over a YEAR, I am asking myself, if this forum is still active..

And if so, -- nobody any suggestions? 😮
Are you sure that it is a linking error?
As this cannot be often created due to some error in the creation of the profile. Due to this the owner of the forum does not allow to build which Apple Support can guide you to go with.

Original thread: https://box2d.org/forum/viewtopic.php?t=10015