yisky wrote:Wolfmanfx wrote:Use 1.10 and the latest NDK
Sorry to trouble again. I had to do as you say, Use 1.10 and the latest NDK(r10e). But i still have the same error.
This is all the warning & error I have met during the whole building. Hope you can help me. Thanks.
Cmake warning
CMake Warning (dev) at CMake/toolchain/android.toolchain.cmake:1745 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run "cmake --help-policy CMP0054" for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like "LIBRARY_OUTPUT_PATH_ROOT" will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
CMakeFiles/3.3.0-rc4/CMakeSystem.cmake:6 (include)
CMakeLists.txt:52 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
warning during the nmake:
In file included from src\OgreMemoryNedPooling.cpp:42:0:
src\nedmalloc/nedmalloc.c: In function 'malloc_state* nedalloc::FindMSpace(nedal
loc::nedpool*, nedalloc::threadcache*, int*, size_t)':
src\nedmalloc/nedmalloc.c:606:54: warning: cast from type 'malloc_state**' to ty
pe 'volatile malloc_state**' casts away qualifiers [-Wcast-qual]
*((volatile struct malloc_state **) &p->m[end])=p->m[end]=temp;
^
src\nedmalloc/nedmalloc.c:606:71: warning: operation on 'p->nedalloc::nedpool_t:
:m[end]' may be undefined [-Wsequence-point]
*((volatile struct malloc_state **) &p->m[end])=p->m[end]=temp;
^
src\OgreResource.cpp: In member function 'virtual void Ogre::Resource::_fireLoad
ingComplete(bool)':
src\OgreResource.cpp:380:53: warning: 'virtual void Ogre::Resource::Listener::ba
ckgroundLoadingComplete(Ogre::Resource*)' is deprecated (declared at include/Ogr
eResource.h:91) [-Wdeprecated-declarations]
(*i)->backgroundLoadingComplete(this);
src\OgreResource.cpp: In member function 'virtual void Ogre::Resource::_firePrep
aringComplete(bool)':
src\OgreResource.cpp:395:55: warning: 'virtual void Ogre::Resource::Listener::ba
ckgroundPreparingComplete(Ogre::Resource*)' is deprecated (declared at include/O
greResource.h:97) [-Wdeprecated-declarations]
(*i)->backgroundPreparingComplete(this);
Error during the nmake
[ 38%] Linking CXX static library ..\lib\libOgreMainStatic.a
System cannot find the specified path.
NMAKE : fatal error U1077: “cd”: return code “0x1”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 10.
0\VC\BIN\nmake.exe"”: return code “0x2”
Stop.
NMAKE : fatal error U1077: “"C:\Program Files (x86)\Microsoft Visual Studio 10.
0\VC\BIN\nmake.exe"”: return code“0x2”
Stop.