CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP) fails

Jarosław Staniek js at iidea.pl
Wed Jan 30 12:41:01 CET 2008


BTW, there is strcasecmp() in kdewin32;
but from cmakeerror.log:

--------------
Determining if the function strcasecmp exists failed with the following output:
	C:\vc8\VC\BIN\nmake.exe -f CMakeFiles\cmTryCompileExec.dir/build.make /nologo 
-L                  CMakeFiles\cmTryCompileExec.dir\build

	C:\kde4\bin\cmake.exe -E cmake_progress_report 
C:\kde4\tmp\strigi-0.5.7.20071028\work\msvc2005-Debug\CMakeFiles\CMakeTmp\CMakeFiles 
1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.obj

	C:\vc8\VC\bin\cl.exe  @C:\Users\jarek\AppData\Local\Temp\nm822D.tmp

CheckFunctionExists.c

Linking C executable cmTryCompileExec.exe

	C:\kde4\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

	C:\vc8\VC\bin\cl.exe  /nologo @C:\Users\jarek\AppData\Local\Temp\nm8347.tmp

CheckFunctionExists.obj : error LNK2019: unresolved external symbol 
_strcasecmp referenced in function _main
----------------

Any idea how to add kdewin32 library into
CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP) test?

-- 
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)



More information about the Kde-windows mailing list