LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: crashtua on March 30, 2013, 17:20:25

Title: Cant compile ES native libs on ASUS tf201
Post by: crashtua on March 30, 2013, 17:20:25
Cant compile, it gives error:

    [apply] /home/prime-user/LWJGL/src/native/common/opengles/org_lwjgl_opengles_CallbackUtil.c:56:22: error: expected «=», «,», «;», «asm» or «__attribute__» before «debugCallbackKHR»

What it can be?
Title: Re: Cant compile ES native libs on ASUS tf201
Post by: crashtua on March 30, 2013, 18:14:44
The next error i have is:

[apply] /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libXxf86vm.a(XF86VMode.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    [apply] /usr/lib/gcc/arm-linux-gnueabihf/4.6/../../../arm-linux-gnueabihf/libXxf86vm.a: could not read symbols: Bad value

Previous error bypassed by removing APIENTRY before function declaration.