小编neg*_*ega的帖子

找不到emacs和gnutls

我在Ubuntu16.04上构建了emacs26,执行./config --prefix=/usr/local/emacs后显示如下:

configure: error: The following required libraries were not found:
     gnutls
Maybe some development libraries/packages are missing?
If you don't want to link with them give
     --with-gnutls=no
as options to configure
Run Code Online (Sandbox Code Playgroud)

我试图解决这个问题很多次,但是失败了。谁能帮助我,非常感谢。

emacs ubuntu

14
推荐指数
4
解决办法
3678
查看次数

未找到架构 x86_64 的符号 - Cmake - Mac sierra

最近我开始了一个 C++ 的新项目。问题是,当我尝试编译它时,出现链接错误。我今天花了一整天的时间尝试调试它,但我并没有真正在任何地方找到好的解决方案。如果有人能帮忙那就太好了。我使用的是 Mac Sierra。

parsing/methylation.h

#ifndef EPIRL_METHYLATION_H
#define EPIRL_METHYLATION_H

#include <stdio.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <sstream>

using namespace std;

namespace methylation {
    struct MethLine {
        string chr;
        int coord;
        char strand;
        int methylated;
        int un_methylated;
        string context;
        string tag;
    };

    string calculateMethylationByContext(
            MethLine m_input[], int length,
            int window_start, int window_end, int threshold);

    void calculateMethylation(
        const istream &methylation_stream,
        const istream &coordinate_stream,
        const ostream &output_stream
    );
}

#endif //EPIRL_METHYLATION_H
Run Code Online (Sandbox Code Playgroud)

parsing/methylation.cpp

#include "methylation.h"

namespace methylation {
    string calculateMethylationByContext(
            MethLine …
Run Code Online (Sandbox Code Playgroud)

c++ cmake linkage undefined-symbol

8
推荐指数
2
解决办法
2万
查看次数

标签 统计

c++ ×1

cmake ×1

emacs ×1

linkage ×1

ubuntu ×1

undefined-symbol ×1