Building Juce...x11 problem

I’ve installed pretty much every x11 package out there but I still get the following errors when building:

…/…/src/native/linux/juce_linux_NativeIncludes.h:96:34: warning: X11/Xcursor/Xcursor.h: No such file or directory
In file included from …/…/src/native/juce_linux_NativeCode.cpp:106:
…/…/src/native/linux/juce_linux_Windowing.cpp: In static member function ‘static void* juce::MouseCursor::createMouseCursorFromImage(const juce::Image&, int, int)’:

Don’t these headers come with libx11-dev or am I missing something?

That means that XCursor.h is missing. I don’t know what is your distro but in Debian you have to install libxcursor-dev.

Thanks, that did the trick.

If you actually look at the include statement in juce_linux_NativeIncludes.h, you may notice that I put a comment there explaining which package you need to install…