Compiling LeoCAD - Printable Version +- LDraw.org Discussion Forums (https://forums.ldraw.org) +-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html) +--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html) +--- Thread: Compiling LeoCAD (/thread-7877.html) |
Compiling LeoCAD - Seth - 2013-01-24 Hi, I'm trying to compile LeoCAD ong GNU/Linux but I keep getting the following error: /usr/bin/ld: obj/linux/system.o: undefined reference to symbol 'XQueryKeymap' /usr/bin/ld: note: 'XQueryKeymap' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line /usr/lib/libX11.so.6: could not read symbols: Invalid operation collect2: error: ld returned 1 exit status What do I do? Re: Compiling LeoCAD - Leonardo Zide - 2013-01-24 I've never seen that error before but you can try to link with libX11 explicitly like I've done in this change: http://leocad.org/trac/changeset/1273 What distro are you using? Re: Compiling LeoCAD - Seth - 2013-01-25 Fixed! I had to append -lX11 and -ldl. Oh, and I'm using Arch. There's probably some setting missing somewhere in some random config file that's in most distros. On Arch, everything is the latest version and at the default setting. Oh well, I can't expect every developer to cater to every distro out there. Thanks for the help! |