[mythtv-users] Compile Error in libmyth - No such file or directory
Drew Tomlinson
drew at mykitchentable.net
Tue Apr 26 18:39:18 UTC 2005
I am a total newb when it comes to compiling. I'm also using FreeBSD
5.4-STABLE which I'm sure doesn't help. :) But I'm trying to learn!
I've downloaded the myth-0.18 tarball and am attempting to compile.
Everything goes along fine until I hit libmyth. Here's the output:
--BEGIN--
tv# make
g++ -c -pipe -march=athlon -Wall -W -O3 -Wall -Wno-switch -pthread
-fomit-frame-pointer -DPIC -fPIC -DMMX -DUSING_IVTV -DUSING_XRANDR
-DUSING_XVMC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/local/share/qt/mkspecs/freebsd-g++ -I.
-I../../../../../../../local/include -I../libmythsamplerate
-I../libmythsoundtouch -I../.. -I../../../../../../../local/include
-I/include -o DisplayResX.o DisplayResX.cpp
DisplayResX.cpp:7:22: X11/Xlib.h: No such file or directory
DisplayResX.cpp:8:25: X11/Xlibint.h: No such file or directory
DisplayResX.cpp:9:24: X11/Xproto.h: No such file or directory
DisplayResX.cpp:10:35: X11/extensions/Xrandr.h: No such file or directory
In file included from DisplayRes.h:9,
from DisplayResX.h:4,
from DisplayResX.cpp:15:
DisplayResScreen.h:6:25: qstringlist.h: No such file or directory
In file included from DisplayRes.h:9,
from DisplayResX.h:4,
from DisplayResX.cpp:15:
DisplayResScreen.h:23: error: expected `,' or `...' before '&' token
DisplayResScreen.h:23: error: ISO C++ forbids declaration of `QString'
with no type
DisplayResScreen.h:43: error: `QString' does not name a type
DisplayResScreen.h:48: error: `QStringList' does not name a type
DisplayResScreen.h:49: error: expected `,' or `...' before '&' token
DisplayResScreen.h:49: error: ISO C++ forbids declaration of
`QStringList' with no type
--END--
The output continues with a whole bunch of errors like the last few. I
assume the real problem is that Xlib.h and the others aren't found.
I've checked my system and found these files in
/usr/X11R6/include/X11/. What should I edit or set in my environment so
that these files are found?
Thanks,
Drew
--
Visit The Alchemist's Warehouse
Magic Tricks, DVDs, Videos, Books, & More!
http://www.alchemistswarehouse.com
More information about the mythtv-users
mailing list