Jaroslaw Staniek said the following, On 2008-08-08 21:17:
Hi,
I've been using kdelibs-branch for a long time, just todaty switched back to
kdelibs trunk. I have this for kde4-config linking (verbose dump):
Linking CXX executable ..\bin\kde4-config.exe
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\kde4\bin\cmake.exe -E vs_link_exe C:\vc8\VC\bin\cl.exe /nologo
@CMakeFiles\kde4-config.dir\objects.rsp
@C:\Users\jarek\AppData\Local\Temp\nm9249.tmp
Visual Studio Incremental Link
Create ..\bin\kde4-config.exe.resource.txt
RC Pass 1:
C:/vc8/VC/bin/rc.exe /fo..\bin\kde4-config.exe.embed.manifest.res
..\bin\kde4-config.exe.resource.txt
LINK Pass 1:
C:\vc8\VC\bin\cl.exe /nologo
CMakeFiles\kde4-config.dir\kde4-config_automoc.obj
CMakeFiles\kde4-config.dir\kde-config.obj /DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc
/GR -wd4250 -wd4251 -wd4396 -wd4661 /D_DEBUG /MDd /Zi /Ob0 /Od /RTC1
/Fe..\bin\kde4-config.exe
/FdC:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin\kde4-config.pdb -link
/implib:..\bin\kde4-config.lib /version:0.0 /MANIFEST /STACK:10000000
/machine:I386 /debug /INCREMENTAL:YES /NODEFAULTLIB:libcmtd
/DEFAULTLIB:msvcrtd /subsystem:console
-LIBPATH:C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin
-LIBPATH:C:\kde4\lib C:\kde4\lib\qtmaind.lib ..\bin\kdecore.lib
C:\kde4\lib\QtDBusd4.lib C:\kde4\lib\QtCored4.lib optimized.lib
C:\kde4\lib\kdewin32.lib debug.lib C:\kde4\lib\kdewin32d.lib user32.lib
shell32.lib ws2_32.lib netapi32.lib userenv.lib kernel32.lib user32.lib
gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib
comdlg32.lib advapi32.lib
/MANIFESTFILE:..\bin\kde4-config.exe.intermediate.manifest
..\bin\kde4-config.exe.embed.manifest.res
LINK : fatal error LNK1104: cannot open file 'optimized.lib'
^^^^^^^^^^
This is clean build after unmerging everything.
Ideas?
attached kdecore/CMakeFiles/kde4-config.dir/build.make for reference
(msvc 2005 SP1)
--
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
# CMAKE generated file: DO NOT EDIT!
# Generated by "NMake Makefiles" Generator, CMake Version 2.6
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canoncical targets will work.
.SUFFIXES:
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
SHELL = cmd.exe
# The CMake executable.
CMAKE_COMMAND = C:\kde4\bin\cmake.exe
# The command to remove a file.
RM = C:\kde4\bin\cmake.exe -E remove -f
# The program to use to edit the cache.
CMAKE_EDIT_COMMAND = C:\kde4\bin\CMakeSetup.exe
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = C:\kde4\svn\trunk\KDE\kdelibs
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
# Include any dependencies generated for this target.
include kdecore\CMakeFiles\kde4-config.dir\depend.make
# Include the progress variables for this target.
include kdecore\CMakeFiles\kde4-config.dir\progress.make
# Include the compile flags for this target's objects.
include kdecore\CMakeFiles\kde4-config.dir\flags.make
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj:
kdecore\CMakeFiles\kde4-config.dir\flags.make
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj:
kdecore\kde4-config_automoc.cpp
$(CMAKE_COMMAND) -E cmake_progress_report
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\CMakeFiles $(CMAKE_PROGRESS_1)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Building CXX object kdecore/CMakeFiles/kde4-config.dir/kde4-config_automoc.obj"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe @<<
/nologo $(CXX_FLAGS) $(CXX_DEFINES) /TP
/FoCMakeFiles\kde4-config.dir\kde4-config_automoc.obj
/FdC:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin\kde4-config.pdb -c
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore\kde4-config_automoc.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Preprocessing CXX source to CMakeFiles/kde4-config.dir/kde4-config_automoc.i"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe >
CMakeFiles\kde4-config.dir\kde4-config_automoc.i @<<
/nologo $(CXX_FLAGS) $(CXX_DEFINES) /TP -E
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore\kde4-config_automoc.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Compiling CXX source to assembly
CMakeFiles/kde4-config.dir/kde4-config_automoc.s"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe @<<
/nologo $(CXX_FLAGS) /TP /FAs /FoNUL
/FaCMakeFiles\kde4-config.dir\kde4-config_automoc.s /c
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore\kde4-config_automoc.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.requires:
.PHONY : kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.requires
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.provides:
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.requires
$(MAKE) -f kdecore\CMakeFiles\kde4-config.dir\build.make /nologo
-$(MAKEFLAGS)
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.provides.build
.PHONY : kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.provides
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.provides.build:
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj
.PHONY :
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.provides.build
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj:
kdecore\CMakeFiles\kde4-config.dir\flags.make
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj:
C:\kde4\svn\trunk\KDE\kdelibs\kdecore\kde-config.cpp
$(CMAKE_COMMAND) -E cmake_progress_report
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\CMakeFiles $(CMAKE_PROGRESS_2)
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Building CXX object kdecore/CMakeFiles/kde4-config.dir/kde-config.obj"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe @<<
/nologo $(CXX_FLAGS) $(CXX_DEFINES) /TP
/FoCMakeFiles\kde4-config.dir\kde-config.obj
/FdC:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin\kde4-config.pdb -c
C:\kde4\svn\trunk\KDE\kdelibs\kdecore\kde-config.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde-config.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Preprocessing CXX source to CMakeFiles/kde4-config.dir/kde-config.i"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe > CMakeFiles\kde4-config.dir\kde-config.i @<<
/nologo $(CXX_FLAGS) $(CXX_DEFINES) /TP -E
C:\kde4\svn\trunk\KDE\kdelibs\kdecore\kde-config.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde-config.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green
"Compiling CXX source to assembly CMakeFiles/kde4-config.dir/kde-config.s"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\vc8\VC\bin\cl.exe @<<
/nologo $(CXX_FLAGS) /TP /FAs /FoNUL
/FaCMakeFiles\kde4-config.dir\kde-config.s /c
C:\kde4\svn\trunk\KDE\kdelibs\kdecore\kde-config.cpp
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.requires:
.PHONY : kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.requires
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.provides:
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.requires
$(MAKE) -f kdecore\CMakeFiles\kde4-config.dir\build.make /nologo
-$(MAKEFLAGS) kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.provides.build
.PHONY : kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.provides
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.provides.build:
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj
.PHONY : kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.provides.build
# Object files for target kde4-config
kde4__config_OBJECTS = \
"CMakeFiles\kde4-config.dir\kde4-config_automoc.obj" \
"CMakeFiles\kde4-config.dir\kde-config.obj"
# External object files for target kde4-config
kde4__config_EXTERNAL_OBJECTS =
bin\kde4-config.exe: kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj
bin\kde4-config.exe: kdecore\CMakeFiles\kde4-config.dir\kde-config.obj
bin\kde4-config.exe: C:\kde4\lib\qtmaind.lib
bin\kde4-config.exe: C:\kde4\lib\QtCored4.lib
bin\kde4-config.exe: bin\kdecore.dll
bin\kde4-config.exe: C:\kde4\lib\kdewin32d.lib
bin\kde4-config.exe: C:\kde4\lib\QtNetworkd4.lib
bin\kde4-config.exe: C:\kde4\lib\QtDBusd4.lib
bin\kde4-config.exe: C:\kde4\lib\QtXmld4.lib
bin\kde4-config.exe: C:\kde4\lib\zlib.lib
bin\kde4-config.exe: C:\kde4\lib\bzip2.lib
bin\kde4-config.exe: C:\kde4\lib\libintl.lib
bin\kde4-config.exe: kdecore\CMakeFiles\kde4-config.dir\build.make
bin\kde4-config.exe: kdecore\CMakeFiles\kde4-config.dir\objects.rsp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold
"Linking CXX executable ..\bin\kde4-config.exe"
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\kde4\bin\cmake.exe -E vs_link_exe C:\vc8\VC\bin\cl.exe /nologo
@CMakeFiles\kde4-config.dir\objects.rsp @<<
/DWIN32 /D_WINDOWS /W3 /Zm1000 /EHsc /GR -wd4250 -wd4251 -wd4396 -wd4661
/D_DEBUG /MDd /Zi /Ob0 /Od /RTC1 /Fe..\bin\kde4-config.exe
/FdC:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin\kde4-config.pdb -link
/implib:..\bin\kde4-config.lib /version:0.0 /MANIFEST /STACK:10000000
/machine:I386 /debug /INCREMENTAL:YES /NODEFAULTLIB:libcmtd /DEFAULTLIB:msvcrtd
/subsystem:console
-LIBPATH:C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\bin
-LIBPATH:C:\kde4\lib C:\kde4\lib\qtmaind.lib ..\bin\kdecore.lib
C:\kde4\lib\QtDBusd4.lib C:\kde4\lib\QtCored4.lib optimized.lib
C:\kde4\lib\kdewin32.lib debug.lib C:\kde4\lib\kdewin32d.lib user32.lib
shell32.lib ws2_32.lib netapi32.lib userenv.lib kernel32.lib user32.lib
gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib
<<
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\kde4\bin\cmake.exe
-D_filename="C:/kde4/tmp/kdelibs-20080202/work/msvc2005-Debug/bin/kde4-config.exe.bat"
-D_ld_library_path="C:/kde4/tmp/kdelibs-20080202/work/msvc2005-Debug/bin/.;lib;C:/kde4/tmp/kdelibs-20080202/work/msvc2005-Debug/bin/.;C:/kde4/bin/../lib"
-D_executable="C:/kde4/tmp/kdelibs-20080202/work/msvc2005-Debug/bin/kde4-config.exe"
-P C:/kde4/svn/trunk/KDE/kdelibs/cmake/modules/kde4_exec_via_sh.cmake
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
# Rule to build all files generated by this target.
kdecore\CMakeFiles\kde4-config.dir\build: bin\kde4-config.exe
.PHONY : kdecore\CMakeFiles\kde4-config.dir\build
kdecore\CMakeFiles\kde4-config.dir\requires:
kdecore\CMakeFiles\kde4-config.dir\kde4-config_automoc.obj.requires
kdecore\CMakeFiles\kde4-config.dir\requires:
kdecore\CMakeFiles\kde4-config.dir\kde-config.obj.requires
.PHONY : kdecore\CMakeFiles\kde4-config.dir\requires
kdecore\CMakeFiles\kde4-config.dir\clean:
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
$(CMAKE_COMMAND) -P CMakeFiles\kde4-config.dir\cmake_clean.cmake
cd C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
.PHONY : kdecore\CMakeFiles\kde4-config.dir\clean
kdecore\CMakeFiles\kde4-config.dir\depend:
$(CMAKE_COMMAND) -E cmake_depends "NMake Makefiles"
C:\kde4\svn\trunk\KDE\kdelibs C:\kde4\svn\trunk\KDE\kdelibs\kdecore
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore
C:\kde4\tmp\kdelibs-20080202\work\msvc2005-Debug\kdecore\CMakeFiles\kde4-config.dir\DependInfo.cmake
--color=$(COLOR)
.PHONY : kdecore\CMakeFiles\kde4-config.dir\depend
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem