Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18557] Windows: Build fails with CMakeError 'Configuring incomplete, errors occurred'

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2015-02-13T19:29:14.000+0000
Affected Version/sRelease 4.0.0
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterEwan Harris
AssigneeChristopher Williams
Created2015-02-12T03:59:18.000+0000
Updated2017-03-14T19:50:18.000+0000

Description

Description

When building using SDK version 4.0.0.v20150211151855 the build fails with the the CMakeError *Configuring incomplete, errors occurred*
[WARN]  CMake Error at CMakeLists.txt:41 (find_package):
  By not providing "FindSQLite.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "SQLite", but
  CMake did not find one.

  Could not find a package configuration file provided by "SQLite" with any
  of the following names:

    SQLiteConfig.cmake
    sqlite-config.cmake

  Add the installation prefix of "SQLite" to CMAKE_PREFIX_PATH or set
  "SQLite_DIR" to a directory containing one of the above files.  If "SQLite"
  provides a separate development package or SDK, be sure it has been
  installed.
[INFO]  -- Configuring incomplete, errors occurred!
See also "C:/Users/Windo_000/AppData/Local/Temp/testCommunity/wp.ARM/CMakeFiles/CMakeOutput.log".
I have attached the build log and the CMake log If I step back to a SDK 4.0.0.v20150205101324 then the project builds fine. Any build using an SDK after this fails.

Steps to reproduce

0. Ensure you have Titanium SDK from master branch 1. Download the latest SDK using ti sdk install -b master -d 2. Create a new Windows project 3. Build the project

Actual Result

The build will fail with a CMakeError

Expected Result

The build should pass and deploy to device or emulator

Attachments

FileDateSize
build_windows.log2015-02-12T03:59:18.000+000016090
CMakeOutput.log2015-02-12T03:59:18.000+000064866

Comments

  1. Ewan Harris 2015-02-13

    Reopening ticket as the build still fails when using: Windows 8.1 Pro Titanium SDK build :4.0.0.v20150213000104 Titanium CLI, build: 3.6.0-dev Visual Studio Professional 2013 Update 4 Windows Phone Emulator 8.1 Lumia 1020 8.1 The build fails with the error below. After checking the build templates folder there appears to be one more reference to SQLite at line 76 in CMakeLists.txt.ejs.
       [WARN]  CMake Error at CMakeLists.txt:96 (add_executable):
         Cannot find source file:
       
           src/sqlite3.dll
       
         Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
         .hxx .in .txx
       [WARN]  CMake Error: CMake can not determine linker language for target: windows
       [INFO]  -- Generating done
       [INFO]  -- Build files have been written to: C:/Users/Windo_000/AppData/Local/Temp/windows/wp.x86
       
  2. Christopher Williams 2015-02-13

    Argh! ok I think I fixed it now.
  3. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source