This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - sammyMaX
196
« on: August 14, 2011, 12:17:29 pm »
I posted this in the "Tutorial - Setting up C Development Environment for the TI-Nspire" section, but the topic hasn't been active for several months so I started a new one.
Anyways, here's my problem: I've added ...blah/ndless2/sdk/bin to my PATH variable (in Ubuntu) but when after typing in "make" in the hello sample folder, I get this error: "make: execvp: nspire-gcc: Permission denied." If I type in "sudo make", I get "make: nspire-gcc: Command not found." What's wrong?
197
« on: August 14, 2011, 12:02:41 pm »
I've added blah/ndless2/sdk/bin to my PATH variable (in Ubuntu) but when after typing in "make" in the hello sample folder, I get this error: "make: execvp: nspire-gcc: Permission denied." If I type in "sudo make", I get "make: nspire-gcc: Command not found." What's wrong?
198
« on: August 14, 2011, 11:05:34 am »
Update: I have decided to move over and start the program in C with Ndless 2.0. It will be much faster, and when Ndless 3.0 comes out, only a few minor changes will have to be made. Expect an alpha in three to four days.
199
« on: August 13, 2011, 04:19:36 pm »
BigNumNum Cruncher is a bignum program for the Nspire, written in C. It should be able to handle numbers as big as the Nspire's RAM allows it to be, with one digit per byte. (This may not mean output being up to (number of available bytes of RAM) digits long, since in the instance 2^1000000, it would need to store 2^999999 to get to 2^1000000) I have finished the addition and multiplication functions, and have the basic GUI going, but a lot of work has to be done (Powers in beta testing for now) I have no school on 9/29/11, so hopefully some major work can be done. BigNumNum Cruncher originally started in Lua but since then, I have moved over to C, since Lua was far too slow for this program. Numbers are stored in my program as arrays of ints, with only 4 digits able to be used in each int because of overflow. (Perhaps there is a way to fully utilize the RAM and double capacity?)
200
« on: August 10, 2011, 05:18:11 pm »
Okay, I got this working. At first I was trying to load my saved .bin from Windows, but it turns out the script liked .roms more so I had to remake everything. It was worth it though Thanks!
201
« on: August 10, 2011, 05:05:43 pm »
I am running the non-gui script, and I get an error about permissions. I am running it as "sudo bash run_en" and after giving the name of the flash, it gives an error.
202
« on: August 10, 2011, 03:59:34 pm »
Okay, I'll boot over in Linux and try Wine out. I'l have no problem setting up the emulator (I can just copy and paste my flash, boot2, etc. from Windows) but we'll see about Wine.
203
« on: August 10, 2011, 03:53:24 pm »
Since programs like luatotns and luna are better installed and used in Linux, and Linux is better suited for programming (gedit vs. notepad) I generally do all my coding in Linux. However, it's incredibly annoying to transfer my file over to my physical Nspire or reboot in Windows to run an emulator for testing. Hackspire's emulator page shows Xspire, which is the emulator ported over to GTK+, but the most recent version I found of it is still 0.26 was posted last year. Somehow though, it is shown running OS 3 on the TI-Bank page: http://ti.bank.free.fr/index.php?mod=archives&ac=voir&id=1730 Does the program run OS 3? If not, can anyone help me with setting up Wine and the Windows Nspire emulator?
204
« on: August 10, 2011, 02:22:49 pm »
Okay I get it Thanks and good luck to the Ndless 3 developers!
205
« on: August 10, 2011, 02:08:00 pm »
When I run TILP though, not including the "./" in front is okay. Why is this? And just to be clear, are all Linux programs supposed to be run with a "./" in the front?
206
« on: August 10, 2011, 01:48:28 pm »
It worked! Sorry, I'm a complete noob at Linux (I only began using it a week or two ago to get TILP to work without installing GTK+ on Windows), so when does one use ./ and what does it do?
207
« on: August 10, 2011, 01:40:53 pm »
I installed the packages zlib1g-dbg and libssl-dev, and then ran "make dist" in the src directory. A lot of errors in minizip popped up, but a (Linux) executable file appeared. I tried to run it with "sudo luna file.lua output.tns" but the terminal replied back "command not found." What am I doing wrong? I'm using Ubuntu 11.04 32-bit.
|