[Android] Linker issue with GLSL Optimizer

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
Emerich
Halfling
Posts: 64
Joined: Wed Oct 24, 2012 10:59 am
x 12

[Android] Linker issue with GLSL Optimizer

Post by Emerich »

Hi there!

I'm trying to link the GLSL Optimizer to my Android Project after compiling Ogre with it.
Simply put, the link fails when I try to link the optimizer against my project, which uses Ogre.

Code: Select all

1>Link:
1>  D:/master/svn/ogre/ogre/AndroidDependencies/lib/armeabi-v7a\libglsl_optimizer.a(ralloc.c.o): In function `ralloc_autofree_context':
1>  ralloc.c:(.text.ralloc_autofree_context+0x28): undefined reference to `atexit'
1>  collect2: ld returned 1 exit status
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\vs-android.Cpp.Android.Build.targets(145,5): error MSB6006: "D:\NVPACK\android-ndk-r8d\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-g++.exe" wurde mit dem Code 1 beendet.
Did anyone run into the issue before? I couldn't find any working solutions on google.

Thanks in advance!
tristanjl
Gnoblar
Posts: 5
Joined: Mon Apr 08, 2013 5:34 am

Re: [Android] Linker issue with GLSL Optimizer

Post by tristanjl »

You need to turn off Report Undefined Symbols under Linker -> Advanced in Project properties. Encountered the same issue myself
Post Reply