LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-26-2008, 03:18 PM   #1
JoAnne Abbott
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Rep: Reputation: 16
kipi makefile error


I am trying to satisfy the dependencys of digikam and have this error when compiling.

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 `/home/me/Test/kipi-plugins-0.1.2/kipi-plugins/kameraklient'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/me/Test/kipi-plugins-0.1.2/kipi-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/me/Test/kipi-plugins-0.1.2'
make: *** [all] Error 2

}

int GPCamera::autoDetect(QString& model, QString& port) {
::CameraList camList;
CameraAbilitiesList *abilList;
GPPortInfoList *infoList;
const char *camModel_, *camPort_;
GPContext *context;

context = gp_context_new ();

gp_abilities_list_new (&abilList);
gp_abilities_list_load (abilList, context);
gp_port_info_list_new (&infoList);
gp_port_info_list_load (infoList);
gp_abilities_list_detect (abilList, infoList, &camList, context);
gp_abilities_list_free (abilList);
gp_port_info_list_free (infoList);

gp_context_unref( context );



int count = gp_list_count (&camList);

if (count<=0) {
return -1;
}

This is on a new slack 12 install.

JoAnne
 
Old 04-27-2008, 03:34 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,625

Rep: Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528Reputation: 2528
Compiled fine here on a clean Slackware 12, with kdepim installed, all kde-3.5.7
I used:
kipi-plugins-0.1.5, libkipi-0.1.6, libkdcraw-0.1.4, libkexiv2-0.1.7, libgphoto2-2.4.1,
exiw2-0.15, compiled from source.
And I did : 'ln -s "whatever_location"/include/gphoto2/headers.h /usr/local/include/'
because some programs include gphoto2-headers without folder reference, e.g.
gpcamera.cpp-line-33, gpstatus.h-line-30, gpiface.cpp-line-26
Suggest: 'make clean' before you run it over again.
Good luck
Rgds
P.S.:There is a bug in kipi-plugins-0.1.3, about 0.1.2 I don't know

Correction:'ln -s "whatever_location"/include/gphoto2/*.h
/usr/local/include/'

Last edited by knudfl; 04-27-2008 at 12:42 PM. Reason: added 1 line
 
Old 04-27-2008, 05:30 AM   #3
JoAnne Abbott
LQ Newbie
 
Registered: Mar 2008
Posts: 25

Original Poster
Rep: Reputation: 16
Thank you I will give it another try with your suggestion.

JoAnne
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing kipi-plugins AND digikam Kirmonkey Linux - Software 4 10-08-2007 02:51 PM
Makefile error nesta Programming 2 02-07-2007 05:53 AM
Makefile error wildcat22 Programming 1 02-17-2004 10:53 PM
makefile error durden2.0 Programming 2 01-25-2004 04:45 PM
makefile error puckney Linux - Newbie 3 04-25-2002 09:03 PM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration