Compiling LeoCAD

Compiling LeoCAD

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/ so try adding it to the linker command line
/usr/lib/ could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status

What do I do?
Re: Compiling LeoCAD
I've never seen that error before but you can try to link with libX11 explicitly like I've done in this change:

What distro are you using?
Re: Compiling LeoCAD
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!
« Next Oldest | Next Newest »

Forum Jump:

Users browsing this thread: 1 Guest(s)