juce_FlacAudioFormat.cpp tries to include wrong header (flac/all.h and following instead of FLAC/all.h or something)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juce (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This bug (or not a bug) can be found in juce-modules-source package.
I've already installed libflac-dev package and it does not have any flac/all.h file. There is a FLAC/all.h only. And I've searched for flac/all.h by apt-file and did find nothing.
I think the problem is in this part of juce_FlacAudioF
namespace FlacNamespace
{
#if JUCE_INCLUDE_
[...]
#undef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS 1
#define flac_max jmax
#define flac_min jmin
#undef DEBUG // (some flac code dumps debug trace if the app defines this macro)
#include "flac/all.h"
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#include "flac/libFLAC/
#undef VERSION
#else
#include <FLAC/all.h>
#endif
[...]
}
1) Ubuntu Artful Aardvark (development branch) 17.10
2) juce-modules-source 4.3.0~repack-1
3) I expected this code will include FLAC/all.h or something.
4) It tries to include something that Ubuntu 17.10 does not have.
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: juce-modules-source 4.3.0~repack-1
ProcVersionSign
Uname: Linux 4.13.0-12-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
CurrentDesktop: LXDE
Date: Sun Oct 1 15:22:41 2017
Dependencies:
InstallationDate: Installed on 2017-09-29 (1 days ago)
InstallationMedia: Lubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
PackageArchitec
SourcePackage: juce
UpgradeStatus: No upgrade log present (probably fresh install)
And yet another juce_OggVorbisA udioFormat. cpp tries to include oggvorbis/ vorbisenc. h