Problem is as described in the title: fatal error: JuceHeader.h: No such file or directory 26 | #include <JuceHeader.h>
Working with VS Code (not Visual Studio).
Created my first project (audio template). I did not tamper with any files, only changed the global path settings because JUCE did not accept the defaults (see image).
DemoRunner.exe works fine.
Entering g++ -std=c++17 *.cpp at the terminal, with either Linux terminal or VS Code terminal, for either my new project or a demo example, I get the error
Tried moving JuceHeader.h into the same folder as main.cpp & maincomponent.cpp
More particulars:
New installation of JUCE on Fedora 35 (35 is latest version)
In parallel with this issue I have been trying to correct a CMake problem:
*it cannot find several packages (see attached image)
it cannot build juceaide
As you know Fedora 35 (& 34) has pipewire instead of pulseaudio. I am unsure if this is a contributing matter but it seems peculiar it cannot find “alsa”.
I am having trouble installing the dependencies on Fedora.
Your instructions work for MX Linux, a Debian-based distro, but not for Fedora 35.
As you know the commands have to be adjusted for Redhat distros: e.g; sudo dnf update for Fedora 35.
sudo dnf install libasound2-dev , as one example, returns “file not found”.
I find Fedora to be is a rigid distro compared to Debian distros I have worked with.The Fedora repository is limited, JUCE is not found there and - unlike the synaptic repository - the libraries and dependencies JUCE needs are not found there.