Bug 221056 - expoblending.app causes digikam compile to fail
Summary: expoblending.app causes digikam compile to fail
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Fink Packages Other
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-03 04:07 UTC by rishi.j.sanyal
Modified: 2017-08-19 20:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 1.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rishi.j.sanyal 2010-01-03 04:07:16 UTC
Version:            (using KDE 4.3.4)
Compiler:          GCC 4.2.1 
OS:                OS X
Installed from:    Mac OS X (Fink) Packages

Dear Gilles et. al.,

I finally had some time this holiday to take a crack at re-compiling digiKam (SVN) on the newest OS X: Snow Leopard (10.6.2). After workarounds to get qt4 & openCV to compile properly, digiKam compilation went surprisingly smoothly, up to 97%. But then it failed when compiling the expoblending.app (your newest feature, I believe?). Here's the error:

[ 97%] Building CXX object kipi-plugins/expoblending/CMakeFiles/expoblending.dir/blendingdlg/enfusestack.o

Linking CXX executable expoblending.app/Contents/MacOS/expoblending
Undefined symbols:
  "_GOMP_critical_name_start", referenced from:
      __ZN22KIPIExpoBlendingPlugin12ActionThread18startPreProcessingERKN4KUrl4ListER4QMapIS1_NS_20ItemPreprocessedUrlsEEbRKN11KDcrawIface19RawDecodingSettingsER7QString.omp_fn.0 in actionthread.o
      __ZN22KIPIExpoBlendingPlugin12ActionThread18startPreProcessingERKN4KUrl4ListER4QMapIS1_NS_20ItemPreprocessedUrlsEEbRKN11KDcrawIface19RawDecodingSettingsER7QString.omp_fn.0 in actionthread.o
  "_GOMP_critical_name_end", referenced from:
      __ZN22KIPIExpoBlendingPlugin12ActionThread18startPreProcessingERKN4KUrl4ListER4QMapIS1_NS_20ItemPreprocessedUrlsEEbRKN11KDcrawIface19RawDecodingSettingsER7QString.omp_fn.0 in actionthread.o
      __ZN22KIPIExpoBlendingPlugin12ActionThread18startPreProcessingERKN4KUrl4ListER4QMapIS1_NS_20ItemPreprocessedUrlsEEbRKN11KDcrawIface19RawDecodingSettingsER7QString.omp_fn.0 in actionthread.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [kipi-plugins/expoblending/expoblending.app/Contents/MacOS/expoblending] Error 1
make[1]: *** [kipi-plugins/expoblending/CMakeFiles/expoblending.dir/all] Error 2
make: *** [all] Error 2

Seems to me like it's probably something trivial. Any ideas on a fix?

I'm excited to get this working again on the new OS. Since I've also finally put up a wordpress blog (http://rishisanyalphotography.com/blog), I'll also volunteer to maintain an updated blog entry on how to compile the latest digiKam on OS X!

Many thanks, as always,
Rishi
Comment 1 caulier.gilles 2010-01-03 09:45:20 UTC
Install libgomp (OpenMP library for GCC). It used to paralelize execution of Raw demosaicing into exposure blending plugin

Gilles Caulier
Comment 2 caulier.gilles 2010-01-03 09:49:20 UTC
SVN commit 1069269 by cgilles:

don"t forget to link expovlending stand alone program to libgomp
BUGS: 221056


 M  +9 -4      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1069269
Comment 3 caulier.gilles 2010-01-03 09:50:12 UTC
Checkout svn again and recompile. It must be fixed now.

Gilles