Author Topic: Ndless SDK Help  (Read 3948 times)

0 Members and 1 Guest are viewing this topic.

Offline Jakewd

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
Ndless SDK Help
« on: September 13, 2015, 04:11:08 pm »
Hi, i've been experimenting with the ndless SDK but when ever i try to compile a program i run into error code 127 and it says that ndless/bin/nspire-gcc cant be found here is the code that appears in the bottom screen when this error happens
Code: [Select]
>C:\Users\Jake\Desktop\ndless-sdk-v3.6-r53.464a532/mingw-get/msys/1.0/bin/sh -l -c 'PATH="$PATH":\'/ndless/bin:/yagarto/bin\' C_INCLUDE_PATH="$C_INCLUDE_PATH":\'/ndless_pc/include\' LIBRARY_PATH="$LIBRARY_PATH":\'/ndless_pc/lib\' \'/ndless/bin/nspire-gcc\' -Os -c Makefile'
/usr/bin/sh: /ndless/bin/nspire-gcc: No such file or directory
>Exit code: 127
any help or advice would be greatly appreciate, some extra info. I'm running windows 7 on a mac using virtual box

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Ndless SDK Help
« Reply #1 on: September 14, 2015, 05:19:33 am »
I'd guess that you don't have a "/ndless" directory, so you need to change the paths correctly.

Anyway, the old SDK that you're trying to use is horribly outdated and is not only not supported, but it won't be able to compile most programs.
You need to setup cygwin on your windows VM or just use OS X: http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction

Offline pimathbrainiac

  • Occasionally I make projects
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Ndless SDK Help
« Reply #2 on: September 14, 2015, 09:45:41 am »
Did you get the yagarto components and put the contents in the sdk base directory? I think that might be part of the problem.
I am Bach.

Offline Jakewd

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 5
  • Rating: +0/-0
    • View Profile
Re: Ndless SDK Help
« Reply #3 on: September 14, 2015, 11:55:30 am »
Ok, thanks Voginator ill try to follow the tutorial for the link you sent me for mac OSX. Pimathbraniac, i did later figure out that had had to move those into the sub folder two but it didn't fix the issue i was getting

>>Edit: When i tried to install boost-program-options in brew it couldn't be found. Does anyone know of another way to install it
« Last Edit: September 14, 2015, 04:19:20 pm by Jakewd »

Offline Vogtinator

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1193
  • Rating: +108/-5
  • Instruction counter
    • View Profile
Re: Ndless SDK Help
« Reply #4 on: September 15, 2015, 11:43:21 am »
Quote
Edit: When i tried to install boost-program-options in brew it couldn't be found. Does anyone know of another way to install it
Try "brew install boost", it should work. It would be great if you could update the tutorial in the wiki when you have a working setup!