# Anything on Linux changed recently?

**URL:** <https://forum.juce.com/t/anything-on-linux-changed-recently/37280>\
**Category:** Linux\
**Created:** [January 22, 2020, 8:41pm UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280 "2020-01-22T20:41:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [January 22, 2020, 8:41pm UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280/1 "2020-01-22T20:41:13Z")

</div>

I just re-saved my .jucer file and now my project won’t build on Linux (Ubuntu 16.04)

I get the following error:

```auto
../../../../modules/juce/modules/juce_graphics/juce_graphics.cpp:98:24: fatal error: ft2build.h: No such file or directory
   #include <ft2build.h>
                        ^
compilation terminated.

```

`ft2build.h` is on my system. The Projucer still builds, but my project doesn’t. Very odd, any ideas?

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [January 22, 2020, 8:47pm UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280/2 "2020-01-22T20:47:16Z")

</div>

Could you please build with `V=1 make` and share the compiler command-line?

---

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [January 22, 2020, 9:33pm UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280/3 "2020-01-22T21:33:48Z")

</div>

```auto
Compiling include_juce_graphics.cpp
g++ -MMD -DLINUX=1 -DNDEBUG=1 -DSAMPLER_PLUGIN=1 -DJUCE_WOLFRAM=1 -DVST_FORCE_DEPRECATED=0 -DSTRUM=1 -DJUCER_LINUX_MAKE_7346DA2A=1 -DJUCE_APP_VERSION=11.0.6 -DJUCE_APP_VERSION_HEX=0xb0006 -pthread -I../../../../modules/juce/modules/juce_audio_processors/format_types/VST3_SDK -I../../JuceLibraryCode -I../../../../modules -I../../../../modules/juce/modules -I../../../../modules/tracktion_utilities/modules -I../../../../modules/tracktion_engine_dev/modules -I../../../../modules/plugins -I../../../common/Source/3rd_party/ -I../../../common/Source/3rd_party/VST3_SDK -m64 -Os -std=gnu++14 -Wno-multichar -mno-sse4 -mno-sse4.1 -mno-sse4.2 -std=c++14 -DJucePlugin_Build_VST=0 -DJucePlugin_Build_VST3=0 -DJucePlugin_Build_AU=0 -DJucePlugin_Build_AUv3=0 -DJucePlugin_Build_RTAS=0 -DJucePlugin_Build_AAX=0 -DJucePlugin_Build_Standalone=0 -DJucePlugin_Build_Unity=0 -o "build/intermediate/Release/include_juce_graphics_f817e147.o" -c "../../JuceLibraryCode/include_juce_graphics.cpp"
In file included from ../../JuceLibraryCode/include_juce_graphics.cpp:9:0:
../../../../modules/juce/modules/juce_graphics/juce_graphics.cpp:98:24: fatal error: ft2build.h: No such file or directory
   #include <ft2build.h>

```

---

<div class="post-metadata">

**Author:** ![RolandMR](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rolandmr/32/641_2.png) [@RolandMR](https://forum.juce.com/u/RolandMR)\
**Post date:** [January 23, 2020, 1:32am UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280/4 "2020-01-23T01:32:32Z")

</div>

Found the issue, I had some stuff in `pkg-config libraries` that wasn’t supposed to be there. Not sure what that has to do with finding headers?

---

<div class="post-metadata">

**Author:** ![mcmartin](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/mcmartin/32/7432_2.png) [@mcmartin](https://forum.juce.com/u/mcmartin)\
**Post date:** [January 23, 2020, 8:53am UTC](https://forum.juce.com/t/anything-on-linux-changed-recently/37280/5 "2020-01-23T08:53:54Z")

</div>

Calling

```auto
$(shell pkg-config --cflags <libraries>)

```

returns compiler flags needed to use these libraries, including `-I` flags for finding headers.

If `pkg-config` fails because of “stuff […] that wasn’t supposed to be there”, then it will return an empty string and the compiler will be missing some important flags.
