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

Post Reply
ex-peluo
Posts: 19
Joined: Wed Apr 15, 2009 10:44 pm

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

Post by ex-peluo » Sun Nov 15, 2009 5:02 pm

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

ex-peluo
Posts: 19
Joined: Wed Apr 15, 2009 10:44 pm

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

Post by ex-peluo » Sun Nov 15, 2009 8:37 pm

Ok, i've solved it. I've compiled the libfat src files and now it works!!!!!.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest