[mythtv-users] Mac frontend

Ian Campbell ijc at hellion.org.uk
Fri May 10 08:54:32 UTC 2019


Not a mac user but my 2c:

On Fri, 2019-05-10 at 16:32 +0800, James Linder wrote:
> [haycorn] /Users/jam/mythtv/mythtv [638]% ./configure  --enable-mac-
> bundle --qmake=/opt/local/libexec/qt5/bin/qmake --extra-cxxflags=-
> I/Iopt/local/include --extra-cflags=-I/opt/local/include 

Perhaps try adding `-I/opt/local/include` to `--extra-cppflags` as well
(or instead of those).

Includes are normally expanded by the c preprocessor (cpp) rather than
the compiler, although the two are often rather conflated in the
implementation of compilers these days sometimes the specific variable
used can make a different to build systems/Makefiles etc.

> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/
> Developer/SDKs/MacOSX10.14.sdk -mmacosx-version-min=10.12 -w -DMMX
> -DUSING_APPLEREMOTE -D_GNU_SOURCE -DUSE_FFTW3 -DQT_NO_DEBUG
> -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/opt/local/include/libxml2 -I../..
> -I../../external/FFmpeg -I../libmythbase -I.. -I../..
> -I/opt/local/libexec/qt5/lib/QtGui.framework/Headers
> -I/opt/local/libexec/qt5/lib/QtCore.framework/Headers -Imoc
> -I/System/Library/Frameworks/OpenGL.framework/Headers
> -I/System/Library/Frameworks/AGL.framework/Headers
> -I/opt/local/libexec/qt5/mkspecs/macx-clang
> -F/opt/local/libexec/qt5/lib -o obj/el_processor.o el_processor.cpp
> el_processor.cpp:26:10: fatal error: 'fftw3.h' file not found
> #include "fftw3.h”

There is no -I/opt/local/include here, which is the root of the problem

> ---------------------------------------------------
> but if I replace fftw3.h with the full path ie
> /opt/local/include/fftw3.h

In general, Don't Do This ;-)

Ian.



More information about the mythtv-users mailing list