Page 1 of 1

Error compiling: "ogc/disc_io.h: No such file or directory"

Posted: Sun Nov 15, 2009 5:02 pm
by ex-peluo
Hi all. I've installed Kubuntu 9.10 and installed the latest version of libnds, libfat, etc... I did it before and always work, but now, when i compile my program, i obtain this:
/home/piter/NDS/devkitPro/libnds/include/fat.h:38:25: warning: ogc/disc_io.h: No such file or directory
In file included from /home/piter/Documentos/DS/PRUEBAS/include/cfichero.h:2,
from /home/piter/Documentos/DS/PRUEBAS/include/cimagen.h:1,
from /home/piter/Documentos/DS/PRUEBAS/include/cbmp.h:1,
from /home/piter/Documentos/DS/PRUEBAS/include/cpartido.h:1,
from /home/piter/Documentos/DS/PRUEBAS/source/calcular_estado_partido.cpp:1:
/home/piter/NDS/devkitPro/libnds/include/fat.h:59: error: ISO C++ forbids declaration of 'DISC_INTERFACE' with no type
/home/piter/NDS/devkitPro/libnds/include/fat.h:59: error: expected ',' or '...' before '*' token
/home/piter/NDS/devkitPro/libnds/include/fat.h:69: error: ISO C++ forbids declaration of 'DISC_INTERFACE' with no type
/home/piter/NDS/devkitPro/libnds/include/fat.h:69: error: expected ',' or '...' before '*' token
As you see, there is a problem with libfat, but i've installed it as always. any idea??. I ' ve searched on the web, but nothings appears. Thanks

Re: Error compiling: "ogc/disc_io.h: No such file or directory"

Posted: Sun Nov 15, 2009 8:37 pm
by ex-peluo
Ok, i've solved it. I've compiled the libfat src files and now it works!!!!!.