Calculator Community > Calculator C

Using the ndless-sdk on osx

(1/2) > >>

hgarrereyn:
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:

--- Code: ---docker run ndless/ndless-sdk nspire-gcc
--- End code ---
and get the expected error message.

However, when I try to use the
--- Code: ---nspire-tools new name
--- End code ---
command or the
--- Code: ---nspire-tools main
--- End code ---
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!

Vogtinator:
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/

hgarrereyn:
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.

ExtendeD:
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...

Adriweb:
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 :)

Navigation

[0] Message Index

[#] Next page

Go to full version