Error when compiling SampleBrowserNDK (Android)

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
Siedge
Gnoblar
Posts: 9
Joined: Tue Apr 23, 2013 3:16 am

Error when compiling SampleBrowserNDK (Android)

Post by Siedge » Fri Apr 26, 2013 11:35 pm

So when i try to compile it i get

Code: Select all

ositor.h:117: error: undefined reference to 'Ogre::CompositorManager::registerCo
mpositorLogic(std::string const&, Ogre::CompositorLogic*)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_C
ompositor::setupContent():C:/sinbad-ogre-61e819c74682/build/Samples/include/Comp
ositor.h:117: error: undefined reference to 'vtable for GaussianBlurLogic'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_C
ompositor::setupContent():C:/sinbad-ogre-61e819c74682/build/Samples/include/Comp
ositor.h:117: error: undefined reference to 'vtable for HDRLogic'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_C
ompositor::setupContent():C:/sinbad-ogre-61e819c74682/build/Samples/include/Comp
ositor.h:117: error: undefined reference to 'vtable for HeatVisionLogic'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_D
ot3Bump::setupModels():C:/sinbad-ogre-61e819c74682/build/Samples/include/Dot3Bum
p.h:211: error: undefined reference to 'Ogre::Mesh::suggestTangentVectorBuildPar
ams(Ogre::VertexElementSemantic, unsigned short&, unsigned short&)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_D
ot3Bump::setupModels():C:/sinbad-ogre-61e819c74682/build/Samples/include/Dot3Bum
p.h:213: error: undefined reference to 'Ogre::Mesh::buildTangentVectors(Ogre::Ve
rtexElementSemantic, unsigned short, unsigned short, bool, bool, bool)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:450: error: undefined reference to 'Ogre::UTFS
tring::operator==(Ogre::UTFString const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:460: error: undefined reference to 'Ogre::UTFS
tring::operator==(Ogre::UTFString const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:550: error: undefined reference to 'Ogre::Root
::getRenderSystemByName(std::string const&)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:556: error: undefined reference to 'Ogre::UTFS
tring::operator!=(Ogre::UTFString const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:561: error: undefined reference to 'Ogre::UTFS
tring::operator!=(Ogre::UTFString const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::buttonHit(OgreBites::Button*):C:/sinbad-ogre-61e819c74682/buil
d/Samples/include/SampleBrowser.h:570: error: undefined reference to 'Ogre::Root
::queueEndRendering(bool)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1373: error: undefined reference to 'Ogre::ConfigFile::ConfigF
ile()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1375: error: undefined reference to 'Ogre::ConfigFile::load(Og
re::SharedPtr<Ogre::DataStream> const&, std::string const&, bool)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1380: error: undefined reference to 'Ogre::ConfigFile::getSett
ing(std::string const&, std::string const&, std::string const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1381: error: undefined reference to 'Ogre::ConfigFile::getMult
iSetting(std::string const&, std::string const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1382: error: undefined reference to 'Ogre::ConfigFile::getSett
ing(std::string const&, std::string const&, std::string const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1461: error: undefined reference to 'Ogre::StringUtil::endsWit
h(std::string const&, std::string const&, bool)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1470: error: undefined reference to 'Ogre::Root::installPlugin
(Ogre::Plugin*)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1534: error: undefined reference to 'Ogre::ConfigFile::~Config
File()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::loadSamples():C:/sinbad-ogre-61e819c74682/build/Samples/includ
e/SampleBrowser.h:1534: error: undefined reference to 'Ogre::ConfigFile::~Config
File()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1120: error: undefined reference to 'Ogre::ResourceGroupManager::ini
tialiseResourceGroup(std::string const&)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1140: error: undefined reference to 'Ogre::FileHandleDataStream::Fil
eHandleDataStream(std::string const&, __sFILE*, unsigned short)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1150: error: undefined reference to 'Ogre::RTShader::ShaderGenerator
::getSingletonPtr()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1150: error: undefined reference to 'Ogre::Root::getSceneManager(std
::string const&) const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1150: error: undefined reference to 'Ogre::RTShader::ShaderGenerator
::addSceneManager(Ogre::SceneManager*)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1162: error: undefined reference to 'Ogre::Root::addFrameListener(Og
re::FrameListener*)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1163: error: undefined reference to 'Ogre::WindowEventUtilities::add
WindowEventListener(Ogre::RenderWindow*, Ogre::WindowEventListener*)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function OgreBite
s::SampleBrowser::setup():C:/sinbad-ogre-61e819c74682/build/Samples/include/Samp
leBrowser.h:1167: error: undefined reference to 'Ogre::Pass::createTextureUnitSt
ate()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function void std
::__uninitialized_fill_n<false>::__uninit_fill_n<Ogre::SimpleSpline*, unsigned i
nt, Ogre::SimpleSpline>(Ogre::SimpleSpline*, unsigned int, Ogre::SimpleSpline co
nst&):C:/android/ndk/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_construc
t.h:94: error: undefined reference to 'Ogre::SimpleSpline::~SimpleSpline()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Ogre::Si
mpleSpline* std::__uninitialized_copy<false>::__uninit_copy<Ogre::SimpleSpline*,
 Ogre::SimpleSpline*>(Ogre::SimpleSpline*, Ogre::SimpleSpline*, Ogre::SimpleSpli
ne*):C:/android/ndk/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/stl_construct
.h:94: error: undefined reference to 'Ogre::SimpleSpline::~SimpleSpline()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function std::vec
tor<Ogre::SimpleSpline, std::allocator<Ogre::SimpleSpline> >::_M_fill_insert(__g
nu_cxx::__normal_iterator<Ogre::SimpleSpline*, std::vector<Ogre::SimpleSpline, s
td::allocator<Ogre::SimpleSpline> > >, unsigned int, Ogre::SimpleSpline const&):
C:/android/ndk/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/vector.tcc:415: er
ror: undefined reference to 'Ogre::SimpleSpline::~SimpleSpline()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
208: error: undefined reference to 'Ogre::SimpleSpline::SimpleSpline()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
225: error: undefined reference to 'Ogre::SimpleSpline::setAutoCalculate(bool)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
230: error: undefined reference to 'Ogre::Math::SymmetricRandom()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
230: error: undefined reference to 'Ogre::Math::SymmetricRandom()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
234: error: undefined reference to 'Ogre::SimpleSpline::getPoint(unsigned short)
 const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
239: error: undefined reference to 'Ogre::SimpleSpline::addPoint(Ogre::Vector3 c
onst&)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
243: error: undefined reference to 'Ogre::SimpleSpline::getPoint(unsigned short)
 const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
243: error: undefined reference to 'Ogre::SimpleSpline::addPoint(Ogre::Vector3 c
onst&)'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
244: error: undefined reference to 'Ogre::SimpleSpline::recalcTangents()'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupFish():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel.h:
222: error: undefined reference to 'Ogre::Vector3::UNIT_SCALE'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function Sample_F
resnel::setupContent():C:/sinbad-ogre-61e819c74682/build/Samples/include/Fresnel
.h:112: error: undefined reference to 'Ogre::Vector3::NEGATIVE_UNIT_Y'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::ItemIdentityException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21ItemId
entityExceptionE+0x14): error: undefined reference to 'Ogre::Exception::getFullD
escription() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::ItemIdentityException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21ItemId
entityExceptionE+0x18): error: undefined reference to 'Ogre::Exception::getNumbe
r() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::FileNotFoundException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21FileNo
tFoundExceptionE+0x14): error: undefined reference to 'Ogre::Exception::getFullD
escription() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::FileNotFoundException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21FileNo
tFoundExceptionE+0x18): error: undefined reference to 'Ogre::Exception::getNumbe
r() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::InvalidParametersException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre26I
nvalidParametersExceptionE+0x14): error: undefined reference to 'Ogre::Exception
::getFullDescription() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::InvalidParametersException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre26I
nvalidParametersExceptionE+0x18): error: undefined reference to 'Ogre::Exception
::getNumber() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::InvalidStateException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21Invali
dStateExceptionE+0x14): error: undefined reference to 'Ogre::Exception::getFullD
escription() const'
C:/android/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/
gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./ob
j/local/armeabi-v7a/objs/OgreSampleBrowser/SampleBrowser.o: in function vtable f
or Ogre::InvalidStateException:SampleBrowser.cpp(.data.rel.ro._ZTVN4Ogre21Invali
dStateExceptionE+0x18): error: undefined reference to 'Ogre::Exception::getNumbe
r() const'
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/libOgreSampleBrowser.so] Error 1
0 x

Siedge
Gnoblar
Posts: 9
Joined: Tue Apr 23, 2013 3:16 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Siedge » Mon Apr 29, 2013 7:20 pm

Any ideas?
Anyone?
0 x

ZettaZete
Gnoblar
Posts: 2
Joined: Mon Apr 29, 2013 7:44 pm

Re: Error when compiling SampleBrowserNDK (Android)

Post by ZettaZete » Mon Apr 29, 2013 8:08 pm

I think I remember having errors like those. I believe it is because you are not using the 32bit version of the NDK. I'm just spitballing here, but that is what fixed it for me.
0 x

Siedge
Gnoblar
Posts: 9
Joined: Tue Apr 23, 2013 3:16 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Siedge » Mon Apr 29, 2013 9:27 pm

No change
0 x

Siedge
Gnoblar
Posts: 9
Joined: Tue Apr 23, 2013 3:16 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Siedge » Tue Apr 30, 2013 8:26 pm

still no help? :(
0 x

Emerich
Halfling
Posts: 64
Joined: Wed Oct 24, 2012 10:59 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Emerich » Tue Apr 30, 2013 8:59 pm

What system are you using? Which IDE? Which Ogre Version? =)
0 x

Siedge
Gnoblar
Posts: 9
Joined: Tue Apr 23, 2013 3:16 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Siedge » Tue Apr 30, 2013 9:41 pm

System: Windows 7 64 bit (Ultimate)
IDE: Visual Studio 2010
Ogre: 1.9
0 x

Emerich
Halfling
Posts: 64
Joined: Wed Oct 24, 2012 10:59 am

Re: Error when compiling SampleBrowserNDK (Android)

Post by Emerich » Wed May 01, 2013 1:15 am

That's basically the same setup I'm running. It should compile fine if you follow the quickstart guide.
Now a lot might've changed since I last compiled the ogre sources.. BUT...
You can get revision 4498. That one compiled for me.

You might wanna post your cmake log, too.
0 x

Post Reply