Bug 138816 - gpcamera.cpp compile failure CameraList camList
Summary: gpcamera.cpp compile failure CameraList camList
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-14 19:17 UTC by Treeve Jelbert
Modified: 2017-08-19 20:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 0.9.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Treeve Jelbert 2006-12-14 19:17:26 UTC
Version:           kipi-plugins-0.1.3-beta1 (using KDE KDE 3.5.5)
Installed from:    Compiled From Sources
Compiler:          gcc-4.1.1 
OS:                Linux

using gcc-4.1.1 and libgphoto2-2.3.0:


I get the following compile error:


if /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../kipi-plugins/common/include
-I../../kipi-plugins/common/exiv2iface -I/usr/include/gphoto2  -I/usr/include/qt
-I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -O2 -O -march=athlon -mmmx -m3dnow -pipe -O3 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION  -MT gpcamera.lo -MD -MP -MF ".deps/gpcamera.Tpo" \
          -c -o gpcamera.lo `test -f 'gpcamera.cpp' || echo './'`gpcamera.cpp; \
        then mv -f ".deps/gpcamera.Tpo" ".deps/gpcamera.Plo"; \
        else rm -f ".deps/gpcamera.Tpo"; exit 1; \
        fi
gpcamera.cpp: In static member function 'static int
KIPIKameraKlientPlugin::GPCamera::autoDetect(QString&, QString&)':
gpcamera.cpp:564: error: aggregate 'CameraList camList' has incomplete type and cannot be
defined
make[3]: *** [gpcamera.lo] Error 1
make[3]: Leaving directory `/usr/src/kipi-plugins-0.1.3-beta1/kipi-plugins/kameraklient'
Comment 1 caulier.gilles 2006-12-14 20:11:20 UTC
Treeve,

I have recently fixed this problem on current implementation from svn. Please checkout svn repository and try again. Thanks in advance.

Gilles Caulier
Comment 2 Marcus Meissner 2007-01-07 13:54:21 UTC
trunk kdeextragear is fixed here. (CameraList*, gp_new_list(&camlist); ... )