Version: (using Devel) Compiler: msvc2005 OS: MS Windows Installed from: Compiled sources Here the output: ksplanetbase.obj : error LNK2005: "protected: static __int64 const KSPlanetBase::UID_SOL_BIGOBJ" (?UID_SOL_BIGOBJ@KSPlanetBase@@1_JB) ist bereits in kstars_auto moc.obj definiert. ksplanetbase.obj : error LNK2005: "protected: static __int64 const KSPlanetBase::UID_SOL_ASTEROID" (?UID_SOL_ASTEROID@KSPlanetBase@@1_JB) ist bereits in kstars_ automoc.obj definiert. ksplanetbase.obj : error LNK2005: "protected: static __int64 const KSPlanetBase::UID_SOL_COMET" (?UID_SOL_COMET@KSPlanetBase@@1_JB) ist bereits in kstars_automo c.obj definiert. skyobject.obj : error LNK2005: "public: static __int64 const SkyObject::UID_STAR" (?UID_STAR@SkyObject@@2_JB) ist bereits in kstars_automoc.obj definiert. skyobject.obj : error LNK2005: "public: static __int64 const SkyObject::UID_GALAXY" (?UID_GALAXY@SkyObject@@2_JB) ist bereits in kstars_automoc.obj definiert. skyobject.obj : error LNK2005: "public: static __int64 const SkyObject::UID_DEEPSKY" (?UID_DEEPSKY@SkyObject@@2_JB) ist bereits in kstars_automoc.obj definiert. skyobject.obj : error LNK2005: "public: static __int64 const SkyObject::UID_SOLARSYS" (?UID_SOLARSYS@SkyObject@@2_JB) ist bereits in kstars_automoc.obj definier t. skyobject.obj : error LNK2005: "public: static __int64 const SkyObject::invalidUID" (?invalidUID@SkyObject@@2_JB) ist bereits in kstars_automoc.obj definiert. -------------------------------------------------- msvc simply doesn't like the "static const UID UID_SOL_BIGOBJ = 0;" and others in the header :(
Windows-only problem I guess
Hi If I am not wrong, Casper probably fixed this in SVN commits 1022811 and 1022913. Does it work? Should this bug be closed? Regards Akarsh
I tried compiling kdeedu with kstars from trunk. kstars had no compile problems instead kalgebra could not be compiled.
@Ralf. svn up plz. I fixed them some minutes ago (but hey - didn't i heard from others that we've no problems and bugs on windows? Here you see the realtiy... :( )
@Christian: Will the nightly build service help in this area ?
I don't think so - but this is not the topic of the bug and should maybe discussed elsewhere.