求助:安装Extcalc软件出现的问题
Tofloor
poster avatar
Fredoong
deepin
2020-04-20 19:15
Author
从https://sourceforge.net/projects/extcalc/下载了强大的Extcalc源码包 .tar.gz文件
解压后找到了readme文件,打开找到Install相关指导,如下:
INSTALLATION
- unpack archive (tar -xzf extcalc-0.9.3.tar.gz)
- switch to directory (cd extcalc-0.9.3)
- run configure (cmake .)
- compile (make)
- become root (su)
- install (make install)


cmake遇到一些小问题,已解决掉。
但是make遇到了令我有点头晕的错误,特来请教论坛的各位大佬。
错误信息如下:
  1. /usr/bin/ld: CMakeFiles/extcalc.dir/src/graphout.o: undefined reference to symbol 'glEnable'
  2. //lib/x86_64-linux-gnu/libGL.so.1: error adding symbols: DSO missing from command line
  3. collect2: error: ld returned 1 exit status
  4. CMakeFiles/extcalc.dir/build.make:1565: recipe for target 'extcalc' failed
  5. make[2]: *** [extcalc] Error 1
  6. CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/extcalc.dir/all' failed
  7. make[1]: *** [CMakeFiles/extcalc.dir/all] Error 2
  8. Makefile:151: recipe for target 'all' failed
  9. make: *** [all] Error 2
Copy the Code
请问这种错误怎么解决啊,百度了半天,也没搞明白怎么解决,特来求助。



Reply Favorite View the author
All Replies
avatar
Fredoong
deepin
2020-04-20 19:22
#1
补一下上面的错误信息提到的东西


CMakeFiles/extcalc.dir/build.make:1565 行


  1.         @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/fredoong/Downloads/Compressed/extcalc-0.9.3-1/CMakeFiles --progress-num=$(CMAKE_PROGRESS_80) "Linking CXX executable extcalc"
Copy the Code


CMakeFiles/Makefile2:67 行
  1.         $(MAKE) -f CMakeFiles/extcalc.dir/build.make CMakeFiles/extcalc.dir/depend
Copy the Code



Reply View the author
avatar
Fredoong
deepin
2020-04-21 04:12
#2
白天没有大佬,晚上该有大佬了吧??
Reply View the author
avatar
Fredoong
deepin
2020-04-22 23:20
#3
没人回答是真的难受。。。。。
Reply View the author
avatar
ghostry
deepin
2020-04-23 00:17
#4
本帖最后由 ghostry 于 2020-4-22 16:19 编辑

大概你 发 错 了 地 方.

要 用 软 件 , 装 d e b 包 就 行 了.
非要编译 参考下这个

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=extcalc
Reply View the author