Building OpenNI using a cross-compiler
轉自:https://www.douban.com/note/423014679/
Building OpenNI using a cross-compiler:
1) Make sure to define two environment variables:
- <platform>_CXX - the name of the cross g++ for platform <platform>
- <platform>_STAGING - a path to the staging dir (a directory which simulates the target root filesystem).
Note that <platform> should be upper cased.
For example, if wanting to compile for ARM from a x86 machine, ARM_CXX and ARM_STAGING should be defined.
2) Go into the directory: "Platform/Linux/CreateRedist".
Run: "./RedistMaker <platform>" (for example: "./RedistMake Arm").
This will compile everything and create a redist package in the "Platform/Linux/Redist" directory.
It will also create a distribution in the "Platform/Linux/CreateRedist/Final" directory.
3) To install OpenNI files on the target file system:
Go into the directory: "Platform/Linux/Redist".
Run the script: "./install.sh -c $<platform>_STAGING" (for example: "./install.sh -c $ARM_STAGING").
The install script copies key files to the following location:
Libs into: STAGING/usr/lib
Bins into: STAGING/usr/bin
Includes into: STAGING/usr/include/ni
Config files into: STAGING/var/lib/ni
To build the package manually, you can run "make PLATFORM=<platform>" in the "Platform\Linux\Build" directory.
If you wish to build the Mono wrappers, also run "make PLATFORM=<platform> mono_wrapper" and "make PLATFORM=<platform> mono_samples".
相關文章
- openni niviewer問題彙總View
- Arduino BuildingUI
- Building an Automatically Scaling Web ApplicationUIWebAPP
- 1469C Building a FenceUI
- CF1316E Team BuildingUI
- MySQL 索引優化 Using where, Using filesortMySql索引優化
- MySQL explain結果Extra中"Using Index"與"Using where; Using index"區別MySqlAIIndex
- [leetcode] 1642. Furthest Building You Can ReachLeetCodeUI
- A lightweight, ultra-fast tool for building observability pipelinesASTUI
- Using hints for PostgresqlSQL
- String interpolation using $
- using的用法
- Using mysqldump for backupsMySql
- MySQL 之 USINGMySql
- 飛利浦案例研究: Building Connectivity with Kotlin MultiplatformUIKotlinPlatform
- pdf crop using pythonPython
- MGTSC 212 using ExcelExcel
- Video Division with using OpenCvIDEOpenCV
- Dictionary application using SwingAPP
- What are the benefits of using an proxy?
- 淺談Using filesort和Using temporary 為什麼這麼慢
- [翻譯]Building WhatsApp Ui with Flutter Part 2 : The Chat ListUIAPPFlutter
- ARS Reinforcement Learning using Gymnasium
- Using MATLAB with CANoe 快讀Matlab
- 深度學習問題記錄:Building your Deep Neural深度學習UI
- 【Using English】28 - Security with HTTPS and SSLHTTP
- LeetCode | 232 Implement Queue Using StacksLeetCode
- [Javascript] Using IIFE to improve code performanceJavaScriptORM
- fribidi not found using pkg-config
- Mysql using使用詳解ZCSFMySql
- cdMysql?using?用法示例詳解MySql
- recover database using backup controlfile理解Database
- Dog robot MPC Cotroller using Pybullet
- Qt開發,報錯:Error while building/deploying project untitled (kit: ....)QTErrorWhileUIProject
- 呼叫https介面時報錯:PKIX path building failed 的問題HTTPUIAI
- Pay close attention to your download code——Visual Studio trick to run code when buildingUI
- How to get the description of blast hit using blastdbcmd?AST
- Fatal error in launcher: Unable to create process using '"'Error