|
Micheal,
This one is for you (:=) : [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/main.obj main.cpp [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/digikamadaptor.obj digikamadaptor.cpp [ 88%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 Copyright (C) Microsoft Corporation. All rights reserved. Linking CXX executable ..\..\bin\digikam.exe qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajoutez /LTCG Ó la lig ne de commande de l'Údition de liens pour amÚliorer les performances de l'╔diteur de liens CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet ..\..\bin\digikam.exp LIBCMT.lib(crt0init.obj) : warning LNK4098: conflit entre la bibliothÞque par dÚfaut 'msvcrt.lib' et les autres bibliothÞquesá; utilisez /NODEFAULTLIB :library gpsmarkertiler.obj : error LNK2001: symbole externe non rÚsolu "public: static class KMap::AbstractMarkerTiler::TileIndex __cdecl KMap::AbstractMarker Tiler::TileIndex::fromCoordinates(class KMap::GeoCoordinates const &,int)" (?fromCoordinates@TileIndex@AbstractMarkerTiler@KMap@@SA?AV123@ABVGeoCoordi nates@3@H@Z) ..\..\bin\digikam.exe : fatal error LNK1120: 1 externes non rÚsolus LINK failed. with 2 NMAKE : fatal error U1077: '"C:\Program Files (x86)\CMake 2.8\bin\cmake.exe"' : code retour '0xffffffff' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : code retour '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"' : code retour '0x2' Stop. D:\devel\msvc\gosc2010\graphics\digikam> Gilles _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
On 09/08/2010 03:43 PM, Gilles Caulier wrote:
> Micheal, > > This one is for you (:=) : > > [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/main.obj > main.cpp > [ 88%] Building CXX object > digikam/digikam/CMakeFiles/digikam.dir/digikamadaptor.obj > digikamadaptor.cpp > [ 88%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res > Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 > Copyright (C) Microsoft Corporation. All rights reserved. > > Linking CXX executable ..\..\bin\digikam.exe > qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec > /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajoutez > /LTCG Ó la lig > ne de commande de l'Údition de liens pour amÚliorer les performances > de l'╔diteur de liens > CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet > ..\..\bin\digikam.exp > LIBCMT.lib(crt0init.obj) : warning LNK4098: conflit entre la > bibliothÞque par dÚfaut 'msvcrt.lib' et les autres bibliothÞquesá; > utilisez /NODEFAULTLIB > :library > gpsmarkertiler.obj : error LNK2001: symbole externe non rÚsolu > "public: static class KMap::AbstractMarkerTiler::TileIndex __cdecl > KMap::AbstractMarker > Tiler::TileIndex::fromCoordinates(class KMap::GeoCoordinates const > &,int)" (?fromCoordinates@TileIndex@AbstractMarkerTiler@KMap@@SA?AV123@ABVGeoCoordi > nates@3@H@Z) > ..\..\bin\digikam.exe : fatal error LNK1120: 1 externes non rÚsolus How does msvc++ handle nested classes? Do you need an extra export macro for them? That's my only suggestion, but I can't test it... Michael _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
libkmap export rules is the same than digiKam, and currently, digiKam
from trunk compile fine under MSVC. I don't think that we need an export export macro. Gilles Caulier 2010/9/8 Michael G. Hansen <[hidden email]>: > On 09/08/2010 03:43 PM, Gilles Caulier wrote: >> Micheal, >> >> This one is for you (:=) : >> >> [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/main.obj >> main.cpp >> [ 88%] Building CXX object >> digikam/digikam/CMakeFiles/digikam.dir/digikamadaptor.obj >> digikamadaptor.cpp >> [ 88%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res >> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 >> Copyright (C) Microsoft Corporation. All rights reserved. >> >> Linking CXX executable ..\..\bin\digikam.exe >> qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec >> /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajoutez >> /LTCG Ó la lig >> ne de commande de l'Údition de liens pour amÚliorer les performances >> de l'╔diteur de liens >> CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet >> ..\..\bin\digikam.exp >> LIBCMT.lib(crt0init.obj) : warning LNK4098: conflit entre la >> bibliothÞque par dÚfaut 'msvcrt.lib' et les autres bibliothÞquesá; >> utilisez /NODEFAULTLIB >> :library >> gpsmarkertiler.obj : error LNK2001: symbole externe non rÚsolu >> "public: static class KMap::AbstractMarkerTiler::TileIndex __cdecl >> KMap::AbstractMarker >> Tiler::TileIndex::fromCoordinates(class KMap::GeoCoordinates const >> &,int)" (?fromCoordinates@TileIndex@AbstractMarkerTiler@KMap@@SA?AV123@ABVGeoCoordi >> nates@3@H@Z) >> ..\..\bin\digikam.exe : fatal error LNK1120: 1 externes non rÚsolus > > How does msvc++ handle nested classes? Do you need an extra export macro > for them? That's my only suggestion, but I can't test it... > > Michael > _______________________________________________ > 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 |
|
Michael,
I think that the nested public classes need to be exported as the parent class is do Marcel, what do you think about ? It's logic ? Anyway, i will try this solution... Gilles 2010/9/8 Gilles Caulier <[hidden email]>: > libkmap export rules is the same than digiKam, and currently, digiKam > from trunk compile fine under MSVC. > > I don't think that we need an export export macro. > > Gilles Caulier > > 2010/9/8 Michael G. Hansen <[hidden email]>: >> On 09/08/2010 03:43 PM, Gilles Caulier wrote: >>> Micheal, >>> >>> This one is for you (:=) : >>> >>> [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/main.obj >>> main.cpp >>> [ 88%] Building CXX object >>> digikam/digikam/CMakeFiles/digikam.dir/digikamadaptor.obj >>> digikamadaptor.cpp >>> [ 88%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res >>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 >>> Copyright (C) Microsoft Corporation. All rights reserved. >>> >>> Linking CXX executable ..\..\bin\digikam.exe >>> qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec >>> /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajoutez >>> /LTCG Ó la lig >>> ne de commande de l'Údition de liens pour amÚliorer les performances >>> de l'╔diteur de liens >>> CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet >>> ..\..\bin\digikam.exp >>> LIBCMT.lib(crt0init.obj) : warning LNK4098: conflit entre la >>> bibliothÞque par dÚfaut 'msvcrt.lib' et les autres bibliothÞquesá; >>> utilisez /NODEFAULTLIB >>> :library >>> gpsmarkertiler.obj : error LNK2001: symbole externe non rÚsolu >>> "public: static class KMap::AbstractMarkerTiler::TileIndex __cdecl >>> KMap::AbstractMarker >>> Tiler::TileIndex::fromCoordinates(class KMap::GeoCoordinates const >>> &,int)" (?fromCoordinates@TileIndex@AbstractMarkerTiler@KMap@@SA?AV123@ABVGeoCoordi >>> nates@3@H@Z) >>> ..\..\bin\digikam.exe : fatal error LNK1120: 1 externes non rÚsolus >> >> How does msvc++ handle nested classes? Do you need an extra export macro >> for them? That's my only suggestion, but I can't test it... >> >> Michael >> _______________________________________________ >> 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 |
|
Fixed by my commit 1173426
Gilles 2010/9/9 Gilles Caulier <[hidden email]>: > Michael, > > I think that the nested public classes need to be exported as the > parent class is do > > Marcel, what do you think about ? It's logic ? > > Anyway, i will try this solution... > > Gilles > > 2010/9/8 Gilles Caulier <[hidden email]>: >> libkmap export rules is the same than digiKam, and currently, digiKam >> from trunk compile fine under MSVC. >> >> I don't think that we need an export export macro. >> >> Gilles Caulier >> >> 2010/9/8 Michael G. Hansen <[hidden email]>: >>> On 09/08/2010 03:43 PM, Gilles Caulier wrote: >>>> Micheal, >>>> >>>> This one is for you (:=) : >>>> >>>> [ 88%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/main.obj >>>> main.cpp >>>> [ 88%] Building CXX object >>>> digikam/digikam/CMakeFiles/digikam.dir/digikamadaptor.obj >>>> digikamadaptor.cpp >>>> [ 88%] Building RC object digikam/digikam/CMakeFiles/digikam.dir/digikam.res >>>> Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1 >>>> Copyright (C) Microsoft Corporation. All rights reserved. >>>> >>>> Linking CXX executable ..\..\bin\digikam.exe >>>> qtmain.lib(qtmain_win.obj) : .netmodule ou module MSIL compilÚ avec >>>> /GL trouvÚá; redÚmarrage de l'Údition de liens avec /LTCGá; ajoutez >>>> /LTCG Ó la lig >>>> ne de commande de l'Údition de liens pour amÚliorer les performances >>>> de l'╔diteur de liens >>>> CrÚation de la bibliothÞque ..\..\bin\digikam.lib et de l'objet >>>> ..\..\bin\digikam.exp >>>> LIBCMT.lib(crt0init.obj) : warning LNK4098: conflit entre la >>>> bibliothÞque par dÚfaut 'msvcrt.lib' et les autres bibliothÞquesá; >>>> utilisez /NODEFAULTLIB >>>> :library >>>> gpsmarkertiler.obj : error LNK2001: symbole externe non rÚsolu >>>> "public: static class KMap::AbstractMarkerTiler::TileIndex __cdecl >>>> KMap::AbstractMarker >>>> Tiler::TileIndex::fromCoordinates(class KMap::GeoCoordinates const >>>> &,int)" (?fromCoordinates@TileIndex@AbstractMarkerTiler@KMap@@SA?AV123@ABVGeoCoordi >>>> nates@3@H@Z) >>>> ..\..\bin\digikam.exe : fatal error LNK1120: 1 externes non rÚsolus >>> >>> How does msvc++ handle nested classes? Do you need an extra export macro >>> for them? That's my only suggestion, but I can't test it... >>> >>> Michael >>> _______________________________________________ >>> 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 |
|
On Thu, Sep 9, 2010 at 4:01 PM, Gilles Caulier <[hidden email]> wrote:
Fixed by my commit 1173426 _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
|
I still some problem with MSVC. Please use TDM-GCC to test. for this
compiler, all is already fixed. digiKam MSVC binary file crash at startup. This is not the case about GCC. On my computer, i set 2 env. : one for each compiler.... Gilles 2010/9/9 Aditya Bhatt <[hidden email]>: > > On Thu, Sep 9, 2010 at 4:01 PM, Gilles Caulier <[hidden email]> > wrote: >> >> Fixed by my commit 1173426 >> > > Great. I'm installing windows tonight to test digiKam and libface, hopefully > all will go well ;-) > > _______________________________________________ > 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 |
| Free forum by Nabble | Edit this page |
