Can't compile digiKam on Windows

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

Can't compile digiKam on Windows

Laurent Espitallier
  Getting an error :


In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
                  from
D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
.cpp:61:
D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
does not na
me a type
D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
terminatin
g ' character
D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
'\130' in pr
ogram
D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
'\130' in pr
ogram
In file included from
D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
.cpp:61:
D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
terminating
" character
D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
member functi
on `virtual bool Digikam::PNGLoader::save(const QString&,
Digikam::DImgLoaderObs
erver*)':
D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
error: `digi
KamVersion' was not declared in this scope
make[2]: ***
[digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
gloader.obj] Error 1
make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
make: *** [all] Error 2


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

Re: Can't compile digiKam on Windows

Gilles Caulier-4
Can you cat your digikam/digikam/version.h file there please ? Sound
like something a mistake with svn when it build this file beforze
compilation

How do you have get digiKam source code ? From svn ?

Gilles Caulier

2010/8/20 Laurent Espitallier <[hidden email]>:

>  Getting an error :
>
>
> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>                  from
> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
> .cpp:61:
> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
> does not na
> me a type
> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
> terminatin
> g ' character
> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
> '\130' in pr
> ogram
> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
> '\130' in pr
> ogram
> In file included from
> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
> .cpp:61:
> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
> terminating
> " character
> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
> member functi
> on `virtual bool Digikam::PNGLoader::save(const QString&,
> Digikam::DImgLoaderObs
> erver*)':
> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
> error: `digi
> KamVersion' was not declared in this scope
> make[2]: ***
> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
> gloader.obj] Error 1
> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
> make: *** [all] Error 2
>
>
> _______________________________________________
> 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: Can't compile digiKam on Windows

Laurent Espitallier
  Hi Gilles, got it from
svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.

Sorry but I just made an svn update a few minutes ago. I try to compile
it again.

/* ============================================================
  *
  * This file is a part of digiKam project
  * http://www.digikam.org
  *
  * Date        : 2004-09-09
  * Description : digiKam release ID header.
  *
  * Copyright (C) 2004-2009 by Gilles Caulier <caulier dot gilles at
gmail dot com>
  *
  * This program is free software; you can redistribute it
  * and/or modify it under the terms of the GNU General
  * Public License as published by the Free Software Foundation;
  * either version 2, or (at your option)
  * any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * ============================================================ */

#ifndef DIGIKAM_VERSION_H
#define DIGIKAM_VERSION_H

// Qt includes.

#include <QString>

// KDE includes.

#include <klocale.h>
#include <klocalizedstring.h>

// Local includes.

#include "svnversion.h"

namespace Digikam
{

static const char digikam_version_short[] = "1.4.0";
static const char digikam_version[]       = "1.4.0";

static inline const QString digiKamVersion()
{
     // We only take the mixed revision
     QString svnVer      = QString(SVNVERSION).section(":", 0, 0);

     QString digiKamVer  = QString(digikam_version);
     if (!svnVer.isEmpty() && !svnVer.startsWith("unknow") &&
!svnVer.startsWith("export"))
         digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
revision", "%1 (rev.: %2)", digikam_version, svnVer);

     return digiKamVer;
}

static inline KLocalizedString additionalInformation()
{
     return ki18n("IRC:\n"
                  "irc.freenode.net - #digikam\n\n"
                  "Feedback:\n"
                  "[hidden email]\n\n"
                  "Build date: %1").subs(__DATE__);
}

}  // namespace Digikam

#endif /* DIGIKAM_VERSION_H */

Le 20/08/2010 08:38, Gilles Caulier a écrit :

> Can you cat your digikam/digikam/version.h file there please ? Sound
> like something a mistake with svn when it build this file beforze
> compilation
>
> How do you have get digiKam source code ? From svn ?
>
> Gilles Caulier
>
> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>   Getting an error :
>>
>>
>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>                   from
>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>> .cpp:61:
>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>> does not na
>> me a type
>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>> terminatin
>> g ' character
>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>> '\130' in pr
>> ogram
>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>> '\130' in pr
>> ogram
>> In file included from
>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>> .cpp:61:
>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>> terminating
>> " character
>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>> member functi
>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>> Digikam::DImgLoaderObs
>> erver*)':
>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>> error: `digi
>> KamVersion' was not declared in this scope
>> make[2]: ***
>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>> gloader.obj] Error 1
>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>> make: *** [all] Error 2
>>
>>
>> _______________________________________________
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digiKam on Windows

Laurent Espitallier
  I am getting the same error.

Le 20/08/2010 19:09, Laurent Espitallier a écrit :

>    Hi Gilles, got it from
> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.
>
> Sorry but I just made an svn update a few minutes ago. I try to compile
> it again.
>
> /* ============================================================
>    *
>    * This file is a part of digiKam project
>    * http://www.digikam.org
>    *
>    * Date        : 2004-09-09
>    * Description : digiKam release ID header.
>    *
>    * Copyright (C) 2004-2009 by Gilles Caulier<caulier dot gilles at
> gmail dot com>
>    *
>    * This program is free software; you can redistribute it
>    * and/or modify it under the terms of the GNU General
>    * Public License as published by the Free Software Foundation;
>    * either version 2, or (at your option)
>    * any later version.
>    *
>    * This program is distributed in the hope that it will be useful,
>    * but WITHOUT ANY WARRANTY; without even the implied warranty of
>    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>    * GNU General Public License for more details.
>    *
>    * ============================================================ */
>
> #ifndef DIGIKAM_VERSION_H
> #define DIGIKAM_VERSION_H
>
> // Qt includes.
>
> #include<QString>
>
> // KDE includes.
>
> #include<klocale.h>
> #include<klocalizedstring.h>
>
> // Local includes.
>
> #include "svnversion.h"
>
> namespace Digikam
> {
>
> static const char digikam_version_short[] = "1.4.0";
> static const char digikam_version[]       = "1.4.0";
>
> static inline const QString digiKamVersion()
> {
>       // We only take the mixed revision
>       QString svnVer      = QString(SVNVERSION).section(":", 0, 0);
>
>       QString digiKamVer  = QString(digikam_version);
>       if (!svnVer.isEmpty()&&  !svnVer.startsWith("unknow")&&
> !svnVer.startsWith("export"))
>           digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
> revision", "%1 (rev.: %2)", digikam_version, svnVer);
>
>       return digiKamVer;
> }
>
> static inline KLocalizedString additionalInformation()
> {
>       return ki18n("IRC:\n"
>                    "irc.freenode.net - #digikam\n\n"
>                    "Feedback:\n"
>                    "[hidden email]\n\n"
>                    "Build date: %1").subs(__DATE__);
> }
>
> }  // namespace Digikam
>
> #endif /* DIGIKAM_VERSION_H */
>
> Le 20/08/2010 08:38, Gilles Caulier a écrit :
>> Can you cat your digikam/digikam/version.h file there please ? Sound
>> like something a mistake with svn when it build this file beforze
>> compilation
>>
>> How do you have get digiKam source code ? From svn ?
>>
>> Gilles Caulier
>>
>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>    Getting an error :
>>>
>>>
>>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>>                    from
>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>> .cpp:61:
>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>>> does not na
>>> me a type
>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>>> terminatin
>>> g ' character
>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>> '\130' in pr
>>> ogram
>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>> '\130' in pr
>>> ogram
>>> In file included from
>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>> .cpp:61:
>>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>>> terminating
>>> " character
>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>>> member functi
>>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>>> Digikam::DImgLoaderObs
>>> erver*)':
>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>>> error: `digi
>>> KamVersion' was not declared in this scope
>>> make[2]: ***
>>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>>> gloader.obj] Error 1
>>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> _______________________________________________
>>> 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
>



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

Re: Can't compile digiKam on Windows

Gilles Caulier-4
Do you get source code from svn using checkout or export subversion command ?

Gilles

2010/8/20 Laurent Espitallier <[hidden email]>:

>  I am getting the same error.
>
> Le 20/08/2010 19:09, Laurent Espitallier a écrit :
>>    Hi Gilles, got it from
>> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.
>>
>> Sorry but I just made an svn update a few minutes ago. I try to compile
>> it again.
>>
>> /* ============================================================
>>    *
>>    * This file is a part of digiKam project
>>    * http://www.digikam.org
>>    *
>>    * Date        : 2004-09-09
>>    * Description : digiKam release ID header.
>>    *
>>    * Copyright (C) 2004-2009 by Gilles Caulier<caulier dot gilles at
>> gmail dot com>
>>    *
>>    * This program is free software; you can redistribute it
>>    * and/or modify it under the terms of the GNU General
>>    * Public License as published by the Free Software Foundation;
>>    * either version 2, or (at your option)
>>    * any later version.
>>    *
>>    * This program is distributed in the hope that it will be useful,
>>    * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>    * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>    * GNU General Public License for more details.
>>    *
>>    * ============================================================ */
>>
>> #ifndef DIGIKAM_VERSION_H
>> #define DIGIKAM_VERSION_H
>>
>> // Qt includes.
>>
>> #include<QString>
>>
>> // KDE includes.
>>
>> #include<klocale.h>
>> #include<klocalizedstring.h>
>>
>> // Local includes.
>>
>> #include "svnversion.h"
>>
>> namespace Digikam
>> {
>>
>> static const char digikam_version_short[] = "1.4.0";
>> static const char digikam_version[]       = "1.4.0";
>>
>> static inline const QString digiKamVersion()
>> {
>>       // We only take the mixed revision
>>       QString svnVer      = QString(SVNVERSION).section(":", 0, 0);
>>
>>       QString digiKamVer  = QString(digikam_version);
>>       if (!svnVer.isEmpty()&&  !svnVer.startsWith("unknow")&&
>> !svnVer.startsWith("export"))
>>           digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
>> revision", "%1 (rev.: %2)", digikam_version, svnVer);
>>
>>       return digiKamVer;
>> }
>>
>> static inline KLocalizedString additionalInformation()
>> {
>>       return ki18n("IRC:\n"
>>                    "irc.freenode.net - #digikam\n\n"
>>                    "Feedback:\n"
>>                    "[hidden email]\n\n"
>>                    "Build date: %1").subs(__DATE__);
>> }
>>
>> }  // namespace Digikam
>>
>> #endif /* DIGIKAM_VERSION_H */
>>
>> Le 20/08/2010 08:38, Gilles Caulier a écrit :
>>> Can you cat your digikam/digikam/version.h file there please ? Sound
>>> like something a mistake with svn when it build this file beforze
>>> compilation
>>>
>>> How do you have get digiKam source code ? From svn ?
>>>
>>> Gilles Caulier
>>>
>>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>>    Getting an error :
>>>>
>>>>
>>>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>>>                    from
>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>> .cpp:61:
>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>>>> does not na
>>>> me a type
>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>>>> terminatin
>>>> g ' character
>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>> '\130' in pr
>>>> ogram
>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>> '\130' in pr
>>>> ogram
>>>> In file included from
>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>> .cpp:61:
>>>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>>>> terminating
>>>> " character
>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>>>> member functi
>>>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>>>> Digikam::DImgLoaderObs
>>>> erver*)':
>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>>>> error: `digi
>>>> KamVersion' was not declared in this scope
>>>> make[2]: ***
>>>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>>>> gloader.obj] Error 1
>>>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>>>> make: *** [all] Error 2
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
>
>
>
> _______________________________________________
> 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: Can't compile digiKam on Windows

Laurent Espitallier
  Checkout with Tortoise SVN.

Le 21/08/2010 10:19, Gilles Caulier a écrit :

> Do you get source code from svn using checkout or export subversion command ?
>
> Gilles
>
> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>   I am getting the same error.
>>
>> Le 20/08/2010 19:09, Laurent Espitallier a écrit :
>>>     Hi Gilles, got it from
>>> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.
>>>
>>> Sorry but I just made an svn update a few minutes ago. I try to compile
>>> it again.
>>>
>>> /* ============================================================
>>>     *
>>>     * This file is a part of digiKam project
>>>     * http://www.digikam.org
>>>     *
>>>     * Date        : 2004-09-09
>>>     * Description : digiKam release ID header.
>>>     *
>>>     * Copyright (C) 2004-2009 by Gilles Caulier<caulier dot gilles at
>>> gmail dot com>
>>>     *
>>>     * This program is free software; you can redistribute it
>>>     * and/or modify it under the terms of the GNU General
>>>     * Public License as published by the Free Software Foundation;
>>>     * either version 2, or (at your option)
>>>     * any later version.
>>>     *
>>>     * This program is distributed in the hope that it will be useful,
>>>     * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>>     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>>     * GNU General Public License for more details.
>>>     *
>>>     * ============================================================ */
>>>
>>> #ifndef DIGIKAM_VERSION_H
>>> #define DIGIKAM_VERSION_H
>>>
>>> // Qt includes.
>>>
>>> #include<QString>
>>>
>>> // KDE includes.
>>>
>>> #include<klocale.h>
>>> #include<klocalizedstring.h>
>>>
>>> // Local includes.
>>>
>>> #include "svnversion.h"
>>>
>>> namespace Digikam
>>> {
>>>
>>> static const char digikam_version_short[] = "1.4.0";
>>> static const char digikam_version[]       = "1.4.0";
>>>
>>> static inline const QString digiKamVersion()
>>> {
>>>        // We only take the mixed revision
>>>        QString svnVer      = QString(SVNVERSION).section(":", 0, 0);
>>>
>>>        QString digiKamVer  = QString(digikam_version);
>>>        if (!svnVer.isEmpty()&&    !svnVer.startsWith("unknow")&&
>>> !svnVer.startsWith("export"))
>>>            digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
>>> revision", "%1 (rev.: %2)", digikam_version, svnVer);
>>>
>>>        return digiKamVer;
>>> }
>>>
>>> static inline KLocalizedString additionalInformation()
>>> {
>>>        return ki18n("IRC:\n"
>>>                     "irc.freenode.net - #digikam\n\n"
>>>                     "Feedback:\n"
>>>                     "[hidden email]\n\n"
>>>                     "Build date: %1").subs(__DATE__);
>>> }
>>>
>>> }  // namespace Digikam
>>>
>>> #endif /* DIGIKAM_VERSION_H */
>>>
>>> Le 20/08/2010 08:38, Gilles Caulier a écrit :
>>>> Can you cat your digikam/digikam/version.h file there please ? Sound
>>>> like something a mistake with svn when it build this file beforze
>>>> compilation
>>>>
>>>> How do you have get digiKam source code ? From svn ?
>>>>
>>>> Gilles Caulier
>>>>
>>>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>>>     Getting an error :
>>>>>
>>>>>
>>>>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>>>>                     from
>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>> .cpp:61:
>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>>>>> does not na
>>>>> me a type
>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>>>>> terminatin
>>>>> g ' character
>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>> '\130' in pr
>>>>> ogram
>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>> '\130' in pr
>>>>> ogram
>>>>> In file included from
>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>> .cpp:61:
>>>>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>>>>> terminating
>>>>> " character
>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>>>>> member functi
>>>>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>>>>> Digikam::DImgLoaderObs
>>>>> erver*)':
>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>>>>> error: `digi
>>>>> KamVersion' was not declared in this scope
>>>>> make[2]: ***
>>>>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>>>>> gloader.obj] Error 1
>>>>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>>>>> make: *** [all] Error 2
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>
>>
>>
>> _______________________________________________
>> 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
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digiKam on Windows

Gilles Caulier-4
Well there is no reason. to checkout svn, the subversion revision is
available and it must compile fine as well...

Gilles

2010/8/21 Laurent Espitallier <[hidden email]>:

>  Checkout with Tortoise SVN.
>
> Le 21/08/2010 10:19, Gilles Caulier a écrit :
>> Do you get source code from svn using checkout or export subversion command ?
>>
>> Gilles
>>
>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>   I am getting the same error.
>>>
>>> Le 20/08/2010 19:09, Laurent Espitallier a écrit :
>>>>     Hi Gilles, got it from
>>>> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.
>>>>
>>>> Sorry but I just made an svn update a few minutes ago. I try to compile
>>>> it again.
>>>>
>>>> /* ============================================================
>>>>     *
>>>>     * This file is a part of digiKam project
>>>>     * http://www.digikam.org
>>>>     *
>>>>     * Date        : 2004-09-09
>>>>     * Description : digiKam release ID header.
>>>>     *
>>>>     * Copyright (C) 2004-2009 by Gilles Caulier<caulier dot gilles at
>>>> gmail dot com>
>>>>     *
>>>>     * This program is free software; you can redistribute it
>>>>     * and/or modify it under the terms of the GNU General
>>>>     * Public License as published by the Free Software Foundation;
>>>>     * either version 2, or (at your option)
>>>>     * any later version.
>>>>     *
>>>>     * This program is distributed in the hope that it will be useful,
>>>>     * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>>>     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>>>     * GNU General Public License for more details.
>>>>     *
>>>>     * ============================================================ */
>>>>
>>>> #ifndef DIGIKAM_VERSION_H
>>>> #define DIGIKAM_VERSION_H
>>>>
>>>> // Qt includes.
>>>>
>>>> #include<QString>
>>>>
>>>> // KDE includes.
>>>>
>>>> #include<klocale.h>
>>>> #include<klocalizedstring.h>
>>>>
>>>> // Local includes.
>>>>
>>>> #include "svnversion.h"
>>>>
>>>> namespace Digikam
>>>> {
>>>>
>>>> static const char digikam_version_short[] = "1.4.0";
>>>> static const char digikam_version[]       = "1.4.0";
>>>>
>>>> static inline const QString digiKamVersion()
>>>> {
>>>>        // We only take the mixed revision
>>>>        QString svnVer      = QString(SVNVERSION).section(":", 0, 0);
>>>>
>>>>        QString digiKamVer  = QString(digikam_version);
>>>>        if (!svnVer.isEmpty()&&    !svnVer.startsWith("unknow")&&
>>>> !svnVer.startsWith("export"))
>>>>            digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
>>>> revision", "%1 (rev.: %2)", digikam_version, svnVer);
>>>>
>>>>        return digiKamVer;
>>>> }
>>>>
>>>> static inline KLocalizedString additionalInformation()
>>>> {
>>>>        return ki18n("IRC:\n"
>>>>                     "irc.freenode.net - #digikam\n\n"
>>>>                     "Feedback:\n"
>>>>                     "[hidden email]\n\n"
>>>>                     "Build date: %1").subs(__DATE__);
>>>> }
>>>>
>>>> }  // namespace Digikam
>>>>
>>>> #endif /* DIGIKAM_VERSION_H */
>>>>
>>>> Le 20/08/2010 08:38, Gilles Caulier a écrit :
>>>>> Can you cat your digikam/digikam/version.h file there please ? Sound
>>>>> like something a mistake with svn when it build this file beforze
>>>>> compilation
>>>>>
>>>>> How do you have get digiKam source code ? From svn ?
>>>>>
>>>>> Gilles Caulier
>>>>>
>>>>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>>>>     Getting an error :
>>>>>>
>>>>>>
>>>>>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>>>>>                     from
>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>>> .cpp:61:
>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>>>>>> does not na
>>>>>> me a type
>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>>>>>> terminatin
>>>>>> g ' character
>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>>> '\130' in pr
>>>>>> ogram
>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>>> '\130' in pr
>>>>>> ogram
>>>>>> In file included from
>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>>> .cpp:61:
>>>>>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>>>>>> terminating
>>>>>> " character
>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>>>>>> member functi
>>>>>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>>>>>> Digikam::DImgLoaderObs
>>>>>> erver*)':
>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>>>>>> error: `digi
>>>>>> KamVersion' was not declared in this scope
>>>>>> make[2]: ***
>>>>>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>>>>>> gloader.obj] Error 1
>>>>>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>>>>>> make: *** [all] Error 2
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> 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
>>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digiKam on Windows

Laurent Espitallier
  First I updated my SVN client but I had the same error.

Then I removed CR/LF from :

digikam/digikam/svnversion.h

and

kipi-plugins/common/libkipiplugins/svnversion.h

now, digikam seems to compile fine.

Le 21/08/2010 19:13, Gilles Caulier a écrit :

> Well there is no reason. to checkout svn, the subversion revision is
> available and it must compile fine as well...
>
> Gilles
>
> 2010/8/21 Laurent Espitallier<[hidden email]>:
>>   Checkout with Tortoise SVN.
>>
>> Le 21/08/2010 10:19, Gilles Caulier a écrit :
>>> Do you get source code from svn using checkout or export subversion command ?
>>>
>>> Gilles
>>>
>>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>>    I am getting the same error.
>>>>
>>>> Le 20/08/2010 19:09, Laurent Espitallier a écrit :
>>>>>      Hi Gilles, got it from
>>>>> svn://anonsvn.kde.org/home/kde/trunk/extragear/graphics yesterday.
>>>>>
>>>>> Sorry but I just made an svn update a few minutes ago. I try to compile
>>>>> it again.
>>>>>
>>>>> /* ============================================================
>>>>>      *
>>>>>      * This file is a part of digiKam project
>>>>>      * http://www.digikam.org
>>>>>      *
>>>>>      * Date        : 2004-09-09
>>>>>      * Description : digiKam release ID header.
>>>>>      *
>>>>>      * Copyright (C) 2004-2009 by Gilles Caulier<caulier dot gilles at
>>>>> gmail dot com>
>>>>>      *
>>>>>      * This program is free software; you can redistribute it
>>>>>      * and/or modify it under the terms of the GNU General
>>>>>      * Public License as published by the Free Software Foundation;
>>>>>      * either version 2, or (at your option)
>>>>>      * any later version.
>>>>>      *
>>>>>      * This program is distributed in the hope that it will be useful,
>>>>>      * but WITHOUT ANY WARRANTY; without even the implied warranty of
>>>>>      * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
>>>>>      * GNU General Public License for more details.
>>>>>      *
>>>>>      * ============================================================ */
>>>>>
>>>>> #ifndef DIGIKAM_VERSION_H
>>>>> #define DIGIKAM_VERSION_H
>>>>>
>>>>> // Qt includes.
>>>>>
>>>>> #include<QString>
>>>>>
>>>>> // KDE includes.
>>>>>
>>>>> #include<klocale.h>
>>>>> #include<klocalizedstring.h>
>>>>>
>>>>> // Local includes.
>>>>>
>>>>> #include "svnversion.h"
>>>>>
>>>>> namespace Digikam
>>>>> {
>>>>>
>>>>> static const char digikam_version_short[] = "1.4.0";
>>>>> static const char digikam_version[]       = "1.4.0";
>>>>>
>>>>> static inline const QString digiKamVersion()
>>>>> {
>>>>>         // We only take the mixed revision
>>>>>         QString svnVer      = QString(SVNVERSION).section(":", 0, 0);
>>>>>
>>>>>         QString digiKamVer  = QString(digikam_version);
>>>>>         if (!svnVer.isEmpty()&&      !svnVer.startsWith("unknow")&&
>>>>> !svnVer.startsWith("export"))
>>>>>             digiKamVer = i18nc("%1 is digiKam version, %2 is the svn
>>>>> revision", "%1 (rev.: %2)", digikam_version, svnVer);
>>>>>
>>>>>         return digiKamVer;
>>>>> }
>>>>>
>>>>> static inline KLocalizedString additionalInformation()
>>>>> {
>>>>>         return ki18n("IRC:\n"
>>>>>                      "irc.freenode.net - #digikam\n\n"
>>>>>                      "Feedback:\n"
>>>>>                      "[hidden email]\n\n"
>>>>>                      "Build date: %1").subs(__DATE__);
>>>>> }
>>>>>
>>>>> }  // namespace Digikam
>>>>>
>>>>> #endif /* DIGIKAM_VERSION_H */
>>>>>
>>>>> Le 20/08/2010 08:38, Gilles Caulier a écrit :
>>>>>> Can you cat your digikam/digikam/version.h file there please ? Sound
>>>>>> like something a mistake with svn when it build this file beforze
>>>>>> compilation
>>>>>>
>>>>>> How do you have get digiKam source code ? From svn ?
>>>>>>
>>>>>> Gilles Caulier
>>>>>>
>>>>>> 2010/8/20 Laurent Espitallier<[hidden email]>:
>>>>>>>      Getting an error :
>>>>>>>
>>>>>>>
>>>>>>> In file included from D:/kde4_devel/graphics/digikam/digikam/version.h:38,
>>>>>>>                      from
>>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>>>> .cpp:61:
>>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: `Vous'
>>>>>>> does not na
>>>>>>> me a type
>>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:2: error: missing
>>>>>>> terminatin
>>>>>>> g ' character
>>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>>>> '\130' in pr
>>>>>>> ogram
>>>>>>> D:/kde4_devel/graphics/digikam/digikam/svnversion.h:3: error: stray
>>>>>>> '\130' in pr
>>>>>>> ogram
>>>>>>> In file included from
>>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader
>>>>>>> .cpp:61:
>>>>>>> D:/kde4_devel/graphics/digikam/digikam/version.h:49: error: missing
>>>>>>> terminating
>>>>>>> " character
>>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp: In
>>>>>>> member functi
>>>>>>> on `virtual bool Digikam::PNGLoader::save(const QString&,
>>>>>>> Digikam::DImgLoaderObs
>>>>>>> erver*)':
>>>>>>> D:\kde4_devel\graphics\digikam\libs\dimg\loaders\pngloader.cpp:752:
>>>>>>> error: `digi
>>>>>>> KamVersion' was not declared in this scope
>>>>>>> make[2]: ***
>>>>>>> [digikam/digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pn
>>>>>>> gloader.obj] Error 1
>>>>>>> make[1]: *** [digikam/digikam/CMakeFiles/digikamcore.dir/all] Error 2
>>>>>>> make: *** [all] Error 2
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> 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
>>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>
> _______________________________________________
> 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