2016-04-19 8 views
0

我试图安装Aqua3d“obinet.engr.uconn.edu/wiki/index.php/Aqua-3D_dev_manual`”,为此我需要首先制作随包提供的文件,当我尝试这样做时使用关于终端的命令:如何解析未定义的引用wxString时,为Aqua3d文件?

$使-f Makefile.txt

我得到以下输出:

克++ wx-config --libs --cxxflags --gl-libs -lglut -lGLU -lGL -o aqua3d Aqua3D.o ControlPanel控制.o EnvironmentPanel.o FileChooser.o InformationPanel.o MainFrame.o PlaybackPanel.o PreferenceWindow.o ViewFileHandler.o NodeAttributeDia log.o Event.o AnnotationEvent.o DequeueEvent.o DropEvent.o EnqueueEvent.o HopEvent.o HopSignal.o NodeEvent.o ReceiveEvent.o WorldEvent.o DataManager.o Environment.o EventManager.o Node.o Parser.o vmath。 Øtrackball.o Aqua3D.o:在功能Aqua3D::OnInit()': Aqua3D.cpp:(.text+0x35): undefined reference to wxStandardPathsBase ::获取() ' Aqua3D.cpp :(文字+ 0x7a):未定义参考wxString::Bef> . . . Parser.cpp:(.text+0x1e4d): undefined reference to wxLogError(wchar_t的常量*,...)' collect2:错误:ld返回1退出状态 make:* [aqua3d]错误1 **

请指导我如何解决此问题?

仅供参考,我已经安装了freeglut3-dev,libwxgtk2.8-dev,libgtk2.0-dev。

+0

什么是你的操作系统和编译器?你确定你安装了libwxgtk吗?它给了你什么错误?如果你运行“wx-config --cxxflags”(不含引号)会有输出吗? – Igor

+0

我使用的是Ubuntu 14.04LTS和g ++。 是的,我已经安装它使用sudo apt-get install libwxgtk2.8-dev – Developer

+0

@Igor yes是输出到命令“wx-config --cxxflags”,它是: “-I/usr/lib/x86_64 -linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS = 64 -D_LARGE_FILES -D__WXGTK__ -pthread“ – Developer

回答

相关问题