Continuation from : topic1142.html
But I didn’t want to flood the guide’s thread with this.
I’ve got mintlinux 17.1 32bit and winXP (minGW32) running fine.
But I’m really struggling with android.
So, I’ve installed
Java JDK
CMake
Ant (Apache-Ant)
Android Studio SDK
Android NDK
Gradle, I installed it (like ant, set it’s bin path on the path) but not sure how it’s used?
I’ve run the CopyData.bat as required by the instructions: urho3d.github.io/documentation/1 … lding.html
env.bat:
set path=%path%;C:\Android\android-ndk\prebuilt\windows\bin;C:\ant\bin;C:\gradle\bin;C:\Android\android-ndk\build;C:\Android\android-sdk\tools;C:\Android\android-sdk\platform-tools
set ANDROID_NDK=C:\Android\android-ndk
set ANDROID_SDK=C:\Android\android-sdk
set JAVA_HOME=C:\JDK
set GRADLE_HOME=C:\gradle
C:\Urho3D-1.5>cmake_android.bat build1
CMake Warning at CMake/Modules/Urho3D-CMake-common.cmake:193 (message):
Could not use MKLINK to setup symbolic links as this Windows user account
does not have the privilege to do so. When MKLINK is not available then
the build system will fallback to use file/directory copy of the library
headers from source tree to build tree. In order to prevent stale headers
being used in the build, this file/directory copy will be redone also as a
post-build step for each library targets. This may slow down the build
unnecessarily or even cause other unforseen issues due to incomplete or
stale headers in the build tree. Request your Windows Administrator to
grant your user account to have privilege to create symlink via MKLINK
command. You are NOT advised to use the Administrator account directly to
generate build tree in all cases.
Call Stack (most recent call first):
CMakeLists.txt:47 (include)
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- The ASM compiler identification is GNU
-- Found assembler: C:/Android/android-ndk/toolchains/arm-linux-androideabi-4.9/
prebuilt/windows/bin/arm-linux-androideabi-gcc.exe
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Found Urho3D: as CMake target
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Urho3D-1.5/build1
C:\Urho3D-1.5>cd build1
C:\Urho3D-1.5\build1>android update project -p . -t 1
Updated and renamed default.properties to project.properties
Updated local.properties
Added file C:\Urho3D-1.5\build1\proguard-project.txt
C:\Urho3D-1.5\build1>make
Scanning dependencies of target FreeType
[ 0%] Building C object Source/ThirdParty/FreeType/CMakeFiles/FreeType.dir/src/
autofit/autofit.c.o
The system cannot find the path specified.
make[2]: *** [Source/ThirdParty/FreeType/CMakeFiles/FreeType.dir/src/autofit/aut
ofit.c.o] Error 1
make[1]: *** [Source/ThirdParty/FreeType/CMakeFiles/FreeType.dir/all] Error 2
make: *** [all] Error 2
I’m using winXP SP3 32bit admin account.
I also tried using -DUSE_MKLINK=1 but CMake gives the warning:
Manually-specified variables were not used by the project:
USE_MKLINK
Any help would be great.