Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: Maizesmagikarp 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...
-
Make sure YAGARTO's bin/ directory is in your PATH environment variable as described in the tutorial (http://hackspire.unsads.com/wiki/index.php/C_and_assembly_development_introduction#On_Windows).
-
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:
-
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 ?
-
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.
:(
-
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 (http://hackspire.unsads.com/wiki/index.php/Debugging_programs#With_Eclipse_CDT)? 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.
-
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...
-
Didi you set up the Eclipse project exactly the same way as in the video tutorial (http://www.youtube.com/watch?v=JB-SnyZpbA4)?
-
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)