Open ingmar-k opened 10 years ago
Thank you for this hint it helped me after I got undefined reference to symbol 'XNextEvent'
Thanks
Thank you for that hint. Unfortunatly I have no idea how to add the "-lX11" linker Option to the Makefile. Can you please post the modified Makefile?
You just open the "Makefile" in the "test" subfolder and add the "-lX11" string to the end of the following line: $(CC) $(CFLAGS) -o $@ test.c -lEGL -lGLESv2
That is it.
Okay, I tried to modify the Makefile in the Main directory. Thank you for that hint. It worked.
You are absolutely welcome. Great to hear that it worked.
In 2017 this problem is still not addressed.
This fixed undefined reference to symbol 'XNextEvent
for me as well, 2019
Issue is available still. 2020. Fix is valid to, just simply add -lX11.
what is worse, this still being open after solving or that people like me still uses such old hardware 🤣
Hello,
I just came across this little annoyance when trying to build the "test" utility on Debian Jessie. I needed to add the linker option "-lX11" to the Makefile, or otherwise the test would not build. When added, it built without a problem.
Regards
Ingmar