# Codeblocks can't find juce header

**URL:** <https://forum.juce.com/t/codeblocks-cant-find-juce-header/20417>\
**Category:** General JUCE discussion\
**Created:** [December 28, 2016, 9:12pm UTC](https://forum.juce.com/t/codeblocks-cant-find-juce-header/20417 "2016-12-28T21:12:14Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [January 3, 2017, 8:43am UTC](https://forum.juce.com/t/codeblocks-cant-find-juce-header/20417/5 "2017-01-03T08:43:46Z")

</div>

That would indicate an X11 linking problem. Two things to check:

Do you have all the dependencies installed?

> [@List of Juce dependencies under linux](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121):
>
> I had to reinstall a fresh Ubuntu, and therefore grab all the dependancies for Juce…again. So I thought I’d make a little list and share it with you guys, in case it can save someone else’s time … sudo apt-get -y install g++ sudo apt-get -y install libfreetype6-dev sudo apt-get -y install libx11-dev sudo apt-get -y install libxinerama-dev sudo apt-get -y install libxrandr-dev sudo apt-get -y install libxcursor-dev sudo apt-get -y install mesa-common-dev sudo apt-get -y install libasound2-dev su…

If you look at the linking stage do you see `-lX11` in the list of arguments?

---

_[View the full topic](https://forum.juce.com/t/codeblocks-cant-find-juce-header/20417)._
