Hey guys, I'm facing the following issues when building:
Code: Select all
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:324
: error: undefined reference to 'FreeImage_AllocateT'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:346
: error: undefined reference to 'FreeImage_GetPitch'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:351
: error: undefined reference to 'FreeImage_GetBits'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:341
: error: undefined reference to 'FreeImage_ConvertToGreyscale'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:342
: error: undefined reference to 'FreeImage_Unload'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:264
: error: undefined reference to 'FreeImage_FIFSupportsExportBPP'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:290
: error: undefined reference to 'FreeImage_FIFSupportsExportBPP'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeBitmap(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:300
: error: undefined reference to 'FreeImage_FIFSupportsExportBPP'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&, Ogre
::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:373: erro
r: undefined reference to 'FreeImage_OpenMemory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&, Ogre
::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:375: erro
r: undefined reference to 'FreeImage_SaveToMemory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&, Ogre
::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:379: erro
r: undefined reference to 'FreeImage_AcquireMemory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&, Ogre
::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:387: erro
r: undefined reference to 'FreeImage_CloseMemory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encode(Ogre::SharedPtr<Ogre::MemoryDataStream>&, Ogre
::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFreeImageCodec.cpp:389: erro
r: undefined reference to 'FreeImage_Unload'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeToFile(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, std::string const&, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFr
eeImageCodec.cpp:401: error: undefined reference to 'FreeImage_Save'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::encodeToFile(Ogre::SharedPtr<Ogre::MemoryDataStream>&
, std::string const&, Ogre::SharedPtr<Ogre::Codec::CodecData>&) const:src/OgreFr
eeImageCodec.cpp:402: error: undefined reference to 'FreeImage_Unload'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:85: error: undef
ined reference to 'FreeImage_Initialise'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:89: error: undef
ined reference to 'FreeImage_GetVersion'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:92: error: undef
ined reference to 'FreeImage_GetCopyrightMessage'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:98: error: undef
ined reference to 'FreeImage_GetFIFCount'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:106: error: unde
fined reference to 'FreeImage_GetFIFExtensionList'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::startup():src/OgreFreeImageCodec.cpp:134: error: unde
fined reference to 'FreeImage_SetOutputMessage'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageLoadErrorHandler(FREE_IMAGE_FORMAT, char const*):src/OgreFre
eImageCodec.cpp:61: error: undefined reference to 'FreeImage_GetFormatFromFIF'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::shutdown():src/OgreFreeImageCodec.cpp:143: error: und
efined reference to 'FreeImage_DeInitialise'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:411: error: undefined reference to 'FreeImage_OpenMemory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:414: error: undefined reference to 'FreeImage_LoadFromMem
ory'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:427: error: undefined reference to 'FreeImage_GetWidth'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:428: error: undefined reference to 'FreeImage_GetHeight'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:434: error: undefined reference to 'FreeImage_GetImageTyp
e'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:435: error: undefined reference to 'FreeImage_GetColorTyp
e'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:436: error: undefined reference to 'FreeImage_GetBPP'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:551: error: undefined reference to 'FreeImage_GetBits'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:552: error: undefined reference to 'FreeImage_GetPitch'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:569: error: undefined reference to 'FreeImage_Unload'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:570: error: undefined reference to 'FreeImage_CloseMemory
'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:467: error: undefined reference to 'FreeImage_IsTranspare
nt'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:476: error: undefined reference to 'FreeImage_ConvertTo24
Bits'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:483: error: undefined reference to 'FreeImage_GetBPP'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:495: error: undefined reference to 'FreeImage_GetGreenMas
k'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:471: error: undefined reference to 'FreeImage_ConvertTo32
Bits'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreFreeImageCodec.cpp.o): in func
tion Ogre::FreeImageCodec::decode(Ogre::SharedPtr<Ogre::DataStream>&) const:src/
OgreFreeImageCodec.cpp:456: error: undefined reference to 'FreeImage_ConvertToGr
eyscale'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::skip(long):src/OgreZip.cpp:369: error: undefined reference to 'zz
ip_seek'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::seek(unsigned int):src/OgreZip.cpp:381: error: undefined referenc
e to 'zzip_seek'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::tell() const:src/OgreZip.cpp:392: error: undefined reference to '
zzip_tell'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::close():src/OgreZip.cpp:407: error: undefined reference to 'zzip_
file_close'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::unload():src/OgreZip.cpp:132: error: undefined reference to 'zzip_di
r_close'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::read(void*, unsigned int):src/OgreZip.cpp:339: error: undefined r
eference to 'zzip_file_read'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::read(void*, unsigned int):src/OgreZip.cpp:341: error: undefined r
eference to 'zzip_dirhandle'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipDataStream::read(void*, unsigned int):src/OgreZip.cpp:342: error: undefined r
eference to 'zzip_strerror_of'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::load():src/OgreZip.cpp:92: error: undefined reference to 'zzip_dir_o
pen_ext_io'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::load():src/OgreZip.cpp:97: error: undefined reference to 'zzip_dir_r
ead'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::open(std::string const&, bool) const:src/OgreZip.cpp:147: error: und
efined reference to 'zzip_file_open'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::open(std::string const&, bool) const:src/OgreZip.cpp:172: error: und
efined reference to 'zzip_dir_stat'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::open(std::string const&, bool) const:src/OgreZip.cpp:161: error: und
efined reference to 'zzip_error'
D:/Android/NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: D:/P
rojects/ogre-new/Repo/lib/libOgreMainStatic.a(OgreZip.cpp.o): in function Ogre::
ZipArchive::open(std::string const&, bool) const:src/OgreZip.cpp:155: error: und
efined reference to 'zzip_file_open'
collect2: ld returned 1 exit status
make.exe: *** [obj/local/armeabi/libOgreJNI.so] Error 1
jom: D:\Projects\ogre-new\Repo\CMakeFiles\OgreJNIDummy.dir\build.make [lib\libOg
reJNIDummy.so] Error 2
jom: D:\Projects\ogre-new\Repo\CMakeFiles\Makefile2 [CMakeFiles\OgreJNIDummy.dir
\all] Error 2
jom: D:\Projects\ogre-new\Repo\Makefile [all] Error 2
D:\Projects\ogre-new\Repo>
The build command I'm using is the following:
Code: Select all
cmake -G"NMake Makefiles" -DCMAKE_TOOLCHAIN_FILE=cmake\toolchain\android.toolchain.cmake -DOGRE_DEPENDENCIES_DIR=AndroidDependencies -DANDROID_ABI=armeabi -DANDROID_NATIVE_API_LEVEL=19 .
I downloaded the dependencies from Wolfman's link, and I'm using NDK r9d x86. (It wouldn't even recognize x64)
Also for some reason the sample browser on Play Store is getting stuck at a black screen. The tablet I'm running it on is a new Toshiba Excite Pure, running a NVIDIA Tegra 3.