首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >FIX8协议编译问题

FIX8协议编译问题
EN

Ask Ubuntu用户
提问于 2016-11-23 17:38:03
回答 1查看 239关注 0票数 0

我正在尝试编译fix8框架。根据文档,唯一的依赖项是我成功编译/安装的poco library。当我在make文件夹上运行fix8时,会得到以下错误:

代码语言:javascript
复制
/usr/bin/ld: cannot find -lgtest

/usr/bin/ld: cannot find -lgtest_main

collect2: error: ld returned 1 exit status

make[2]: *** [libutest.la] Error 1

make[2]: Leaving directory `/home/kostas/Desktop/test/fix8-1.4.0/utests'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/kostas/Desktop/test/fix8-1.4.0'

make: *** [all] Error 2

gtest包是否依赖于包libgtest-dev?我读过libgtest-dev软件包不再可用了吗?

有什么建议吗?

EN

回答 1

Ask Ubuntu用户

发布于 2016-11-23 17:48:27

选项是-l,您要寻找的库是gtest。你在哪里读到的关于不可利用性的文章?可靠的地点?另外,如果不知道您正在运行的Ubuntu的哪个版本,就无法可靠地讨论软件(Un)的可用性。在我的Ubuntu16.04.1 LTS上,有几种选择:

代码语言:javascript
复制
$ apt-cache search gtest
autopkgtest - automatic as-installed testing for Debian packages
lxc-tests - Linux Containers userspace tools (test binaries)
debian-policy - Debian Policy Manual and related documents
gnome-desktop-testing - runner for GNOME installed tests
gtester2xunit - Helper for converting gtester xml output to xunit.
libdist-zilla-plugin-podspellingtests-perl - Backward-compatibility wrapper around Dist::Zilla::Plugin::Test::PodSpelling
libdist-zilla-plugin-test-podspelling-perl - Author tests for POD spelling
libgtest-dev - Google's framework for writing C++ tests - header files
libxorg-gtest-data - X.Org dummy testing environment for Google Test - data
libxorg-gtest-dev - X.Org dummy testing environment for Google Test - headers
libxorg-gtest-doc - X.org dummy testing environment for Google Test - documentation
pkg-perl-autopkgtest - collection of autopktest scripts for Perl packages
python-nose-timer - timer plugin for nosetests - Python 2.x
python3-nose-timer - timer plugin for nosetests - Python 3.x

是的,看起来你发现了一种无记录的依赖。

票数 1
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/852784

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档