我想在我的Ubuntu14.04机器上构建Celestia-1.6.1,但是,我似乎不能轻松地使用gcc版本4.9.1。
我正在使用来自http://sourceforge.net/projects/celestia/files/的源文件
运行./configure --with glut是可行的:
***************************************************************
** Celestia configuration complete. Now do a 'make' followed **
** by 'make install' **
***************************************************************
Front-End: GLUT
Use Lua: yes
Use Theora: auto然后我在运行make时出现了错误,其中两个可以解决:
#include "mathlib.h"中的intersect.h#include <cstddef>中的frametree.h但是,我无法修复最后一个错误:
/usr/bin/ld: ../celengine/libcelengine.a(libcelengine_a-glext.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../x86_64-linux-gnu/libdl.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status有人成功地完成了这个构建吗?
发布于 2014-12-14 17:02:07
我建议您使用SVN的最新来源。天青藤( Celestia ) 1.6.1相当古老。Celestia1.7从未被释放,但它几乎被释放了。目前在Celestia SVN没有任何进展。
Celestia1.7推荐的UI是QT4。生成此UI的Makefile是用qmake生成的,而不是用GNU自动工具生成的。
编辑celestia.pro。
运行qmake
并使
详细信息请访问:http://en.wikibooks.org/wiki/Celestia/Development/Qt4
由于官方SourceForge SVN中的开发已经结束,我刚刚开始使用最新的Celestia源:https://github.com/bgodard/celestia-g2进行git。它包括一个补丁,增加了一个新的功能,塞莱蒂亚。
如果您真的想要构建Celestia1.6.1,您可能希望从Ubuntu获得源代码包,并查看哪些补丁可能已应用到最近的gcc版本中进行编译。
https://askubuntu.com/questions/561315
复制相似问题