Problem compiling stlport
Opened this issue · 1 comments
arliones commented
Hi, I'm facing problems building your project for use in an AVR application. I'm NOT using Arduino. I've posted bellow the output of the 'make' command at the stlport root. Apparentlly, and I don't know why, it is not finding the file "new.h". The file exists!
A few translations from Portuguese:
- Entrando no diretório: Entering directory
- Arquivo ou diretório não encontrado: File or folder not found
- Saindo do diretório: Leaving directory
Tools versions:
- avr-gcc 4.8.2
- avrlibc 1.8.0
- binutils-avr 2.20.1
- GNU make 3.81
Any hints?
Thanks!
Arliones.
arliones.hoeller:stlport$ ./configure --target=avr
arliones.hoeller:stlport$ make
make -C build/lib all;
make[1]: Entrando no diretório `/home/arliones.hoeller/Libraries/avr/stlport/build/lib'
avr-c++ -fno-rtti -fno-exceptions -g -Os -w -Wall -ffunction-sections -fdata-sections -fPIC -O2 -fuse-cxa-atexit -fvisibility=hidden -D_STLP_NO_RTTI -I../../stlport -c -o obj/avr-gcc/so/dll_main.o ../../src/dll_main.cpp
In file included from ../../stlport/stl/_new.h:54:0,
from ../../stlport/stl/_alloc.h:47,
from ../../stlport/memory:29,
from ../../src/dll_main.cpp:41:
../../stlport/new.h:27:26: fatal error: new.h: Arquivo ou diretório não encontrado
# include_next <new.h>
^
compilation terminated.
make[1]: ** [obj/avr-gcc/so/dll_main.o] Erro 1
make[1]: Saindo do diretório `/home/arliones.hoeller/Libraries/avr/stlport/build/lib'
make: ** [all] Erro 2
carlsonp commented
Is this the file it's referencing?
https://github.com/vancegroup/stlport-avr/blob/STLport-master-avr/stlport/new
If so, perhaps try to add the .h
file extension to the end?
Or, if it's a different file, try adding the directory to your include path.