Build errors on windows (msvc 2005/nmake) for kdelibs4_snapshot

Michael Biebl mbiebl at gmail.com
Sun May 7 15:28:43 CEST 2006


I currently get the following build errors under Windows XP using msvc
2005/cmake 2.4.1/nmake:

1.)
Linking CXX shared module ..\..\bin\keramik.dll
   Creating library ..\..\bin\keramik.lib and object ..\..\bin\keramik.exp
keramik.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) p
ublic: static struct KStyle::DoubleButtonOption * __cdecl KStyle::OptionBase<str
uct KStyle::DoubleButtonOption,struct KStyle::Option>::defaultOption(void)" (__i
mp_?defaultOption@?$OptionBase at UDoubleButtonOption@KStyle@@UOption at 2@@KStyle@@SA
PAUDoubleButtonOption at 2@XZ) referenced in function "protected: static struct KSt
yle::DoubleButtonOption const * __cdecl KStyle::extractOption<struct KStyle::Dou
bleButtonOption const *>(struct KStyle::Option *)" (??$extractOption at PBUDoubleBu
ttonOption at KStyle@@@KStyle@@KAPBUDoubleButtonOption at 0@PAUOption at 0@@Z)
..\..\bin\keramik.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\link.
EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.

2.)
Scanning dependencies of target kabc_file_plugin
Building CXX object kabc/plugins/file/CMakeFiles/kabc_file_plugin.dir/resourcefi
leplugin.obj
resourcefileplugin.cpp
NMAKE : fatal error U1071: cycle in dependency tree for target 'bin\kabc_file.dl
l'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop

The same error also happens for kabc_net and kabc_ldapkio

3.)
Generating kdewidgets.cpp
NMAKE : fatal error U1077: '..\bin\makekdewidgets.exe' : return code '0xc0000135
'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\nmake
.exe"' : return code '0x2'
Stop.

Everything else builds fine if I run nmake with /I.
Just thought I let you know. Maybe someone has a fix for it.

Cheers,
Michael


More information about the Kde-buildsystem mailing list