Author Topic: nspire-ld help  (Read 4895 times)

0 Members and 2 Guests are viewing this topic.

Offline Maizesmagikarp

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +1/-0
  • Master of the Lickitungs
    • View Profile
    • Lickitung's World
nspire-ld help
« on: March 07, 2011, 08:36:29 pm »
Hi, I've been trying to compile nspire programs with MSYS, everything goes well until I get error 127: nspire-ld not found.
I put the sdk/bin into my path, and followed apcalc's guide, installed YAGARTO, etc.
No idea what to do...
Omnomnom!
Author of Encyclopedia Ingenus Lingus: http://lickitung.ath.cx/Encyclopedia_Final.pdf
Administrator of all Lickitung's World entities

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: nspire-ld help
« Reply #1 on: March 08, 2011, 05:21:32 am »
Make sure YAGARTO's bin/ directory is in your PATH environment variable as described in the tutorial.
Ndless.me with the finest TI-Nspire programs

Offline Maizesmagikarp

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +1/-0
  • Master of the Lickitungs
    • View Profile
    • Lickitung's World
Re: nspire-ld help
« Reply #2 on: March 08, 2011, 05:13:58 pm »
I did that, everything as described in the guide.
nspire-gcc works fine, and if I rename nspire-ld and try to execute it that doesn't work either.
D:
Omnomnom!
Author of Encyclopedia Ingenus Lingus: http://lickitung.ath.cx/Encyclopedia_Final.pdf
Administrator of all Lickitung's World entities

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: nspire-ld help
« Reply #3 on: March 09, 2011, 03:45:51 am »
Sorry I misread you first post.
So you mean typing "nspire-gcc" in MSYS returns no error whereas "nspire-ld" returns one, although the two files exist ndless\sdk\bin ?
Ndless.me with the finest TI-Nspire programs

Offline Maizesmagikarp

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +1/-0
  • Master of the Lickitungs
    • View Profile
    • Lickitung's World
Re: nspire-ld help
« Reply #4 on: March 09, 2011, 06:08:28 pm »
Nspire-ld works now, but in Eclipde, I get a ld.exe: cannot find -lndls error, and in MINGW32 I get make: nothing to be done for all.
:(
« Last Edit: March 09, 2011, 06:26:36 pm by Maizesmagikarp »
Omnomnom!
Author of Encyclopedia Ingenus Lingus: http://lickitung.ath.cx/Encyclopedia_Final.pdf
Administrator of all Lickitung's World entities

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: nspire-ld help
« Reply #5 on: March 10, 2011, 04:17:45 am »
1) Do you mean nspire-ld works in MSYS? What did you change to make it work?
2) Are you using Eclipse CDT? Did you set it up as described here? I'm surprised "ld.exe" complains instead of "arm-none-eabi-ld.exe".
3) Do you mean MSYS instead of MINGW32? The "nothing to be done for all" means everything as been built. "make clean all" can be used for a full rebuild.
Ndless.me with the finest TI-Nspire programs

Offline Maizesmagikarp

  • LV1 Newcomer (Next: 20)
  • *
  • Posts: 13
  • Rating: +1/-0
  • Master of the Lickitungs
    • View Profile
    • Lickitung's World
Re: nspire-ld help
« Reply #6 on: March 10, 2011, 08:19:18 am »
I am indeed using Eclipse.
It works in the MINGW32 shell, everything builds fine.
When I try to compile in Eclipse, however, it is not working. It usually exits with "excec.tns error 1] or something similar.
I guess I could just use Eclipse to write the code, then set up a batch file for MINGW32 to auto-compile it, then start Ncubate...
Omnomnom!
Author of Encyclopedia Ingenus Lingus: http://lickitung.ath.cx/Encyclopedia_Final.pdf
Administrator of all Lickitung's World entities

Offline ExtendeD

  • CoT Emeritus
  • LV8 Addict (Next: 1000)
  • *
  • Posts: 825
  • Rating: +167/-2
    • View Profile
Re: nspire-ld help
« Reply #7 on: March 11, 2011, 04:05:40 am »
Didi you set up the Eclipse project exactly the same way as in the video tutorial?
Ndless.me with the finest TI-Nspire programs

Offline apcalc

  • The Game
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1393
  • Rating: +120/-2
  • VGhlIEdhbWUh (Base 64 :))
    • View Profile
Re: nspire-ld help
« Reply #8 on: March 11, 2011, 07:48:25 pm »
Is yagarto located in /Program Files (x86)?  If so, move it elsewhere, as this caused problems for me when I set up Eclipse for the first time (don't forget to adjust you're path, too)