Can anyone tell me if i am able to install pebble-sdk. I did tried installing their way. and its a no good for me.
here is the site.
https://developer.pebble.com/sdk/install/
also if you guys do have a software similar to sdk or ios kit. i would appreciate it.
Hi
How do you mean install their way, using the follow page verbatim?
https://developer.pebble.com/sdk/install/linux/
If, so you need to use the openSUSE equivalent commands etc…
In step 4, use ~/.profile for the path statement.
So, I used;
export PATH=~/data/pebble-devel/pebble-sdk-4.2-linux64/bin:$PATH
. .profile
echo $PATH
The second command sources the file to export the PATH.
I switch to root user for maintenance, so;
su -
zypper ref
zypper in python-pip python-devel libfdt1
pip2.7 install virtualenv
exit
cd ~/data/pebble-devel/pebble-sdk-4.2-linux64
virtualenv --no-site-packages .env
source .env/bin/activate
pip install -r requirements.txt
....download stuff.....
deactivate
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> source ~/.profile
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> echo $PATH
/home/malcolml/data/pebble-devel/pebble-sdk-4.2-linux64/bin:/home/malcolml/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/data
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> pebble --version
Pebble collects metrics on your usage of our developer tools.
We use this information to help prioritise further development of our tooling.
If you cannot respond interactively, create a file called ENABLE_ANALYTICS or
NO_TRACKING in '/home/malcolml/.pebble-sdk/'.
Would you like to opt in to this collection? [y/n] n
Pebble Tool v4.2
An updated pebble tool, version 4.2.1, is available.
Check the release notes at https://github.com/pebble/pebble-tool/releases/tag/v4.2.1
Head to https://developer.getpebble.com/sdk/beta/ to get it.
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> pebble new-project hello-pebble --simple
No SDK installed; installing the latest one...
To use the Pebble SDK, you must agree to the following:
PEBBLE TERMS OF USE
https://developer.getpebble.com/legal/terms-of-use
PEBBLE DEVELOPER LICENSE
https://developer.getpebble.com/legal/sdk-license
Do you accept the Pebble Terms of Use and the Pebble Developer License? (y/n) y
Downloading...
100%=====================================================================================] 790.62 kB/s 0:00:03
Extracting...
Preparing virtualenv... (this may take a while)
PYTHONHOME is set. You *must* activate the virtualenv before using it
Using real prefix '/usr'
New python executable in /home/malcolml/.pebble-sdk/SDKs/3.11.1/.env/bin/python
Installing setuptools, pip, wheel...done.
Installing dependencies...
You are using pip version 7.1.0, however version 8.1.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting freetype-py==1.0 (from -r /home/malcolml/.pebble-sdk/SDKs/3.11.1/sdk-core/requirements.txt (line 1))
Downloading freetype-py-1.0.tar.gz (67kB)
100% |################################| 69kB 855kB/s
Collecting sh==1.08 (from -r /home/malcolml/.pebble-sdk/SDKs/3.11.1/sdk-core/requirements.txt (line 2))
Downloading sh-1.08.tar.gz
Collecting pypng==0.0.17 (from -r /home/malcolml/.pebble-sdk/SDKs/3.11.1/sdk-core/requirements.txt (line 3))
Building wheels for collected packages: freetype-py, sh
Running setup.py bdist_wheel for freetype-py
Stored in directory: /home/malcolml/.cache/pip/wheels/06/10/f5/b57112c829ad1e1f7e697e5ff8a98154eca7e4b841a0c340ef
Running setup.py bdist_wheel for sh
Stored in directory: /home/malcolml/.cache/pip/wheels/94/f3/bb/be1514f1658b3c9629b56e8b6da7bf0b0e33eef309c39e960d
Successfully built freetype-py sh
Installing collected packages: freetype-py, sh, pypng
Successfully installed freetype-py-1.0 pypng-0.0.17 sh-1.8
Done.
Installed SDK 3.11.1.
Created new project hello-pebble
An updated pebble tool, version 4.2.1, is available.
Check the release notes at https://github.com/pebble/pebble-tool/releases/tag/v4.2.1
Head to https://developer.getpebble.com/sdk/beta/ to get it.
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> ls
arm-cs-tools bin hello-pebble pebble-tool requirements.txt
malcolml@mizz-piggy:~/data/pebble-devel/pebble-sdk-4.2-linux64> ls hello-pebble/
appinfo.json resources src wscript