Trying to build a project I get the error: "undefined reference to symbol 'XConvertSelection' ". I did a research and found that i should link to libX11.so
.
I did add in CodeBlocks under Compiler Settings->Linker Settings->Add
the directory "/usr/lib/i386-linux-gnu/libX11.so"
. However, error remains.
System: Ubuntu 14.04.1 LTS
Code::Blocks v.13.12
32 bit
I spent hours with google, still could not find a working solution. Thanks for your help!
The proposed solution linked, states:
"In the most cases the solution boils down, to supply the actual toolchain's compiler/linker with the appropriate path's to search for included headers, to be linked libraries."
That is exactly what i did (at least i think i did). However, it does not fix the error.