# Setting up on Linux, some basic questions that googling didn't answer

**URL:** <https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503>\
**Category:** Linux\
**Created:** [November 23, 2018, 7:19pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503 "2018-11-23T19:19:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 23, 2018, 7:19pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/1 "2018-11-23T19:19:31Z")

</div>

Howdy all!

I’m new to JUCE, and also Linux and C++ (though I am proficient on Windows and OSX and comfortable with the command line, and I know some Java), so my apologies if this is a hodgepodge of newb-ish stupidity. Please feel free to link me to any relevant sources where I can educate myself if that would be preferable.

First off, I decided on the Mint distro because my impression was that it would be the “easiest”, generally. (Most user-friendly, with a large enough user base to have plenty of support.) Is there another distro that will make setting up with JUCE easier? I’m early enough in that I wouldn’t mind starting over.

What I’ve done so far is as follows:

I used the “Software Manager” to download juce-tools and juce-modules-source, and also code::blocks (an IDE). Upon opening Projucer I get the message “This version of Projucer is out of date! Always make sure that you’re running the very latest version, preferably compiled from the JUCE repository you’re working with!”

Do I actually need to update the Projucer somehow? Or maybe the Linux release available via the software manager just lags behind other releases, and so I can just ignore the warning?

Continuing, I select “GUI Application” and add “Code::Blocks (Linux)” to the Target Platforms. Clicking “Create” creates the project, but the “Save and Open in IDE” button is greyed out.

Apparently, the Linux version of Projucer did not support opening the project in an IDE for some time (and the button wasn’t even there?). Is it still not supported? The button is now there and it mentions Linux in the parentheses so I’m inclined to think that there is just something extra I have to do to allow Projucer to open the project in Code::Blocks automatically.

I’ve also seen plenty of threads where people are talking about dependencies, and I’ve downloaded many of them, but I’m not actually sure whether or not I need them, since it seems like at least some of the threads are talking about building the projucer itself, whereas it seems like that’s already taken care of for me. Should I be building the Projucer myself just for the experience?

And I guess I also want to ask, generally, are there any things to which I’m just obviously ignorant (with regards to JUCE or Linux) that I should read up on before moving forward?

Thanks very much for any help!

---

<div class="post-metadata">

**Author:** ![rory](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/rory/32/534_2.png) [@rory](https://forum.juce.com/u/rory)\
**Post date:** [November 24, 2018, 9:16am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/2 "2018-11-24T09:16:30Z")

</div>

`apt-get install build-essential`, the `apt-get install git`, then clone the JUCE repo, cd to the Projucer LinuxMakefile folder and build from there `make`. Then launch the now up to date Projucer and create your project.

I recommend CLion as an IDE for Linux. There is a CLion exporter in the Projucer now. As for dependencies, try building a newly exported project and you’ll see quick enough what you need. On a fresh Linux machine I usually install the following straight off:

`libfreetype6-dev libx11-dev libxinerama-dev libxcursor-dev mesa-common-dev l ibasound2-dev freeglut3-dev libxcomposite-dev libjack-dev libxrandr-dev`

But it depends on your system. Good luck.

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 24, 2018, 8:42pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/3 "2018-11-24T20:42:29Z")

</div>

Thanks very much for your help! I decided to start fresh on Ubuntu with your instructions.

After cloning the repo JUCE repo ([as per these instructions](https://confluence.atlassian.com/bitbucket/clone-a-repository-223217891.html)) and trying the make command in the Projucer folder, I got the following output:

> Package webkit2gtk-4.0 was not found in the pkg-config search path.  
> Perhaps you should add the directory containing `webkit2gtk-4.0.pc' to the PKG_CONFIG_PATH environment variable No package 'webkit2gtk-4.0' found Package gtk+-x11-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk±x11-3.0.pc’  
> to the PKG\_CONFIG\_PATH environment variable  
> No package ‘gtk±x11-3.0’ found  
> Compiling jucer\_AutoUpdater.cpp  
> Compiling jucer\_CommandLine.cpp  
> Compiling jucer\_Main.cpp  
> Compiling jucer\_MainWindow.cpp  
> Compiling jucer\_ProjucerAnalytics.cpp  
> Compiling jucer\_DocumentEditorComponent.cpp  
> Compiling jucer\_OpenDocumentManager.cpp  
> Compiling jucer\_SourceCodeEditor.cpp  
> Compiling jucer\_ComponentTypeHandler.cpp  
> Compiling jucer\_ButtonDocument.cpp  
> Compiling jucer\_ComponentDocument.cpp  
> Compiling jucer\_ColouredElement.cpp  
> Compiling jucer\_PaintElement.cpp  
> Compiling jucer\_PaintElementGroup.cpp  
> Compiling jucer\_PaintElementImage.cpp  
> Compiling jucer\_PaintElementPath.cpp  
> Compiling jucer\_ComponentLayoutEditor.cpp  
> Compiling jucer\_ComponentOverlayComponent.cpp  
> Compiling jucer\_EditingPanelBase.cpp  
> Compiling jucer\_JucerDocumentEditor.cpp  
> Compiling jucer\_PaintRoutineEditor.cpp  
> Compiling jucer\_PaintRoutinePanel.cpp  
> Compiling jucer\_ResourceEditorPanel.cpp  
> Compiling jucer\_TestComponent.cpp  
> Compiling jucer\_BinaryResources.cpp  
> Compiling jucer\_ComponentLayout.cpp  
> Compiling jucer\_GeneratedCode.cpp  
> Compiling jucer\_JucerDocument.cpp  
> Compiling jucer\_ObjectTypes.cpp  
> Compiling jucer\_PaintRoutine.cpp  
> Compiling jucer\_LicenseController.cpp  
> Compiling jucer\_CompileEngineClient.cpp  
> Compiling jucer\_CompileEngineServer.cpp  
> Compiling jucer\_DownloadCompileEngineThread.cpp  
> Compiling jucer\_HeaderComponent.cpp  
> Compiling jucer\_Module.cpp  
> Compiling jucer\_Project.cpp  
> Compiling jucer\_ProjectExporter.cpp  
> Compiling jucer\_ProjectSaver.cpp  
> Compiling jucer\_ResourceFile.cpp  
> Compiling jucer\_AppearanceSettings.cpp  
> Compiling jucer\_StoredSettings.cpp  
> Compiling jucer\_CodeHelpers.cpp  
> Compiling jucer\_FileHelpers.cpp  
> Compiling jucer\_MiscUtilities.cpp  
> Compiling jucer\_PIPGenerator.cpp  
> Compiling jucer\_Icons.cpp  
> Compiling jucer\_JucerTreeViewBase.cpp  
> Compiling jucer\_ProjucerLookAndFeel.cpp  
> Compiling jucer\_SlidingPanelComponent.cpp  
> Compiling jucer\_NewFileWizard.cpp  
> Compiling jucer\_NewProjectWizardClasses.cpp  
> Compiling BinaryData.cpp  
> Compiling include\_juce\_analytics.cpp  
> Compiling include\_juce\_core.cpp  
> Compiling include\_juce\_cryptography.cpp  
> Compiling include\_juce\_data\_structures.cpp  
> Compiling include\_juce\_events.cpp  
> Compiling include\_juce\_graphics.cpp  
> In file included from …/…/JuceLibraryCode/include\_juce\_graphics.cpp:9:0:  
> …/…/…/…/modules/juce\_graphics/juce\_graphics.cpp:98:12: fatal error: ft2build.h: No such file or directory  
> #include \<ft2build.h\>  
> ^ ~~~~~~~~~~~  
> compilation terminated.  
> Makefile:437: recipe for target ‘build/intermediate/Debug/include\_juce\_graphics\_f817e147.o’ failed  
> make: \*\*\* [build/intermediate/Debug/include\_juce\_graphics\_f817e147.o] Error 1

The command that fixed the above problem was:

> sudo apt-get install webkit2gtk-4.0

(At first I tried this on the wrong makefile, which was in the BinaryBuilder folder, and fixed an error I got there with `sudo apt-get install libcurl4-openssl-dev` but that’s probably not relevant since I was in the wrong place.)

Running “make” in the projucer/builds/linuxmakefile folder after the webkit2gtk-4.0 installation, I get a “build” folder that contains a “Projucer” file and an “intermediate” folder.

The Projucer file does not run, however. I get an error that says

> Could not display “Projucer”  
> There is no application installed for “shared library” files. Do you want to search for an application to open this file?

If I click yes, I get a pop-up message at the top of my screen that says

> Additional MIME Types Required  
> An application is requesting additional file format support

Which makes it seem like it’s trying to open the file using another program. I have set the “Files” application (Nautilous?) to “ask what to do” when dealing with Executable Text Files, but there’s no change in behavior. Changing the name of the file from Projucer to Projucer.desktop gives an error when opening it that says “There was an error launching the application”. I also made sure that the file properties has “allow executing file as a program” checked, and double checked that by using `chmod -x` command, but still there was no change.

Any idea what the problem is? Did I not find the right makefile?

Thanks again for any help!

---

<div class="post-metadata">

**Author:** ![baramgb](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/baramgb/32/12822_2.png) [@baramgb](https://forum.juce.com/u/baramgb)\
**Post date:** [November 25, 2018, 12:07pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/4 "2018-11-25T12:07:48Z")

</div>

Try to start the projucer in the terminal.

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 25, 2018, 6:00pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/5 "2018-11-25T18:00:16Z")

</div>

That did it, thank you!

For anyone other newbies who come across this thread, the command was  
`./Projucer`

(I did not know about the ./ yet myself =P)

---

<div class="post-metadata">

**Author:** ![daniel](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/daniel/32/790_2.png) [@daniel](https://forum.juce.com/u/daniel)\
**Post date:** [November 25, 2018, 9:07pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/6 "2018-11-25T21:07:52Z")

</div>

For security reasons, the current working directory is not in the search path for executables by default. Hence you have to specify it with `./`. You can configure your shell (e.g. bash) to automatically include the current working directory.

I usually have a symlink from /usr/local/bin to my Projucer executable, so I can use the super helpful command line options of Projucer more easily (type `./Projucer --help`)

---

<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:** [November 26, 2018, 10:48am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/7 "2018-11-26T10:48:38Z")

</div>

A couple of things to note here.

> [@jlmoriart1](#):
>
> juce-tools and juce-modules-source

Those packages are not managed by the JUCE team - I don’t know where they come from so I would not trust that they are up to date.

> [@jlmoriart1](#):
>
> There is no application installed for “shared library” files.

> [@Code::blocks and x/shared-lib app](https://forum.juce.com/t/code-blocks-and-x-shared-lib-app/24932):
>
> For Linusers, Projucer generates a codeblocks project without the gcc flags “-no-pie” and “-fpie” so the generated application cannot be ran on desktop or graphics file chooser (need a cmd terminal as ./my-app) the setting below

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 28, 2018, 2:33pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/8 "2018-11-28T14:33:41Z")

</div>

Thanks very much for all of your help.

Following [this tutorial](https://docs.juce.com/master/tutorial_create_projucer_basic_plugin.html), I’ve created a Projucer Audio Plugin project, saved it, and opened it in CodeBlocks. When I hit build, however, I get this error:

File: /home/john/JUCE/modules/juce\_audio\_plugin\_client/VST/juce\_VST\_Wrapper.cpp  
Message: fatal error: pluginterfaces/vst2.x/aeffect.h: no such file or directory

The tutorial itself says:

> All of the files that you need to create VST and AU (MacOS only) plug-ins are packaged with JUCE (as long as you are using a recent version of JUCE).

And I did download the VST3 SDK, pointing to it in the JUCE configuration, so it seems like something funny is going on here. The error does mention vst2, could that be the problem? That JUCE has VST support by default, I added and pointed to the VST3 SDK, but it’s trying to do something related to VST2?

It is the case that, in my VST3\_SDK/pluginterfaces folder (the only “pluginterfaces” folder I found on my machine), I don’t have a file or folder called vst2.x

Thanks again for any help!

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 28, 2018, 4:53pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/9 "2018-11-28T16:53:54Z")

</div>

Looking at the code where the error occured (line 155 in the PluginProcessor.cpp file), there is an explanatory comment:

> // If the following files cannot be found then you are probably trying to build  
> // a VST2 plug-in or a VST2-compatible VST3 plug-in. To do this you must have a  
> // VST2 SDK in your header search paths or use the “VST (Legacy) SDK Folder”  
> // field in the Projucer. The VST2 SDK can be obtained from the  
> // vstsdk3610\_11\_06\_2018\_build\_37 (or older) VST3 SDK or JUCE version 5.3.2. You  
> // also need a VST2 license from Steinberg to distribute VST2 plug-ins.

This prompted me to check what I’d checked in the configuration window and, wouldn’t you know it, I had checked “VST (Legacy)”. So my first question is, in case I ever want to use that setting, does anyone know where to get that Legacy SDK?

And unfortunately, after unchecking VST Legacy (which autoselected three formats, VST3, AU, and Standalone), trying to build the project with those settings saved led to three new errors:

> File: bin/Debus/libAudio  
> Message: No such file or directory

> File: Plugin  
> Message: No such file or directory

> File: Tutorial.a  
> Message: No such file or directory

These errors were listed under “Build: Standalone Plugin…”, so I went back to the Projucer and selected only VST3. Trying to build with only VST3 selected led to a strange error:

> File: /home/john/JUCE/modules/juce\_audio\_plugin\_client/utility/…/utility/juce\_CheckSettingMacros.h  
> Message: error: #error “You need to enable at least one plugin format!”

… But I have enabled one, VST3.

Any idea what’s going on here?

Thanks again.

---

<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:** [November 28, 2018, 5:12pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/10 "2018-11-28T17:12:20Z")

</div>

The text in the tutorial needs to be updated. I’ll do that now.

JUCE’s embedded VST2 SDK has been removed. See the 5.4 release notes:

> [@JUCE 5.4.0 Released](https://forum.juce.com/t/juce-5-4-0-released/30215):
>
> Headline features macOS Mojave and iOS 12 support JUCE has been updated to fully support the new macOS 10.14 Mojave and iOS 12 updates. Windows hiDPI support JUCE now supports building per-monitor DPI-aware applications on Windows 8.1+, meaning that JUCE applications will scale dynamically with the DPI of the monitor that they are on ensuring crisp UIs on high resolution displays. The VST client and hosting code has also been updated to support the Windows scaling APIs making it possi…

> [@The removal of JUCE’s embedded VST2 SDK](https://forum.juce.com/t/the-removal-of-juce-s-embedded-vst2-sdk/29994):
>
> Hello JUCE users, Following Steinberg’s announcement that they are removing the VST2 components from the VST3 SDK [https://www.steinberg.net/en/newsandevents/news/newsdetail/article/vst-3611-sdk-now-available-4906.html](https://www.steinberg.net/en/newsandevents/news/newsdetail/article/vst-3611-sdk-now-available-4906.html) the JUCE team is also removing the VST2 header files from the JUCE repo. As of this commit [https://github.com/WeAreROLI/JUCE/commit/a3566b8c1edac29997490143982cd2b2eb089ffa](https://github.com/WeAreROLI/JUCE/commit/a3566b8c1edac29997490143982cd2b2eb089ffa) it is no longer possible to create VST2 plug-ins using JUCE’s embedded VST2 SDK. If you are an existing…

Those three errors look like a problem creating a file with spaces in its name: “Audio Plugin Tutorial”. This might be a JUCE bug. Does it work if you don’t use spaces?

The last error is because we don’t support VST3 on Linux. This is something we’re working on though.

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [November 28, 2018, 9:08pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/11 "2018-11-28T21:08:47Z")

</div>

> Those three errors look like a problem creating a file with spaces in its name: “Audio Plugin Tutorial”. This might be a JUCE bug. Does it work if you don’t use spaces?

I’m a little embarrassed that I didn’t notice it was just the name of the file separated into different erros xD Removing the spaces does fix those errors, but then some new errors pop up:

File: ~/Juce/modules/juce\_core/native/juce\_cur\_Network.cpp  
Message: undefined reference to ‘curl\_easy\_init’

There’s one of those errors for ‘curl\_easy\_setopt’, curl\_easy\_cleanup’, curl\_easy\_getinfo’, and a bunch of others.

A little bit of googling makes it seem like the issue is that I have to somehow “link” the curl library to the project, but I’m not sure how to do that.

I’m pretty sure I did install the curl library with `sudo apt-get install curl`, and it looks like maybe I can link it in CodeBlocks in the settings, but adding either of the curl directories on my hard drive (`usr/share/doc/curl` or `usr/include/x86_64-linux-gnu/curl`) to the “Link Libraries” in CodeBlocks (Found via Settings–\>Compiler…–\>Linker Settings) gives me the following error:

File: /usr/share/doc/curl  
Message: No such file or directory

Do I need to link the library in the Projucer somehow? Have I not actually installed curl correctly?

> The last error is because we don’t support VST3 on Linux. This is something we’re working on though.

I see. Once it’s supported, I assume there will be the `JUCE_VST3_CAN_REPLACE_VST2` option available in the Projucer settings, so that one can create the VST3 plugin without VST2 dependencies?

Thanks very much again for all the help. Once I’m remotely proficient with all of this, I hope I’ll have the opportunity to help others as much as you’re helping me.

---

<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:** [November 29, 2018, 9:42am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/12 "2018-11-29T09:42:13Z")

</div>

You need to install the curl development package:

See here:

> [@List of Juce dependencies under linux](https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121/30):
>
> Seems to work fine for me: apt-get install clang freeglut3-dev g++ libasound2-dev libcurl4-openssl-dev libfreetype6-dev libjack-jackd2-dev libx11-dev libxcomposite-dev libxcursor-dev libxinerama-dev libxrandr-dev mesa-common-dev webkit2gtk-4.0 cd JUCE/extras/Projucer/Builds/LinuxMakefile make CXX=clang++ -j4

It will be linked automatically by CodeBlocks.

`JUCE_VST3_CAN_REPLACE_VST2` is for doing the opposite - you set this when you require backwards compatible VST3 plug-ins which use VST2 SDK. It’s off by default for new projects.

---

<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:** [November 29, 2018, 11:18am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/13 "2018-11-29T11:18:38Z")

</div>

Actually the curl linking problems appear to come from Code::Blocks - the Linux Makefile works correctly. I’m looking at it now.

---

<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:** [November 29, 2018, 12:28pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/14 "2018-11-29T12:28:16Z")

</div>

Both linking curl and spaces in the project name are fixed in this commit:

> <https://github.com/WeAreROLI/JUCE/commit/81634a788b55f2210a59636c1be300e70db8195d>

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [December 2, 2018, 5:53pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/15 "2018-12-02T17:53:35Z")

</div>

> Both linking curl and spaces in the project name are fixed in this commit:

Very cool, thanks! Do I need to pick a “daily” release or anything like that to get the new version? I tried just redownloading/cloning JUCE from the github repository (and then rebuilding the Projucer, resaving a new project, opening it in CodeBlocks, and then hitting “build”), but it didn’t fix the spaces-in-the-project-name error. (Commits have been officially accepted into the code right? They aren’t pending or anything like that?)

Thanks again,  
-J

---

<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:** [December 3, 2018, 7:14am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/16 "2018-12-03T07:14:58Z")

</div>

> [@jlmoriart1](#):
>
> I tried just redownloading/cloning JUCE from the github repository

By default this will give you the content of JUCE on the `master` branch. However, active development is happening on the `develop` branch. The `develop` branch is merged into the `master` branch when the JUCE team decides it is time to make a numbered release (like `5.4.1`).

If you are cloning the JUCE repository using git on the command line, then you need to checkout the `develop` branch:

```auto
git checkout develop

```

If you are downloading the JUCE code as an archive from GitHub, then you need to select the `develop` branch in the GitHub UI before clicking on `Download ZIP`: [https://github.com/WeAreROLI/JUCE/archive/develop.zip](https://github.com/WeAreROLI/JUCE/archive/develop.zip)

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [December 3, 2018, 6:58pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/17 "2018-12-03T18:58:25Z")

</div>

Thanks a bunch, I’m now aware of github branches =)

I got the new version and the spaces-in-file-name issue has been resolved, but now I’m getting this error…

```
File: usr/share/doc/curl
Message: No Such File Or Directory

```

There is a sparse looking folder named curl there, though, with two .gz file and one text file in it:

```
changelog.Debian.gz
NEWS.Debian.gz
copyright

```

It looks like what changed is that the CodeBlocks project automatically opens with “`file:///usr/share/doc/curl`” entered into the “linker” settings. When I go there manually andopen the file explorer GUI that opens up for specifying the location, it’s looking specifically for \*.a, \*.so, \*.lib, \*.dylib, or \*.bundle files, and doesn’t even show the curl folder that had been specified.

Is that maybe the problem? Should the curl folder have a file with one of those extensions in it? Or should the linker settings be pointed somewhere else?

For what it’s worth, I tried just compiling the project using the makefile from the command line, and that worked fine. I would really like to get an IDE going though.

Thanks again,  
-J

---

<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:** [December 4, 2018, 9:02am UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/18 "2018-12-04T09:02:26Z")

</div>

I’m surprised to see a `file:///` url there…

What’s the result of running `pkg-config --cflags libcurl` and `pkg-config --libs libcurl` from the command line?

---

<div class="post-metadata">

**Author:** ![jlmoriart](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jlmoriart/32/8268_2.png) [@jlmoriart](https://forum.juce.com/u/jlmoriart)\
**Post date:** [December 4, 2018, 7:56pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/19 "2018-12-04T19:56:44Z")

</div>

Output from  
`pkg-config --cflags libcurl`  
was  
`-I/usr/include/x86_64-linux-gnu`

and output from  
`pkg-config --libs libcurl`  
was  
-lcurl

Copying “`-I/usr/include/x86_64-linux-gnu`” into the linker settings (in place of the other setting) allowed me to compile and run the example via CodeBlocks =)

---

<div class="post-metadata">

**Author:** ![edgallyot](https://avatars.discourse-cdn.com/v4/letter/e/96bed5/32.png) [@edgallyot](https://forum.juce.com/u/edgallyot)\
**Post date:** [February 11, 2021, 1:24pm UTC](https://forum.juce.com/t/setting-up-on-linux-some-basic-questions-that-googling-didnt-answer/30503/20 "2021-02-11T13:24:17Z")

</div>

Followed your advice on Pop OS and it worked an absolute treat. Thanks so much mate!
