Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19108] Windows: Creating windows module from appc CLI errors out due to missing boost libraries

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-07-01T13:17:35.000+0000
Affected Version/sRelease 4.1.0
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsqe-4.1.0
ReporterLokesh Choudhary
AssigneeKota Iguchi
Created2015-06-30T00:07:49.000+0000
Updated2015-07-09T22:53:17.000+0000

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.

Comments

  1. Kota Iguchi 2015-06-30

    https://github.com/appcelerator/titanium_mobile_windows/pull/337
  2. Lokesh Choudhary 2015-07-01

    Issue is still reproducible with 4.1.0.v20150630142238 Environment: Appc Studio: 4.1.0.201506261427 Ti SDK: 4.1.0.v20150630142238 Ti CLI: 4.0.1 Alloy: 1.6.2 Windows: 8.1 Enterprise 64-bit APPC NPM: 4.1.0-1 APPC CLI: 4.1.0-4 Device: Nokia Lumia 928 - Windows Phone 8.1 Windows emulator : 8.1
  3. Christopher Williams 2015-07-01

    I don't think the fixes from last day or two have been merged into 4.1 builds yet due to issues with the build machine. I think the longjohn issue has been causing Windows SDK builds to fail during unit tests, causing them to not get picked up as successful and merged into main SDK build.
  4. Ewan Harris 2015-07-09

    Verified using: Windows 8.1 Appc CLI (NPM): 4.1.0 Appc CLI (Registry): 4.1.0 Ti SDK: 4.1.0.GA When creating a module the process no longer errors out due to missing boost libraries Closing ticket

JSON Source