Advertisement
Guest User

bad lib linking

a guest
May 27th, 2016
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 7.86 KB | None | 0 0
  1. C:\cygwin64\home\Kouki\otclient-mobile\build_android>cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-23 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -USE_STATIC_LIBS ..
  2. -- Link to static libraries: ON
  3. -- Build type: RelWithDebInfo
  4. -- Build commit: devel
  5. -- Build revision: 0
  6. CMake Warning at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  7.   Imported targets not available for Boost version
  8. Call Stack (most recent call first):
  9.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  10.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
  11.   src/framework/CMakeLists.txt:217 (find_package)
  12.   CMakeLists.txt:12 (include)
  13.  
  14.  
  15. CMake Warning at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  16.   Imported targets not available for Boost version
  17. Call Stack (most recent call first):
  18.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  19.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
  20.   src/framework/CMakeLists.txt:217 (find_package)
  21.   CMakeLists.txt:12 (include)
  22.  
  23.  
  24. CMake Warning at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  25.   Imported targets not available for Boost version
  26. Call Stack (most recent call first):
  27.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  28.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
  29.   src/framework/CMakeLists.txt:217 (find_package)
  30.   CMakeLists.txt:12 (include)
  31.  
  32.  
  33. CMake Warning at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  34.   Imported targets not available for Boost version
  35. Call Stack (most recent call first):
  36.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  37.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1315 (_Boost_MISSING_DEPENDENCIES)
  38.   src/framework/CMakeLists.txt:217 (find_package)
  39.   CMakeLists.txt:12 (include)
  40.  
  41.  
  42. CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindBoost.cmake:1657 (message):
  43.   Unable to find the requested Boost libraries.
  44.  
  45.   Unable to find the Boost header files.  Please set BOOST_ROOT to the root
  46.   directory containing Boost or BOOST_INCLUDEDIR to the directory containing
  47.   Boost's headers.
  48. Call Stack (most recent call first):
  49.   src/framework/CMakeLists.txt:217 (find_package)
  50.   CMakeLists.txt:12 (include)
  51.  
  52.  
  53. CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  54.   Could NOT find Lua (missing: LUA_LIBRARY LUA_INCLUDE_DIR)
  55. Call Stack (most recent call first):
  56.   C:/Program Files (x86)/CMake/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  57.   src/framework/cmake/FindLua.cmake:17 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  58.   src/framework/CMakeLists.txt:229 (find_package)
  59.   CMakeLists.txt:12 (include)
  60.  
  61.  
  62. -- Configuring incomplete, errors occurred!
  63. See also "C:/cygwin64/home/Kouki/otclient-mobile/build_android/CMakeFiles/CMakeOutput.log".
  64.  
  65. C:\cygwin64\home\Kouki\otclient-mobile\build_android>make
  66. make: *** No targets specified and no makefile found.  Stop.
  67.  
  68. C:\cygwin64\home\Kouki\otclient-mobile\build_android>cd ../
  69.  
  70. C:\cygwin64\home\Kouki\otclient-mobile>xcopy /E /Y libs android\project\libs
  71. File not found - libs
  72. 0 File(s) copied
  73.  
  74. C:\cygwin64\home\Kouki\otclient-mobile>cd android\project
  75.  
  76. C:\cygwin64\home\Kouki\otclient-mobile\android\project>call android update project -p . --name OTClient --target android-23
  77. Updated project.properties
  78. Updated local.properties
  79. Updated file C:\cygwin64\home\Kouki\otclient-mobile\android\project\build.xml
  80. Updated file C:\cygwin64\home\Kouki\otclient-mobile\android\project\proguard-project.txt
  81. It seems that there are sub-projects. If you want to update them
  82. please use the --subprojects parameter.
  83. Buildfile: C:\cygwin64\home\Kouki\otclient-mobile\android\project\build.xml
  84.  
  85. -set-mode-check:
  86.  
  87. -set-debug-files:
  88.  
  89. -check-env:
  90.  [checkenv] Android SDK Tools Revision 25.1.3
  91.  [checkenv] Installed at C:\Users\Kouki\AppData\Local\Android\sdk
  92.  
  93. -setup:
  94.      [echo] Project Name: OTClient
  95.   [gettype] Project Type: Application
  96.  
  97. -set-debug-mode:
  98.  
  99. -debug-obfuscation-check:
  100.  
  101. -pre-build:
  102.  
  103. -build-setup:
  104. [getbuildtools] Using latest Build Tools: 23.0.3
  105.      [echo] Resolving Build Target for OTClient...
  106. [gettarget] Project Target:   Android 6.0
  107. [gettarget] API level:        23
  108.      [echo] ----------
  109.      [echo] Creating output directories if needed...
  110.      [echo] ----------
  111.      [echo] Resolving Dependencies for OTClient...
  112. [dependency] Library dependencies:
  113. [dependency] No Libraries
  114. [dependency]
  115. [dependency] ------------------
  116.      [echo] ----------
  117.      [echo] Building Libraries with 'debug'...
  118.    [subant] No sub-builds to iterate on
  119.  
  120. -code-gen:
  121. [mergemanifest] Found Deleted Target File
  122. [mergemanifest] Merging AndroidManifest files into one.
  123. [mergemanifest] Manifest merger disabled. Using project manifest only.
  124.      [echo] Handling aidl files...
  125.      [aidl] No AIDL files to compile.
  126.      [echo] ----------
  127.      [echo] Handling RenderScript files...
  128.      [echo] ----------
  129.      [echo] Handling Resources...
  130.      [aapt] Found Deleted Target File
  131.      [aapt] Generating resource IDs...
  132.      [echo] ----------
  133.      [echo] Handling BuildConfig class...
  134. [buildconfig] No need to generate new BuildConfig.
  135.  
  136. -pre-compile:
  137.  
  138. -compile:
  139.     [javac] Compiling 1 source file to C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\classes
  140.     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
  141.     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
  142.     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  143.     [javac] 3 warnings
  144.  
  145. -post-compile:
  146.  
  147. -obfuscate:
  148.  
  149. -dex:
  150.       [dex] input: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\classes
  151.       [dex] Found Deleted Target File
  152.       [dex] Converting compiled files and external libraries into C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\classes.dex...
  153.  
  154. -crunch:
  155.    [crunch] Crunching PNG Files in source dir: C:\cygwin64\home\Kouki\otclient-mobile\android\project\res
  156.    [crunch] To destination dir: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\res
  157.    [crunch] Crunched 0 PNG files to update cache
  158.  
  159. -package-resources:
  160.      [aapt] Found Deleted Target File
  161.      [aapt] Creating full resource package...
  162.      [aapt] Warning: AndroidManifest.xml already defines debuggable (in http://schemas.android.com/apk/res/android); using existing value in manifest.
  163.  
  164. -package:
  165. [apkbuilder] Found Deleted Target File
  166. [apkbuilder] Creating OTClient-debug-unaligned.apk and signing it with a debug key...
  167.  
  168. -post-package:
  169.  
  170. -do-debug:
  171.  [zipalign] Running zip align on final apk...
  172.      [echo] Debug Package: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\OTClient-debug.apk
  173. [propertyfile] Updating property file: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\build.prop
  174. [propertyfile] Updating property file: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\build.prop
  175. [propertyfile] Updating property file: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\build.prop
  176. [propertyfile] Updating property file: C:\cygwin64\home\Kouki\otclient-mobile\android\project\bin\build.prop
  177.  
  178. -post-build:
  179.  
  180. debug:
  181.  
  182. BUILD SUCCESSFUL
  183. Total time: 2 seconds
  184. 4330 KB/s (383643 bytes in 0.086s)
  185.         pkg: /data/local/tmp/OTClient-debug.apk
  186. Success
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement