Post by fnllc on Apr 26, 2020 17:33:39 GMT
I'm trying to compile my Rhodes app with VS2017, Qt5.13 and Rhodes 7.1.19.
I have set:
VCINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC
VS140COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools
Note that using VS150COMNTOOLS does not work.
rhobuild.yml:
---
env:
paths:
java: C:\Program Files\Java\jdk1.8.0_251\bin
msbuild: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe
vcbuild: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcpackages/vcbuild.exe
app: C:/GitHub/MyApp
build:
uwppath: platform/uwp
win32path: platform/qt
excludedirs:
all:
- "**/.*.swo"
- "**/.*.swn"
- "**/.DS_Store"
-----
Error message:
C:\GitHub\MyApp>rake run:win32
C:/GitHub/rhodes/platform/android/build/androidcommon.rb:41: warning: already initialized constant USE_TRACES
C:/GitHub/rhodes/platform/android/build/ndkwrapper.rb:3: warning: previous definition of USE_TRACES was here
[INFO] Using Rhodes configuration from path: rhobuild.yml
[INFO] Starting rhodes build system using ruby version: 2.3.3
[INFO] do not checking for encrypt/decrypt because not iOS/Android 1
[INFO] do not checking for encrypt/decrypt because not iOS/Android
[INFO] $current_platform : win32
[INFO] $sdk [win32]
[INFO] Current QT Version Found : 5.13.2.0
[INFO] Checking for 4.7.4.0 - false
[INFO] Checking for 5.1.1.0 - false
[INFO] Checking for 5.5.0.0 - false
[INFO] Checking for 5.8 - false
[INFO] Checking for 5.9 - false
[INFO] Checking for 5.11 - false
[INFO] Checking for 5.13 - true
[INFO] Checking for 5.14 - false
[INFO] QT Version Found and Index for further checking is 7
[INFO] msvc_version is 2017
[INFO] Found QT Version : 5.13.2.0
[INFO] Visual Studio Found/Default for build.yml is 2017 , Code will be Compiled against Visual Studio 2017
[INFO] C:/GitHub/MyApp/bin/RhoBundle
[INFO] C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] C:/GitHub/rhodes
[INFO] Init extensions
[INFO] ext - coreapi
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/coreapi
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/coreapi/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Application.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Database.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NewORM.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NewORMModel.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/system.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Network.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/sqlite3.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/process.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/webview.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Log.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeTabbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeToolbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Navbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/File.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/push.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Notification.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeMenubar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Intent.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Timer.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Config.xml]
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORM.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js to startJSModules_opt..
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/coreapi - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/coreapi
[INFO] ext - zlib
[INFO] iter=C:/GitHub/rhodes/lib/extensions/zlib
[INFO] extyml C:/GitHub/rhodes/lib/extensions/zlib/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/zlib - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/zlib
[INFO] ext - json
[INFO] iter=C:/GitHub/rhodes/lib/extensions/json
[INFO] extyml C:/GitHub/rhodes/lib/extensions/json/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/json - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/json
[INFO] ext - rholang
[INFO] iter=C:/GitHub/rhodes/lib/extensions/rholang
[INFO] extyml C:/GitHub/rhodes/lib/extensions/rholang/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/rholang - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/rholang
[INFO] ext - audiocapture
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/audiocapture
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/audiocapture/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/audiocapture/ext/AudioCapture.xml]
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/audiocapture - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/audiocapture
[INFO] ext - mediacapture
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/mediacapture
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext/camera.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext/videocapture.xml]
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/mediacapture - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/mediacapture
[INFO] ext - rhoconnect-client
[INFO] iter=C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client
[INFO] extyml C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/ext.yml
[INFO] start running rhogen with api key for + [C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/ext/RhoConnectClient.xml]
[INFO] add_extension - C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client
[INFO] exts C:/GitHub/rhodes/platform/shared/ruby/ext/rho/extensions.c
[INFO] extnodejsmodulefiles=["C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/rhonodejsapi.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Application.js", "C:/GitHub/rhodes/lib/commonAPI/c
oreapi/public/api/generated/Rho.Config.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.SQLite3.js", "C:/
GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Intent.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Log.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Na
tiveMenubar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeTabbar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeToolbar.js", "C:/GitHub/rhodes/lib/commonAP
I/coreapi/public/api/generated/Rho.Navbar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Network.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORM.js", "C:/GitHub/r
hodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORMModel.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Notification.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/
Rho.Push.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.RhoFile.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.System.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/publi
c/api/generated/Rho.System.Process.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Timer.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.WebView.js", "C:/GitHub/rhodes/li
b/commonAPI/audiocapture/public/api/generated/Rho.AudioCapture.js", "C:/GitHub/rhodes/lib/commonAPI/mediacapture/public/api/generated/Rho.Camera.js", "C:/GitHub/rhodes/lib/commonAPI/mediacapture/public/api/generate
d/Rho.Videocapture.js", "C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/public/api/generated/Rho.RhoConnectClient.js"]
[INFO] f: apps/app/MyApp/.DS_Store
[INFO] f: apps/app/lang/.DS_Store
[INFO] f: apps/app/Startup/.DS_Store
[INFO] f: apps/public/css/.DS_Store
[INFO] f: apps/public/images/.DS_Store
[INFO] f: apps/public/images/flags/.DS_Store
[INFO] f: apps/public/images/markers/.DS_Store
[INFO] f: apps/public/js/.DS_Store
[INFO] f: apps/public/leaflet/images/.DS_Store
[INFO] f: apps/public/sounds/.DS_Store
[INFO] Running default.rb
[INFO] C:/GitHub/rhodes/res/build-tools/RhoRuby.exe -E UTF-8 -IC:/GitHub/rhodes/lib/framework C:/GitHub/MyApp/bin/RhoBundle/default.rb
[INFO] Feb 15 2019
13:32:55
>>>>> RUNNING RUBY COMPILER
>>>>> WORK DIR
C:\GitHub\rhodes
>>>>> ARGS:
C:\GitHub\rhodes\res\build-tools\RhoRuby.exe
-E
UTF-8
-IC:/GitHub/rhodes/lib/framework
C:/GitHub/MyApp/bin/RhoBundle/default.rb
[INFO] Running compileRB
lib/rholang/rhomsg_ru.rb:17: warning: key "get_link_menu" is duplicated and overwritten on line 18
[INFO] Feb 15 2019
13:32:55
>>>>> RUNNING RUBY COMPILER
>>>>> WORK DIR
C:\GitHub\rhodes
>>>>> ARGS:
C:\GitHub\rhodes\res\build-tools\RhoRuby.exe
-E
UTF-8
-IC:/GitHub/rhodes/lib/framework
C:/GitHub/MyApp/bin/RhoBundle/compileRB.rb
[INFO] $app_extensions_list : {"coreapi"=>"C:/GitHub/rhodes/lib/commonAPI/coreapi", "zlib"=>"C:/GitHub/rhodes/lib/extensions/zlib", "json"=>"C:/GitHub/rhodes/lib/extensions/json", "rholang"=>"C:/GitHub/rhodes/lib/
extensions/rholang", "audiocapture"=>"C:/GitHub/rhodes/lib/commonAPI/audiocapture", "mediacapture"=>"C:/GitHub/rhodes/lib/commonAPI/mediacapture", "rhoconnect-client"=>"C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.
3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client"}
[INFO] {"entry"=>"Init_CoreAPI_Extension", "javaentry"=>"com.coreapi.CoreAPI", "libraries"=>["CoreAPI"], "iphone"=>{"xcodeproject"=>"ext/platform/iphone/Coreapi.xcodeproj", "xcodetarget"=>"CoreAPI", "rebuild_depli
st"=>"ext/platform/iphone/deplist.txt"}, "android"=>{"source_list"=>"ext/platform/android/ext_java.files", "adds"=>"ext/platform/android/adds", "manifest_changes"=>"ext/platform/android/ApplicationManifestAdds.erb"
, "rhodes_listener"=>"com.rho.coreapi.RhodesListener", "exttype"=>"rakefile"}, "sailfish"=>{"proerb"=>"ext/platform/qt/coreapi.pro.erb"}, "uwp"=>{"libraries"=>["WebView", "NativeToolbar", "NativeTabbar", "Timer"],
"webview"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uwp/WebViewLib.vcxproj"}, "nativetoolbar"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uw
p/NativeToolbarLib.vcxproj"}, "nativetabbar"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uwp/NativeTabbarLib.vcxproj"}, "timer"=>{"csharp_impl"=>"true", "root_namespace"=>"rho",
"project_path"=>"ext/platform/uwp/TimerLib.vcxproj"}}, "project_paths"=>{"uwp"=>"ext/platform/uwp/Coreapi.vcxproj", "wm"=>"ext/platform/wm/CoreAPI.vcproj"}, "xml_api_paths"=>"ext/Application.xml, ext/Database.xml,
ext/NewORM.xml, ext/NewORMModel.xml, ext/system.xml, ext/Network.xml, ext/sqlite3.xml, ext/process.xml, ext/webview.xml, ext/Log.xml, ext/NativeTabbar.xml, ext/NativeToolbar.xml, ext/Navbar.xml, ext/File.xml, ext/p
ush.xml, ext/Notification.xml, ext/NativeMenubar.xml, ext/Intent.xml, ext/Timer.xml, ext/Config.xml"}
[INFO] start read reg key
[INFO] end read reg key
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "android" (
cd platform\android
rake -m --trace
)
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "iphone" (
cd platform\phone
rake --trace
)
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "win32" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\vcvarsall.bat" x86
cd platform\qt
rake --trace
)
'"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\vcvarsall.bat"' is not recognized as an internal or external command,
operable program or batch file.
** Invoke default (first_time)
** Invoke build:all (first_time)
** Invoke build:config (first_time)
** Execute build:config
** Execute build:all
'nmake' is not recognized as an internal or external command,
operable program or batch file.
rake aborted!
[nmake all]
C:/GitHub/rhodes/lib/build/jake.rb:636:in `run3'
C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/platform/qt/Rakefile:10:in `build_extension'
C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/platform/qt/Rakefile:32:in `block (2 levels) in <top (required)>'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `block in execute'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `execute'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:238:in `block in invoke_prerequisites'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:236:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:236:in `invoke_prerequisites'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:183:in `invoke'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:160:in `invoke_task'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
C:/RhoMobileSuite7.1.19/ruby/bin/rake:23:in `load'
C:/RhoMobileSuite7.1.19/ruby/bin/rake:23:in `<main>'
Tasks: TOP => default => build:all
rake aborted!
[build.bat]
C:/GitHub/rhodes/lib/build/jake.rb:636:in `run3'
C:/GitHub/rhodes/platform/wm/build/wm.rake:1078:in `block (4 levels) in <top (required)>'
C:/GitHub/rhodes/platform/wm/build/wm.rake:933:in `each'
C:/GitHub/rhodes/platform/wm/build/wm.rake:933:in `block (3 levels) in <top (required)>'
C:/GitHub/rhodes/Rakefile:113:in `execute'
C:/GitHub/rhodes/platform/wm/build/wm.rake:1102:in `block (3 levels) in <top (required)>'
C:/GitHub/rhodes/Rakefile:113:in `execute'
C:/GitHub/rhodes/Rakefile:4530:in `invoke'
Tasks: TOP => run:win32 => build:win32 => build:win32:rhobundle => build:wm:rhobundle
(See full trace by running task with --trace)
**** NOTE: You use sdk parameter in build.yml ****************************************************************
To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.
**************************************************************************************************************
**** WARNING *************************************************************************************************
The following extensions do not have JavaScript API:
zlib
Use RMS 4.0 extensions to provide JavaScript API
**************************************************************************************************************
I have set:
VCINSTALLDIR = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC
VS140COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools
Note that using VS150COMNTOOLS does not work.
rhobuild.yml:
---
env:
paths:
java: C:\Program Files\Java\jdk1.8.0_251\bin
msbuild: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe
vcbuild: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcpackages/vcbuild.exe
app: C:/GitHub/MyApp
build:
uwppath: platform/uwp
win32path: platform/qt
excludedirs:
all:
- "**/.*.swo"
- "**/.*.swn"
- "**/.DS_Store"
-----
Error message:
C:\GitHub\MyApp>rake run:win32
C:/GitHub/rhodes/platform/android/build/androidcommon.rb:41: warning: already initialized constant USE_TRACES
C:/GitHub/rhodes/platform/android/build/ndkwrapper.rb:3: warning: previous definition of USE_TRACES was here
[INFO] Using Rhodes configuration from path: rhobuild.yml
[INFO] Starting rhodes build system using ruby version: 2.3.3
[INFO] do not checking for encrypt/decrypt because not iOS/Android 1
[INFO] do not checking for encrypt/decrypt because not iOS/Android
[INFO] $current_platform : win32
[INFO] $sdk [win32]
[INFO] Current QT Version Found : 5.13.2.0
[INFO] Checking for 4.7.4.0 - false
[INFO] Checking for 5.1.1.0 - false
[INFO] Checking for 5.5.0.0 - false
[INFO] Checking for 5.8 - false
[INFO] Checking for 5.9 - false
[INFO] Checking for 5.11 - false
[INFO] Checking for 5.13 - true
[INFO] Checking for 5.14 - false
[INFO] QT Version Found and Index for further checking is 7
[INFO] msvc_version is 2017
[INFO] Found QT Version : 5.13.2.0
[INFO] Visual Studio Found/Default for build.yml is 2017 , Code will be Compiled against Visual Studio 2017
[INFO] C:/GitHub/MyApp/bin/RhoBundle
[INFO] C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] C:/GitHub/rhodes
[INFO] Init extensions
[INFO] ext - coreapi
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/coreapi
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/coreapi/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Application.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Database.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NewORM.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NewORMModel.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/system.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Network.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/sqlite3.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/process.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/webview.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Log.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeTabbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeToolbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Navbar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/File.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/push.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Notification.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/NativeMenubar.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Intent.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Timer.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/Config.xml]
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORM.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.ORMHelper.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.Rhosim.Fix.js to startJSModules_opt..
[INFO] add C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/Rho.Ruby.RunTime.js to startJSModules_opt..
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/coreapi - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/coreapi
[INFO] ext - zlib
[INFO] iter=C:/GitHub/rhodes/lib/extensions/zlib
[INFO] extyml C:/GitHub/rhodes/lib/extensions/zlib/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/zlib - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/zlib
[INFO] ext - json
[INFO] iter=C:/GitHub/rhodes/lib/extensions/json
[INFO] extyml C:/GitHub/rhodes/lib/extensions/json/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/json - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/json
[INFO] ext - rholang
[INFO] iter=C:/GitHub/rhodes/lib/extensions/rholang
[INFO] extyml C:/GitHub/rhodes/lib/extensions/rholang/ext.yml
[INFO] add_extension - C:/GitHub/rhodes/lib/extensions/rholang - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/extensions/rholang
[INFO] ext - audiocapture
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/audiocapture
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/audiocapture/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/audiocapture/ext/AudioCapture.xml]
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/audiocapture - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/audiocapture
[INFO] ext - mediacapture
[INFO] iter=C:/GitHub/rhodes/lib/commonAPI/mediacapture
[INFO] extyml C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext.yml
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext/camera.xml]
[INFO] start running rhogen with api key for + [C:/GitHub/rhodes/lib/commonAPI/mediacapture/ext/videocapture.xml]
[INFO] add_extension - C:/GitHub/rhodes/lib/commonAPI/mediacapture - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/GitHub/rhodes/lib/commonAPI/mediacapture
[INFO] ext - rhoconnect-client
[INFO] iter=C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client
[INFO] extyml C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/ext.yml
[INFO] start running rhogen with api key for + [C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/ext/RhoConnectClient.xml]
[INFO] add_extension - C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client - C:/GitHub/MyApp/bin/RhoBundle/lib
[INFO] chdir path=C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client
[INFO] exts C:/GitHub/rhodes/platform/shared/ruby/ext/rho/extensions.c
[INFO] extnodejsmodulefiles=["C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/rhonodejsapi.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Application.js", "C:/GitHub/rhodes/lib/commonAPI/c
oreapi/public/api/generated/Rho.Config.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Database.SQLite3.js", "C:/
GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Intent.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Log.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Na
tiveMenubar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeTabbar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NativeToolbar.js", "C:/GitHub/rhodes/lib/commonAP
I/coreapi/public/api/generated/Rho.Navbar.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Network.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORM.js", "C:/GitHub/r
hodes/lib/commonAPI/coreapi/public/api/generated/Rho.NewORMModel.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Notification.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/
Rho.Push.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.RhoFile.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.System.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/publi
c/api/generated/Rho.System.Process.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.Timer.js", "C:/GitHub/rhodes/lib/commonAPI/coreapi/public/api/generated/Rho.WebView.js", "C:/GitHub/rhodes/li
b/commonAPI/audiocapture/public/api/generated/Rho.AudioCapture.js", "C:/GitHub/rhodes/lib/commonAPI/mediacapture/public/api/generated/Rho.Camera.js", "C:/GitHub/rhodes/lib/commonAPI/mediacapture/public/api/generate
d/Rho.Videocapture.js", "C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client/public/api/generated/Rho.RhoConnectClient.js"]
[INFO] f: apps/app/MyApp/.DS_Store
[INFO] f: apps/app/lang/.DS_Store
[INFO] f: apps/app/Startup/.DS_Store
[INFO] f: apps/public/css/.DS_Store
[INFO] f: apps/public/images/.DS_Store
[INFO] f: apps/public/images/flags/.DS_Store
[INFO] f: apps/public/images/markers/.DS_Store
[INFO] f: apps/public/js/.DS_Store
[INFO] f: apps/public/leaflet/images/.DS_Store
[INFO] f: apps/public/sounds/.DS_Store
[INFO] Running default.rb
[INFO] C:/GitHub/rhodes/res/build-tools/RhoRuby.exe -E UTF-8 -IC:/GitHub/rhodes/lib/framework C:/GitHub/MyApp/bin/RhoBundle/default.rb
[INFO] Feb 15 2019
13:32:55
>>>>> RUNNING RUBY COMPILER
>>>>> WORK DIR
C:\GitHub\rhodes
>>>>> ARGS:
C:\GitHub\rhodes\res\build-tools\RhoRuby.exe
-E
UTF-8
-IC:/GitHub/rhodes/lib/framework
C:/GitHub/MyApp/bin/RhoBundle/default.rb
[INFO] Running compileRB
lib/rholang/rhomsg_ru.rb:17: warning: key "get_link_menu" is duplicated and overwritten on line 18
[INFO] Feb 15 2019
13:32:55
>>>>> RUNNING RUBY COMPILER
>>>>> WORK DIR
C:\GitHub\rhodes
>>>>> ARGS:
C:\GitHub\rhodes\res\build-tools\RhoRuby.exe
-E
UTF-8
-IC:/GitHub/rhodes/lib/framework
C:/GitHub/MyApp/bin/RhoBundle/compileRB.rb
[INFO] $app_extensions_list : {"coreapi"=>"C:/GitHub/rhodes/lib/commonAPI/coreapi", "zlib"=>"C:/GitHub/rhodes/lib/extensions/zlib", "json"=>"C:/GitHub/rhodes/lib/extensions/json", "rholang"=>"C:/GitHub/rhodes/lib/
extensions/rholang", "audiocapture"=>"C:/GitHub/rhodes/lib/commonAPI/audiocapture", "mediacapture"=>"C:/GitHub/rhodes/lib/commonAPI/mediacapture", "rhoconnect-client"=>"C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.
3.0/gems/rhoconnect-client-7.1.19/lib/../ext/rhoconnect-client"}
[INFO] {"entry"=>"Init_CoreAPI_Extension", "javaentry"=>"com.coreapi.CoreAPI", "libraries"=>["CoreAPI"], "iphone"=>{"xcodeproject"=>"ext/platform/iphone/Coreapi.xcodeproj", "xcodetarget"=>"CoreAPI", "rebuild_depli
st"=>"ext/platform/iphone/deplist.txt"}, "android"=>{"source_list"=>"ext/platform/android/ext_java.files", "adds"=>"ext/platform/android/adds", "manifest_changes"=>"ext/platform/android/ApplicationManifestAdds.erb"
, "rhodes_listener"=>"com.rho.coreapi.RhodesListener", "exttype"=>"rakefile"}, "sailfish"=>{"proerb"=>"ext/platform/qt/coreapi.pro.erb"}, "uwp"=>{"libraries"=>["WebView", "NativeToolbar", "NativeTabbar", "Timer"],
"webview"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uwp/WebViewLib.vcxproj"}, "nativetoolbar"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uw
p/NativeToolbarLib.vcxproj"}, "nativetabbar"=>{"csharp_impl"=>"true", "root_namespace"=>"rho", "project_path"=>"ext/platform/uwp/NativeTabbarLib.vcxproj"}, "timer"=>{"csharp_impl"=>"true", "root_namespace"=>"rho",
"project_path"=>"ext/platform/uwp/TimerLib.vcxproj"}}, "project_paths"=>{"uwp"=>"ext/platform/uwp/Coreapi.vcxproj", "wm"=>"ext/platform/wm/CoreAPI.vcproj"}, "xml_api_paths"=>"ext/Application.xml, ext/Database.xml,
ext/NewORM.xml, ext/NewORMModel.xml, ext/system.xml, ext/Network.xml, ext/sqlite3.xml, ext/process.xml, ext/webview.xml, ext/Log.xml, ext/NativeTabbar.xml, ext/NativeToolbar.xml, ext/Navbar.xml, ext/File.xml, ext/p
ush.xml, ext/Notification.xml, ext/NativeMenubar.xml, ext/Intent.xml, ext/Timer.xml, ext/Config.xml"}
[INFO] start read reg key
[INFO] end read reg key
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "android" (
cd platform\android
rake -m --trace
)
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "iphone" (
cd platform\phone
rake --trace
)
C:\GitHub\rhodes\lib\commonAPI\coreapi\ext>if "win32" == "win32" (
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\vcvarsall.bat" x86
cd platform\qt
rake --trace
)
'"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\..\..\VC\vcvarsall.bat"' is not recognized as an internal or external command,
operable program or batch file.
** Invoke default (first_time)
** Invoke build:all (first_time)
** Invoke build:config (first_time)
** Execute build:config
** Execute build:all
'nmake' is not recognized as an internal or external command,
operable program or batch file.
rake aborted!
[nmake all]
C:/GitHub/rhodes/lib/build/jake.rb:636:in `run3'
C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/platform/qt/Rakefile:10:in `build_extension'
C:/GitHub/rhodes/lib/commonAPI/coreapi/ext/platform/qt/Rakefile:32:in `block (2 levels) in <top (required)>'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `block in execute'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:273:in `execute'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:214:in `block in invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:238:in `block in invoke_prerequisites'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:236:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:236:in `invoke_prerequisites'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:213:in `block in invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/2.3.0/monitor.rb:214:in `mon_synchronize'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/task.rb:183:in `invoke'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:160:in `invoke_task'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
C:/RhoMobileSuite7.1.19/ruby/lib/ruby/gems/2.3.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
C:/RhoMobileSuite7.1.19/ruby/bin/rake:23:in `load'
C:/RhoMobileSuite7.1.19/ruby/bin/rake:23:in `<main>'
Tasks: TOP => default => build:all
rake aborted!
[build.bat]
C:/GitHub/rhodes/lib/build/jake.rb:636:in `run3'
C:/GitHub/rhodes/platform/wm/build/wm.rake:1078:in `block (4 levels) in <top (required)>'
C:/GitHub/rhodes/platform/wm/build/wm.rake:933:in `each'
C:/GitHub/rhodes/platform/wm/build/wm.rake:933:in `block (3 levels) in <top (required)>'
C:/GitHub/rhodes/Rakefile:113:in `execute'
C:/GitHub/rhodes/platform/wm/build/wm.rake:1102:in `block (3 levels) in <top (required)>'
C:/GitHub/rhodes/Rakefile:113:in `execute'
C:/GitHub/rhodes/Rakefile:4530:in `invoke'
Tasks: TOP => run:win32 => build:win32 => build:win32:rhobundle => build:wm:rhobundle
(See full trace by running task with --trace)
**** NOTE: You use sdk parameter in build.yml ****************************************************************
To use latest Rhodes gem, run migrate-rhodes-app in application folder or comment sdk in build.yml.
**************************************************************************************************************
**** WARNING *************************************************************************************************
The following extensions do not have JavaScript API:
zlib
Use RMS 4.0 extensions to provide JavaScript API
**************************************************************************************************************