Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19108

Windows: Creating windows module from appc CLI errors out due to missing boost libraries

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.1.0
    • Fix Version/s: Release 4.1.0
    • Component/s: Windows
    • Labels:
    • Environment:
    • Story Points:
      2
    • Sprint:
      2015 Sprint 13 Windows

      Description

      Steps To Reproduce:

      1. Do "appc new" & follow prompts for creating a window module.

      Actual Results:

      1. The module creation fails due to missing boost libraries.
      NOTE - I am not sure if boost are required dependency for building window modules.

      C:\Users\Steve Ballmer\Desktop>appc new
      Appcelerator Command-Line Interface, version 4.1.0-4
      Copyright (c) 2014-2015, Appcelerator, Inc.  All Rights Reserved.
       
      ? What type of project are you creating? Titanium Module
      ? What's the project name? winmod
      ? What's your application id (example: com.myapp)? com.app.winmod
      CMake Error at C:/ProgramData/Titanium/mobilesdk/win32/4.1.0.v20150629143726/windows/cli/vendor/cmake/share/cmake-3.1/Modules/FindBoost.cmake:1182 (message):
        Unable to find the requested Boost libraries.
       
        Unable to find the Boost header files.  Please set BOOST_ROOT to the root
        directory containing Boost or BOOST_INCLUDEDIR to the directory containing
        Boost's headers.
      Call Stack (most recent call first):
        CMakeLists.txt:40 (find_package)
      CMake Error at C:/ProgramData/Titanium/mobilesdk/win32/4.1.0.v20150629143726/windows/cli/vendor/cmake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
        Could NOT find JavaScriptCore (missing: JavaScriptCore_INCLUDE_DIRS
        JavaScriptCore_LIBRARIES)
      Call Stack (most recent call first):
        C:/ProgramData/Titanium/mobilesdk/win32/4.1.0.v20150629143726/windows/cli/vendor/cmake/share/cmake-3.1/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
        cmake/FindJavascriptCore.cmake:55 (find_package_handle_standard_args)
        CMakeLists.txt:44 (find_package)
      ERROR  | titanium exited with non-zero exit code (1)
      

      Expected Result:

      1. Windows module should be created successfully.

        Attachments

          Activity

            People

            • Assignee:
              kiguchi Kota Iguchi
              Reporter:
              lchoudhary Lokesh Choudhary
              Reviewer:
              Christopher Williams
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-20057
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code