Building digikam on Windows

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Building digikam on Windows

Bugzilla from tobias@kaminsky.me
Hi,

to help bug [Bug 261277] Windows and Linux Frontend using the same
database I am trying to build digikam on Windows7.
I installed all latest stable kde and mingw via mingw-get-inst-20110211.exe

Unfortunaly the linking does not work:
c_api.obj
Linking CXX shared library ..\bin\libkdcraw.dll
Creating library file: ..\bin\libkdcraw.dll.a
CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj): In function `bad_alloc':
e:/kde4/bin/../lib/gcc/mingw32/4.5.2/include/c++/new:57: undefined
reference to
`vtable for std::bad_alloc'
CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTI26LibRaw_abst
ract_datastream[typeinfo for LibRaw_abstract_datastream]+0x0): undefined
referen
ce to `vtable for __cxxabiv1::__class_type_info'
CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
e6KDcrawE[typeinfo for KDcrawIface::KDcraw]+0x0): undefined reference to
`vtable
 for __cxxabiv1::__si_class_type_info'
CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
e18DcrawInfoContainerE[typeinfo for
KDcrawIface::DcrawInfoContainer]+0x0): undef
ined reference to `vtable for __cxxabiv1::__class_type_info'
CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
e19RawDecodingSettingsE[typeinfo for KDcrawIface::RawDecodingSettings]+0x0):

All PATH settings are correct.

Isn't there a simpler way to install digikam on windows7?

Thank you
Tobi
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam on Windows

Gilles Caulier-4
I don't use mingw compiler under windows.

Try TDM-GCC :

http://tdm-gcc.tdragon.net/

Gilles Caulier

2011/2/20 Tobias Kaminsky <[hidden email]>:

> Hi,
>
> to help bug [Bug 261277] Windows and Linux Frontend using the same
> database I am trying to build digikam on Windows7.
> I installed all latest stable kde and mingw via mingw-get-inst-20110211.exe
>
> Unfortunaly the linking does not work:
> c_api.obj
> Linking CXX shared library ..\bin\libkdcraw.dll
> Creating library file: ..\bin\libkdcraw.dll.a
> CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj): In function `bad_alloc':
> e:/kde4/bin/../lib/gcc/mingw32/4.5.2/include/c++/new:57: undefined
> reference to
> `vtable for std::bad_alloc'
> CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTI26LibRaw_abst
> ract_datastream[typeinfo for LibRaw_abstract_datastream]+0x0): undefined
> referen
> ce to `vtable for __cxxabiv1::__class_type_info'
> CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
> e6KDcrawE[typeinfo for KDcrawIface::KDcraw]+0x0): undefined reference to
> `vtable
>  for __cxxabiv1::__si_class_type_info'
> CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
> e18DcrawInfoContainerE[typeinfo for
> KDcrawIface::DcrawInfoContainer]+0x0): undef
> ined reference to `vtable for __cxxabiv1::__class_type_info'
> CMakeFiles\kdcraw.dir/objects.a(kdcraw.obj):kdcraw.cpp:(.rdata$_ZTIN11KDcrawIfac
> e19RawDecodingSettingsE[typeinfo for KDcrawIface::RawDecodingSettings]+0x0):
>
> All PATH settings are correct.
>
> Isn't there a simpler way to install digikam on windows7?
>
> Thank you
> Tobi
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam on Windows

Bugzilla from tobias@kaminsky.me
In reply to this post by Bugzilla from tobias@kaminsky.me
Hello Gilles,

could you please give me your exact working configuration?
Which kde-version? (Installable via kdewin-installer-gui-latest)

What I have done:
Installed latest stable version to E:/kde (every package) mingw32
Installed cmake
Installed tdm-gcc-4.5.1 to E:/kde
Edited*KDELibsDependencies.cmake*, *KDELibs4LibraryTargets-release.cmake*
Executed bootstrap.bat (with correct prefix)
But I get the error that qmake is missing.

Thank you
Tobias

_____________________________________________________________________
Message: 3
Date: Mon, 21 Feb 2011 08:59:17 +0100
From: Gilles Caulier <[hidden email]>
Subject: [Digikam-devel] Re: Building digikam on Windows
To: digiKam developers room - digiKam - Manage your photographs as a
        professional with the power of open source <[hidden email]>
Message-ID:
        <[hidden email]>
Content-Type: text/plain; charset=ISO-8859-1

I don't use mingw compiler under windows.

Try TDM-GCC :

http://tdm-gcc.tdragon.net/

Gilles Caulier


_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam on Windows

Gilles Caulier-4
Do you see my tutorial :
http://www.digikam.org/drupal/node/525

Gilles Caulier

2011/2/21 Tobias Kaminsky <[hidden email]>:

> Hello Gilles,
>
> could you please give me your exact working configuration?
> Which kde-version? (Installable via kdewin-installer-gui-latest)
>
> What I have done:
> Installed latest stable version to E:/kde (every package) mingw32
> Installed cmake
> Installed tdm-gcc-4.5.1 to E:/kde
> Edited*KDELibsDependencies.cmake*, *KDELibs4LibraryTargets-release.cmake*
> Executed bootstrap.bat (with correct prefix)
> But I get the error that qmake is missing.
>
> Thank you
> Tobias
>
> _____________________________________________________________________
> Message: 3
> Date: Mon, 21 Feb 2011 08:59:17 +0100
> From: Gilles Caulier <[hidden email]>
> Subject: [Digikam-devel] Re: Building digikam on Windows
> To: digiKam developers room - digiKam - Manage your photographs as a
>        professional with the power of open source <[hidden email]>
> Message-ID:
>        <[hidden email]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> I don't use mingw compiler under windows.
>
> Try TDM-GCC :
>
> http://tdm-gcc.tdragon.net/
>
> Gilles Caulier
>
>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Building digikam on Windows

Bugzilla from tobias@kaminsky.me
Hi,

after several tries I managed it to clone the right dikikam with all libs.
libkipi works fine with bootstrap.bat, make, make install.
But libkexiv2:

E:\digikam-software-compilation\extra\libkexiv2>bootstrap.bat
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: E:/kde/bin/gcc.exe
-- Check for working C compiler: E:/kde/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: E:/kde/bin/g++.exe
-- Check for working CXX compiler: E:/kde/bin/g++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - not found.
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.6.2 (using E:/kde/bin/qmake.exe)
-- Found Automoc4: E:/kde/bin/automoc4.exe
-- Found Perl: C:/Perl/bin/perl.exe
CMake Warning (dev) at C:/Program Files/CMake
2.8/share/cmake-2.8/Modules/CheckC
XXCompilerFlag.cmake:23 (INCLUDE):
  File C:/Program Files/CMake
  2.8/share/cmake-2.8/Modules/CheckCXXCompilerFlag.cmake includes
  e:/kde/share/apps/cmake/modules/CheckCXXSourceCompiles.cmake (found via
  CMAKE_MODULE_PATH) which shadows C:/Program Files/CMake
  2.8/share/cmake-2.8/Modules/CheckCXXSourceCompiles.cmake.  This may cause
  errors later on .

  Policy CMP0017 is not set: Prefer files from the CMake module directory
  when including from there.  Run "cmake --help-policy CMP0017" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.
Call Stack (most recent call first):
  e:/kde/share/apps/cmake/modules/FindKDE4Internal.cmake:406 (include)
  C:/Program Files/CMake 2.8/share/cmake-2.8/Modules/FindKDE4.cmake:95
(FIND_PAC
KAGE)
  CMakeLists.txt:27 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Phonon Version: 4.3.80
-- Found Phonon: E:/kde/lib/libphonon.dll.a
-- Found Phonon Includes: E:/kde/include/KDE;E:/kde/include
-- Found KDEWin library: E:/kde/lib/libkdewin.dll.a
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.4 include dir: E:/kde/include
-- Found KDE 4.4 library dir: E:/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor:
e:/kde/bin/kconfig_compiler.exe

-- Found automoc4: E:/kde/bin/automoc4.exe
-- Configuring done
-- Generating done
-- Build files have been written to:
E:/digikam-software-compilation/extra/libke
xiv2
E:\digikam-software-compilation\extra\libkexiv2>make

E:\digikam-software-compilation\extra\libkexiv2>make install
make: *** No rule to make target `install'.  Stop.

E:\digikam-software-compilation\extra\libkexiv2>

Thank you!
Tobias Kaminsky

On 21/02/11 22:02, Gilles Caulier wrote:

> Do you see my tutorial :
> http://www.digikam.org/drupal/node/525
>
> Gilles Caulier
>
> 2011/2/21 Tobias Kaminsky <[hidden email]>:
>> Hello Gilles,
>>
>> could you please give me your exact working configuration?
>> Which kde-version? (Installable via kdewin-installer-gui-latest)
>>
>> What I have done:
>> Installed latest stable version to E:/kde (every package) mingw32
>> Installed cmake
>> Installed tdm-gcc-4.5.1 to E:/kde
>> Edited*KDELibsDependencies.cmake*, *KDELibs4LibraryTargets-release.cmake*
>> Executed bootstrap.bat (with correct prefix)
>> But I get the error that qmake is missing.
>>
>> Thank you
>> Tobias
>>
>> _____________________________________________________________________
>> Message: 3
>> Date: Mon, 21 Feb 2011 08:59:17 +0100
>> From: Gilles Caulier <[hidden email]>
>> Subject: [Digikam-devel] Re: Building digikam on Windows
>> To: digiKam developers room - digiKam - Manage your photographs as a
>>        professional with the power of open source <[hidden email]>
>> Message-ID:
>>        <[hidden email]>
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> I don't use mingw compiler under windows.
>>
>> Try TDM-GCC :
>>
>> http://tdm-gcc.tdragon.net/
>>
>> Gilles Caulier
>>
>>
>> _______________________________________________
>> Digikam-devel mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-devel
>>
> _______________________________________________
> Digikam-devel mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-devel

_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel