Page 1 of 1

[Android] Linker issue with GLSL Optimizer

Posted: Fri Apr 05, 2013 4:08 pm
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>  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!

Re: [Android] Linker issue with GLSL Optimizer

Posted: Mon May 13, 2013 11:02 am
by tristanjl
You need to turn off Report Undefined Symbols under Linker -> Advanced in Project properties. Encountered the same issue myself