[bt-devel] How to configure BT with CMake in Windows?

Eeli Kaikkonen eekaikko at mail.student.oulu.fi
Tue Nov 3 06:08:27 MST 2009


I'm now configuring BibleTime but CMake doesn't seem to find SWORD. How
do I configure it? I configured the paths manually, but it doesn't
work...

Found Sword library: D:/BT/sword/lib/vcppmake/vc8/Debug/libsword.dll
Found Sword library dir: D:/BT/sword/
Found Sword include dir: D:/BT/sword/include
Checking for required Sword version 1.6.0...
CMake Error at cmake/FindSword.cmake:89 (MESSAGE):
  Sword version check program could NOT be compiled: Change Dir:
  D:/BT/appbuild/CMakeFiles/CMakeTmp



  Run Build Command:C:\PROGRA~1\MICROS~1.0\Common7\IDE\VCExpress.exe
  CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec



  Microsoft (R) Visual C++ Express Edition Version 9.0.30729.1.

  Copyright (C) Microsoft Corp 2007.  All rights reserved.

  ------ Build started: Project: cmTryCompileExec, Configuration: Debug
Win32
  ------

  Compiling...

  Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01
for
  80x86

  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl /Od /I "D:\BT\sword\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG"
/D
  "SWUSINGDLL" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1
/MDd
  /Fo"cmTryCompileExec.dir\Debug\\"
  /Fd"D:/BT/appbuild/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb" /W3
/c
  /Zi /TP /Zm1000

     "..\..\..\bibletime-svn\cmake\sword_version_compare.cpp"

  sword_version_compare.cpp

  Compiling manifest to resources...

  Microsoft (R) Windows (R) Resource Compiler Version 6.1.6723.1

  Copyright (C) Microsoft Corporation.  All rights reserved.

  Linking...

  D:\BT\sword\lib\vcppmake\vc8\Debug\libsword.dll : fatal error LNK1107:
  invalid or corrupt file: cannot read at 0x2B0



  Yours,
	Eeli Kaikkonen (Mr.), Oulu, Finland
	e-mail: eekaikko at mailx.studentx.oulux.fix (with no x)



More information about the bt-devel mailing list