Wikitude / wikitude-cordova-plugin-samples

Includes augmented reality sample project for Phonegap (Android and iOS) using Wikitude's augmented reality Phonegap plugin
www.wikitude.com
76 stars 61 forks source link

Windows Platform cannot use SH command #49

Open leejoo71 opened 7 years ago

leejoo71 commented 7 years ago

Windows Platform cannot use SH command in script directory

AndreasSchacherbauerWikitude commented 7 years ago

Hi @leejoo71, Unfortunately you need to install our plugin on a macOS as the script requires some command line tools that are only available on macOS.

Best regards, Andreas

vicung commented 6 years ago

I'm a bit confused because in your ReadMe.md there's a command for Windows and when I run it in my cloned repository I get a command "sh" not found. I've found this sample repository from the git Wikitude SDK repo https://github.com/Wikitude/wikitude-cordova-plugin but in the official cordova documentation on the Wikitude website there's this repo linked https://github.com/Wikitude/wikitude-sdk-samples although I can run the samples the AR isn't working that's why I wanted to try this repo. Which one should I use when working on Windows with Cordova building for android platforms?

AndreasSchacherbauerWikitude commented 6 years ago

Hi @vicung, https://github.com/Wikitude/wikitude-cordova-plugin contains our Cordova plugin https://github.com/Wikitude/wikitude-cordova-plugin-samples contains our Cordova example app

https://github.com/Wikitude/wikitude-sdk-samples contains our Architect Worlds to which we link from time to time to explain our APIs in our examples and to customers

The Cordova example app contains the examples mentioned right before.

Regarding the script error on Windows: I'm looking into it...

gaglianoalexis commented 6 years ago

Hi,

Same problem here with the generator on Windows. Do you have a Cordova Project ready?

Thank you, Alexis Gagliano Une Nouvelle Ville ASBL

vicung commented 6 years ago

@gaglianoalexis Yes, I have created a cordova project, added the Wikitude plugin and setup the samples manually, which works fine (except for the fact that the AR view / Live camera video stream is not working for me, which seems to be an other issue #52 ) I can still recommend downloading the samples and adding them manually to your cordova project though if you have trouble with the command line on Windows.

basurahan commented 5 years ago

Try using cygwin to use sh commands on windows