Hi,
I cannot build the mythcam CVS. This is what I get:
mythtv mythcam # make
g++ -c -pipe -Wall -W -g -D_DEBUG -D_REENTRANT -fPIC
-D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DUSE_LIBJPEG
-DQT_THREAD_SUPPORT
-DQT_PLUGIN-I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/local/include -I/usr/local/include/mythtv
-Ijpeg-6b -I/usr/local/include/gphoto2
-I/usr/local/include/libexif -I/usr/qt/3/include -o
main.o src/main.cpp
src/main.cpp:40:21: gphoto2.h: No such file or directory
In file included from src/main.cpp:41:
src/mythcam.h:28:21: gphoto2.h: No such file or directory
In file included from src/main.cpp:41:
src/mythcam.h: In function `bool gpVerboseOK(int)':
src/mythcam.h:35: error: `gp_result_as_string'
undeclared (first use this
function)
src/mythcam.h:35: error: (Each undeclared identifier is
reported only once for
each function it appears in.)
In file included from src/main.cpp:42:
src/cameraslist.h:30:25: mythwidgets.h: No such file or
directory
src/cameraslist.h:31:25: mythdialogs.h: No such file or
directory
src/cameraslist.h:32:21: uitypes.h: No such file or
directory
src/cameraslist.h:33:22: xmlparse.h: No such file or
directory
src/cameraslist.h:35:21: gphoto2.h: No such file or
directory
In file included from src/main.cpp:42:
src/cameraslist.h: At global scope:
src/cameraslist.h:111: error: `GPPortInfo' was not
declared in this scope
src/cameraslist.h:111: error: `pi' was not declared in
this scope
src/cameraslist.h:111: error: invalid data member
initialization
src/cameraslist.h:111: error: (use `=' to initialize
static data members)
src/cameraslist.h:114: error: syntax error before `*' token
src/cameraslist.h:116: error: `CameraAbilitiesList' was
not declared in this
scope
src/cameraslist.h:116: error: `caList' was not declared
in this scope
src/cameraslist.h:116: error: `GPPortInfoList' was not
declared in this scope
src/cameraslist.h:116: error: `piList' was not declared
in this scope
src/cameraslist.h:116: error: invalid data member
initialization
src/cameraslist.h:116: error: variable or field
`AutodetectCamera' declared
void
src/cameraslist.h:119: error: `GPContext' was not
declared in this scope
src/cameraslist.h:119: error: `context' was not
declared in this scope
src/cameraslist.h:120: error: parse error before `,' token
src/cameraslist.h:123: error: `GPContext' was not
declared in this scope
src/cameraslist.h:123: error: `context' was not
declared in this scope
src/cameraslist.h:124: error: parse error before `int'
src/cameraslist.h:126: error: `GPContext' was not
declared in this scope
src/cameraslist.h:126: error: `context' was not
declared in this scope
src/cameraslist.h:127: error: parse error before `int'
src/cameraslist.h:129: error: syntax error before `*' token
src/cameraslist.h:130: error: syntax error before `*' token
src/cameraslist.h:131: error: syntax error before `*' token
make: *** [main.o] Error 1
Logged In: NO
Please edit settings.pro and set the path to your libgphoto2
and libexif include directories:
GPHOTO2_INCLUDES = ...
EXIF_INCLUDES = ...
This is not auto-detected at current.
Then run
> qmake mythcam.pro
> make