[Digikam-devel] [Bug 169814] New: compilation error: no exp2()

Thomas Klausner tk at giga.or.at
Mon Aug 25 20:22:52 BST 2008


http://bugs.kde.org/show_bug.cgi?id=169814

           Summary: compilation error: no exp2()
           Product: digikam
           Version: 0.10.0-beta2
          Platform: NetBSD pkgsrc
        OS/Version: NetBSD
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: tk at giga.or.at


Version:           0.10.0-beta2 (using KDE 4.1.0)
Compiler:          gcc (GCC) 4.1.3 20080202 prerelease (NetBSD nb1 20080202) 
OS:                NetBSD
Installed from:    NetBSD pkgsrc

digikam fails to compile on NetBSD-4.99.72/amd64, because there is no exp2()
provided by the system libraries:

[  4%] Building CXX object
digikam/CMakeFiles/digikam.dir/__/libs/dmetadata/dmet
adata.o
/scratch/digikam-kde4/work/digikam-0.10.0-beta2/libs/dmetadata/dmetadata.cpp
: In static member function 'static double
Digikam::DMetadata::apexApertureToFNu
mber(double)':
/scratch/digikam-kde4/work/digikam-0.10.0-beta2/libs/dmetadata/dmetadata.cpp
:1211: error: 'exp2' was not declared in this scope
/scratch/digikam-kde4/work/digikam-0.10.0-beta2/libs/dmetadata/dmetadata.cpp
: In static member function 'static double
Digikam::DMetadata::apexShutterSpeedT
oExposureTime(double)':
/scratch/digikam-kde4/work/digikam-0.10.0-beta2/libs/dmetadata/dmetadata.cpp
:1257: error: 'exp2' was not declared in this scope
*** Error code 1

Please use exp(log(2)*value) (or something similar) instead.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list