Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: hgarrereyn on September 27, 2014, 04:22:17 pm
-
I am trying to set up the ndless sdk for use on my mac running osx 10.9.2 (Mavericks).
I followed the linux tutorial on setting up an environment with Docker and got to the point where I can run the command:
docker run ndless/ndless-sdk nspire-gcc
and get the expected error message.
However, when I try to use the nspire-tools new name
command or the nspire-tools main
command, nothing gets created (They should make a Makefile and a main.c file respectively).
It seems like most of the dev tools are intended for windows and linux use so I haven't been able to find any information regarding osx use.
Any help is appreciated!
-
I don't much about docker (I haven't used it at all, actually), but docker needs a VM on OSX:
http://docs.docker.com/installation/mac/
-
Yeah, I downloaded boot2docker which also installs VirtualBox. It seems like the problem is with the nspire-tools command as the nspire-gcc command seems to work fine.
-
hgarrereyn, sorry for the late reply.
I double-checked, everything is fine on Linux with the nspire-tools command. The Makefile and main.c should be created in your current folder.
I don't know if this is an issue with the Docker setup or the nspire-tools command itself. Most developers are using Linux, some are using Windows, but not MacOS X, so things haven't been thoroughly tested on it, and I can't really troubleshoot myself MacOS X issues...
-
FYI, I successfully set up everything yesterday from the git repo (the only things weird is that you need to remove python2.7 support from gdb (I couldn't make it work...) and add an empty string as an argument to genzhen's "all" variable (description for program_options) otherwise it crashes.
The sh scripts work well :)
-
Adriweb, I suppose you are building the toolchain from scratch and not using the Docker image as hgarrereyn tries to.
Also feel free to make a Github pull request for your issues.
hgarrereyn: I have just noticed and fixed an issue with Docker's volume permissions (caused by a limitation of Docker (https://github.com/docker/docker/issues/7198)).
To check if you were concerned:
* Check if the command 'id -u' returns 1000 on your VM
* If it does, 'git pull' to update your Ndless clone and retry to run the nspire-tools command
-
Extended : yes indeed, I was building it manually, not using Docker.
Also, about the genzhen issue, I told Fabian about it so I guess he should add the few extra chars to fix that sometime soon.
For the python bug, that still might be related to my current setup (10.10 GM) so maybe some other people should try it first...