Code: Select all
e:/AndorProyectos/NaraEngine/Test/../gfx/lib\libgfx.a(RendererDS.o): In function `glInit':
e:/devkitPro/libnds/include/nds/arm9/videoGL.h(1136): undefined reference to `glInit_C'
e:/AndorProyectos/NaraEngine/Test/../gfx/lib\libgfx.a(RendererDS.o): In function `gluPerspectivef32':
e:/devkitPro/libnds/include/nds/arm9/videoGL.h(995): undefined reference to `tanFixed'
e:/AndorProyectos/NaraEngine/Test/../gfx/lib\libgfx.a(RendererDS.o): In function `ne::gfx::CRendererDS::Init(int, int, int, bool)':
e:/AndorProyectos/NaraEngine/gfx/source/RendererDS.cpp(55): undefined reference to `glGlobalData'
e:/AndorProyectos/NaraEngine/Test/../gfx/lib\libgfx.a(RendererDS.o):(.debug_info+0x5b1c): undefined reference to `glGlobalData'
collect2: ld returned 1 exit status
make[1]: *** [/e/AndorProyectos/NaraEngine/Test/Test.elf] Error 1
make: *** [build] Error 2
Also, I'm making 2 libraries (core and gfx). This 2 libraries compile OK, but I can't get the Test project to compile with this libraries because of the undefined references.
I searched the forums for a solution, but found nothing, so I'm posting the problem here.
Anyone can help? Thanks!