|
Linking C executable awesome
CMakeFiles/awesome.dir/event.c.o: In function `event_handle_clientmessage':
/home/d40man/soft/awesome/event.c:727: undefined reference to `sn_xcb_display_process_event'
CMakeFiles/awesome.dir/spawn.c.o: In function `spawn_init':
/home/d40man/soft/awesome/spawn.c:237: undefined reference to `sn_xcb_display_new'
collect2: ld 返回 1
make[3]: *** [awesome] 错误 1
make[2]: *** [CMakeFiles/awesome.dir/all] 错误 2
make[1]: *** [all] 错误 2
make: *** [cmake-build] 错误 2
d40man@d40man:~/soft/awesome$
检查了CMakeLists.txt, 加了link_directories(/usr/local/lib)还是找不到库文件,谁有经验阿? |
|