Show Posts

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 - lkj

Pages: 1 ... 24 25 [26] 27 28 ... 33
376
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 05:00:46 pm »
The script I used has this in it.

377
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 04:23:38 pm »
Actually I was wrong, the errors changed. Now they are

Code: [Select]
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
configure: WARNING: +----------------------------------------------------------
configure: WARNING: | Cannot determine global symbol prefix.
configure: WARNING: | /c/yagarto/bin/arm-none-eabi-nm output doesn't contain a global data symbol.
configure: WARNING: | Will proceed with no underscore.
configure: WARNING: | If this is wrong then you'll get link errors referring
configure: WARNING: | to ___gmpn_add_n (note three underscores).
configure: WARNING: | In this case do a fresh build with an override,
configure: WARNING: |     ./configure gmp_cv_asm_underscore=yes
configure: WARNING: +----------------------------------------------------------
configure: WARNING: "/c/yagarto/bin/arm-none-eabi-nm" failure
configure: WARNING: cannot determine local label, using default L
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
c:\yagarto\bin\arm-none-eabi-nm.exe: conftest.o: File format not recognized
configure: error: cannot determine how to define a 32-bit word

Is it normal that it contains windows-style paths and linux-style paths?

378
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 03:54:08 pm »
Perhaps. Now that I'm looking at their website again I see that it says you shouldn't install yagarto to a path which contains spaces, but it automatically installed there and I never had any problems before. But I'll reinstall it.

Now I have installed it to c:\yagarto and still the same errors.
I haven't more time to look at this today because it's 10pm and I have a test in French and a presentation in English tomorrow.

379
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 03:44:20 pm »
I reinstalled msys to c:/msys and get the same error. And the line which gives the error in the configure script is much too difficult for me to just patch it. Or even to figure out what it does.

380
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 03:38:06 pm »
I had it in C:\MinGW\msys\1.0, so no space. But I'm installing it again anyways. Should I use 1.0.11 or newer? And should I update gcc to gcc 4.6.3?

381
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 03:25:54 pm »
Hm, but it seems that it should also work on windows. At least the script runs in msys.
And the first three errors are only there because I had to rerun the script to copy the logs, they didn't change anything about the result.

Edit: Could it be that it uses yagarto and another gcc? Because gcc --version outputs 4.5.2 and yagarto says it uses gcc 4.6.2, so these could be incompatible?

382
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 03:17:29 pm »
/c/Program Files (x86)/yagarto/bin/arm-none-eabi-nm is a correct path, but /c/program obviously isn't. I'm asking myself why it searches anything in that folder when no windows pc has such a path ??? And why it worked for you but not for me ???

383
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 02:57:13 pm »
All the errors I get:

Code: [Select]
mv: cannot stat `gmp-5.0.4': No such file or directory
mkdir: cannot create directory `build': File exists
mkdir: cannot create directory `prefix': File exists
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
../src/configure: line 27268: /c/Program: No such file or directory
configure: WARNING: +----------------------------------------------------------
configure: WARNING: | Cannot determine global symbol prefix.
configure: WARNING: | /c/Program Files (x86)/yagarto/bin/arm-none-eabi-nm output doesn't contain a global data symbol.
configure: WARNING: | Will proceed with no underscore.
configure: WARNING: | If this is wrong then you'll get link errors referring
configure: WARNING: | to ___gmpn_add_n (note three underscores).
configure: WARNING: | In this case do a fresh build with an override,
configure: WARNING: |     ./configure gmp_cv_asm_underscore=yes
configure: WARNING: +----------------------------------------------------------
configure: WARNING: "/c/Program Files (x86)/yagarto/bin/arm-none-eabi-nm" failure
configure: WARNING: cannot determine local label, using default L
../src/configure: line 27607: /c/Program: No such file or directory
../src/configure: line 27607: /c/Program: No such file or directory
configure: error: cannot determine how to define a 32-bit word

Edit: I'm more or less using the script you posted, but without the download commands:
Code: [Select]
#!/bin/sh
# This creates a "gmp" subdirectory whereever you launch the script, and compiles and installs in subdirectories thereof.
WORKING_DIR=`pwd`
mv gmp-5.0.4 src
mkdir build
mkdir prefix
cd build
../src/configure --host=arm-none-eabi --prefix="$WORKING_DIR/prefix" --enable-shared=no --enable-assert || exit 1
make && make install

384
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 01:46:37 pm »
Unfortunately I can't help you port GMP because I don't know much about libraries.
And GMP even doesn't compile correctly for me, I'm getting some errors that it "cannot determine how to define a 32-bit word" :(

385
TI-Nspire / Re: BigNumNum Cruncher
« on: March 01, 2012, 11:08:22 am »
I looked at your code a bit and had some questions:
Do you really want to #include <string.h> and not #include "string.h"? Because like this you never include your own string.h.
And I couldn't find where you free() in1 and in2.

386
Computer Programming / Re: How do you make games with coding???
« on: February 25, 2012, 02:24:30 pm »
I'm learning Python with this tutorial.

387
TI-Nspire / Re: Line Runner for Nspire
« on: February 23, 2012, 11:33:03 am »
I implemented the memmove scrolling and it's a bit slower, I think because it needs two buffers and has to copy both every frame :(
The old method got 1800 fps and the new one only 1450 in the emulator.

Edit: by only copying the needed parts of the buffer I get 1600 fps

388
Ndless / Re: [nRGBlib] W.I.P - Colorful librairy for Ndless 3.1
« on: February 22, 2012, 05:54:06 pm »
the "directory for the tns file" means the name and directory were the compiled .tns will be. For example this line could be
Code: [Select]
DISTDIR = Example.tns
In the OBJS line you have to write the names of the .c files you want to compile, but with .o instead of .c at the end of each name.

389
General Calculator Help / Re: Nspire CAS+ not detected
« on: February 22, 2012, 08:22:10 am »
The nspire CAS+ were the prototypes, yes. But I'm almost sure it's legal to possess one.
I don't know much about the CAS+, but others here have experimented with hacking or updating it.

390
I had to install it twice until it worked. After the first install it gave an error like yours.

Pages: 1 ... 24 25 [26] 27 28 ... 33