Skip to content

undefined reference to symbol 'XConvertSelection' #1

@shuwang1

Description

@shuwang1

$ make
Scanning dependencies of target main
[ 20%] Building CXX object CMakeFiles/main.dir/main.o
[ 40%] Building CXX object CMakeFiles/main.dir/Program.o
[ 60%] Building CXX object CMakeFiles/main.dir/GLFFT.o
[ 80%] Building CXX object CMakeFiles/main.dir/FFT.o
[100%] Linking CXX executable main
/usr/bin/ld: //usr/local/lib/libglfw3.a(x11_window.c.o): undefined reference to symbol 'XConvertSelection'
//usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/main.dir/build.make:174: recipe for target 'main' failed
make[2]: *** [main] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/main.dir/all' failed
make[1]: *** [CMakeFiles/main.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions