English 中文(简体)
ft2build.h: 无此类档案或目录——自由型2.6
原标题:ft2build.h: No such file or directory - Freetype 2.6

我正试图从含水层的事业中继续努力,我决定开始使用Jenkins,我的个人工作,但即便是用自由型号安装的:第2.6.3号,它也不承认这种偷盗。

这是装满自由型装备的QT。 I m 目前在UBuntu 16.04上运行:

linux {
    message("Build for Linux")
    DEFINES += LINUX
    DEFINES += BOOST_LOG_DYN_LINK
    LIBS += -lGLU
    LIBS += -lfreetype
    LIBS += -L/usr/lib/x86_64-linux-gnu/-libboost_timer.so -libboost_log.so -libboost_log_setup.so -libboost_system.so -libboost_thread.so -libboost_filesystem.so
}

因此,我还试图改变手工操作的平衡点:

LIBS *= -L/usr/local/lib/ -lfreetype

但仍然没有任何进展。 我的错误来自LGLU。

In file included from displays/display.cpp:3:0:
displays/./../oglft/oglft.h:50:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
Makefile:1093: recipe for target  display.o  failed

当时,我总是进行q洗,然后清洗/使用/lib/x86_64-linux-gnu/qt5/bin/qmake & &;制片和&; 检查,以确保它适当开张。 谁能帮助我解决难题?

我检查了自由类型校准的地点:

pkg-config --cflags --libs freetype2

这是我得到的。

-I/usr/local/include/freetype2 -L/usr/local/lib -lfreetype
问题回答

www.un.org/Depts/DGACM/index_spanish.htm PROBLEM SOLVED!

I have had to set FREETYPE in the environment variables as BOOST too and everything is now working properly! Here is how is mine:

export BOOST=/var/lib/jenkins/workspace/boost_1_59_0
export FREETYPE=/var/lib/jenkins/workspace/freetype-2.6.3

我更希望把这两条平衡划归Jenkins,以避免批准问题。

;-





相关问题
Undefined reference

I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...

C++ Equivalent of Tidy

Is there an equivalent to tidy for HTML code for C++? I have searched on the internet, but I find nothing but C++ wrappers for tidy, etc... I think the keyword tidy is what has me hung up. I am ...

Template Classes in C++ ... a required skill set?

I m new to C++ and am wondering how much time I should invest in learning how to implement template classes. Are they widely used in industry, or is this something I should move through quickly?

Print possible strings created from a Number

Given a 10 digit Telephone Number, we have to print all possible strings created from that. The mapping of the numbers is the one as exactly on a phone s keypad. i.e. for 1,0-> No Letter for 2->...

typedef ing STL wstring

Why is it when i do the following i get errors when relating to with wchar_t? namespace Foo { typedef std::wstring String; } Now i declare all my strings as Foo::String through out the program, ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

Window iconification status via Xlib

Is it possible to check with the means of pure X11/Xlib only whether the given window is iconified/minimized, and, if it is, how?

热门标签