Omnimaga

Calculator Community => TI Calculators => Calculator C => Topic started by: kevinkore3 on June 12, 2014, 10:34:52 pm

Title: gcc vector error
Post by: kevinkore3 on June 12, 2014, 10:34:52 pm

When I try to do #include <vector> I get an error about vector.tcc not being found


nspire-g++ -Wall -W -marm -Os -c main.cpp
In file included from main.cpp:4:0:
c:/users/asdf/other/ndless-v3.6-beta-r990-sdk/yagarto/lib/gcc/../../arm-none-eabi/include/c++/4.6.2/vector:70:28: fatal error: bits/vector.tcc: No such file or directory
compilation terminated.
make: *** [main.o] Error 1
Built.
Title: Re: gcc vector error
Post by: Legimet on June 12, 2014, 10:49:50 pm
If you want to use the STL you should probably use Vogtinator's fork of Ndless. Rebuild your toolchain using the script included.
Title: Re: gcc vector error
Post by: Vogtinator on June 13, 2014, 06:20:04 am
xD My fork of ndless is no universal remedy, especially not if your toolchain is broken!
What happens with
Code: [Select]
arm-none-eabi-g++ -W -Wall -c main.cpp -o main.o?
You could try a newer YAGARTO version (4.7.2): http://sourceforge.net/projects/yagarto/files/YAGARTO%20for%20Windows/20121222/yagarto-bu-2.23.1_gcc-4.7.2-c-c%2B%2B_nl-1.20.0_gdb-7.5.1_eabi_20121222.exe/download
Title: Re: gcc vector error
Post by: kevinkore3 on June 13, 2014, 02:48:18 pm
I upgraded yagarto and now it's fixed
Title: Re: gcc vector error
Post by: aeTIos on June 14, 2014, 01:53:52 am
Good to know :) Let us know when you encounter more problems.