NVIDIA DEBUG MANAGER FOR ANDROID NDK - VERSION 8.0.1

Similar documents
NSIGHT ECLIPSE PLUGINS INSTALLATION GUIDE

Tegra 250 Development Kit Android Setup Experience

NSIGHT ECLIPSE EDITION

SDK White Paper. Vertex Lighting Achieving fast lighting results

NVIDIA CAPTURE SDK 6.1 (WINDOWS)

NSIGHT ECLIPSE EDITION

GPU LIBRARY ADVISOR. DA _v8.0 September Application Note

NSIGHT ECLIPSE EDITION

NVWMI VERSION 2.24 STANDALONE PACKAGE

GRID SOFTWARE FOR RED HAT ENTERPRISE LINUX WITH KVM VERSION /370.28

NVIDIA CAPTURE SDK 6.0 (WINDOWS)

NVWMI VERSION 2.18 STANDALONE PACKAGE

GRID SOFTWARE FOR MICROSOFT WINDOWS SERVER VERSION /370.12

QUADRO SYNC II FIRMWARE VERSION 2.02

Application Note. NVIDIA Business Platform System Builder Certification Guide. September 2005 DA _v01

NVIDIA nforce 790i SLI Chipsets

NVIDIA CAPTURE SDK 7.1 (WINDOWS)

Android PerfHUD ES quick start guide

SDK White Paper. Matrix Palette Skinning An Example

MOSAIC CONTROL DISPLAYS

RMA PROCESS. vr384 October RMA Process

VIRTUAL GPU LICENSE SERVER VERSION

GRID VGPU FOR VMWARE VSPHERE Version /

CUDA TOOLKIT 3.2 READINESS FOR CUDA APPLICATIONS

SDK White Paper. Occlusion Query Checking for Hidden Pixels

PASCAL COMPATIBILITY GUIDE FOR CUDA APPLICATIONS

MAXWELL COMPATIBILITY GUIDE FOR CUDA APPLICATIONS

VIRTUAL GPU SOFTWARE. QSG _v5.0 through 5.2 Revision 03 February Quick Start Guide

User Guide. GLExpert NVIDIA Performance Toolkit

User Guide. Vertex Texture Fetch Water

KEPLER COMPATIBILITY GUIDE FOR CUDA APPLICATIONS

GRID VIRTUAL GPU FOR HUAWEI UVP Version ,

Enthusiast System Architecture Certification Feature Requirements

VIRTUAL GPU SOFTWARE MANAGEMENT SDK

NVIDIA CUDA C GETTING STARTED GUIDE FOR MAC OS X

TESLA C2050 COMPUTING SYSTEM

GPUMODESWITCH. DU April User Guide

CUDA-GDB: The NVIDIA CUDA Debugger

GLExpert NVIDIA Performance Toolkit

Building an Android* command-line application using the NDK build tools

NVIDIA CUDA GETTING STARTED GUIDE FOR MICROSOFT WINDOWS

VIRTUAL GPU MANAGEMENT PACK FOR VMWARE VREALIZE OPERATIONS

Technical Brief. LinkBoost Technology Faster Clocks Out-of-the-Box. May 2006 TB _v01

NVIDIA CUDA INSTALLATION GUIDE FOR MAC OS X

GRID VGPU FOR VMWARE VSPHERE Version /

GPUMODESWITCH. DU June User Guide

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

GRID SOFTWARE MANAGEMENT SDK

NVIDIA CUDA GETTING STARTED GUIDE FOR MAC OS X

Technical Report. Anisotropic Lighting using HLSL

JETSON TX1 AND TX2 VOLTAGE AND CURRENT MONITOR CONFIGURATION

GRID VIRTUAL GPU FOR HUAWEI UVP Version /

Intel Integrated Native Developer Experience 2015 (OS X* host)

Getting Started. NVIDIA CUDA C Installation and Verification on Mac OS X

If you don t have the JDK, you will need to install it. 1. Go to

SDK White Paper. HLSL Blood Shader Gravity Maps

PetaLinux SDK User Guide. Eclipse Plugin Guide

GRID VGPU FOR VMWARE VSPHERE Version /356.53

GRID VGPU FOR VMWARE VSPHERE Version /

Disassemble the machine code present in any memory region. Single step through each assembly language instruction in the Nios II application.

egui Eclipse User Guide

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Getting Started. NVIDIA CUDA Development Tools 2.2 Installation and Verification on Mac OS X. May 2009 DU _v01

Tuning CUDA Applications for Fermi. Version 1.2

NVIDIA CUDA DEBUGGER CUDA-GDB. User Manual

GPUMODESWITCH. DU _v6.0 through 6.2 July User Guide

TEGRA LINUX DRIVER PACKAGE R19.3

Getting Started. NVIDIA CUDA Development Tools 2.3 Installation and Verification on Mac OS X

GRID SOFTWARE FOR HUAWEI UVP VERSION /370.12

User Guide. GPGPU Disease

NVIDIA Tesla Compute Cluster Driver for Windows

GRID VGPU FOR VMWARE VSPHERE Version /

GRID VGPU FOR VMWARE VSPHERE Version /356.60

USING INLINE PTX ASSEMBLY IN CUDA

NSIGHT COMPUTE. v March Customization Guide

GRID LICENSING. DU _v4.6 January User Guide

HW FIELD DIAG. vr384 October HW Field Diag

NVIDIA Release 197 Tesla Driver for Windows

White Paper. Soft Shadows. February 2007 WP _v01

Getting Started with Freescale MQX RTOS for Kinetis SDK and Kinetis Design Studio IDE

GRID SOFTWARE FOR HUAWEI UVP VERSION /370.28

Cg Toolkit. Cg 1.4 rc 1 Release Notes

VIRTUAL GPU SOFTWARE R384 FOR MICROSOFT WINDOWS SERVER

Technical Brief. NVIDIA Quadro FX Rotated Grid Full-Scene Antialiasing (RG FSAA)

NVIDIA SDK. NVMeshMender Code Sample User Guide

Application Development Setup Guide

DU _v01. September User Guide

Cg Toolkit. Cg 2.0 January 2008 Release Notes

Cg Toolkit. Cg 1.2 Release Notes

NVIDIA CUDA C INSTALLATION AND VERIFICATION ON

How to set up FMOD*, Cocos2D-x*, and OpenAL* Libraries for Android* on Intel Architecture

TEGRA LINUX DRIVER PACKAGE R21.2

VIRTUAL GPU SOFTWARE R384 FOR RED HAT ENTERPRISE LINUX WITH KVM

GETTING STARTED WITH CUDA SDK SAMPLES

NVBLAS LIBRARY. DU _v6.0 February User Guide

INLINE PTX ASSEMBLY IN CUDA

GRID SOFTWARE FOR VMWARE VSPHERE VERSION /370.12

VIRTUAL GPU SOFTWARE R384 FOR MICROSOFT WINDOWS SERVER

NVIDIA GPU CLOUD. DU _v02 July Getting Started Guide

NVIDIA GPU BOOST FOR TESLA

Transcription:

NVIDIA DEBUG MANAGER FOR ANDROID NDK - VERSION 8.0.1 DA-05628-001_v02 January 2011 Installation Guide

DOCUMENT CHANGE HISTORY Document Number Version Date Authors Description of Change 01 Initial release 02 01/19/2011 Sebastien Updated ADT for 8.0.1 NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 ii

TABLE OF CONTENTS Software Requirements... 1 Software Components... 1 Pre-Installation Requirements... 1 Installation... 1 Installing Eclipse SDK... 1 Installing C/C++ Development Tools... 1 Installing ADT 8.0.1... 3 Installing NVIDIA Debug Manager for Android NDK Eclipse Plugin... 5 Installing cygwin... 6 Troubleshooting... 11 Limitations... 11 Reporting Issues... 11 NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 iii

SOFTWARE REQUIREMENTS SOFTWARE COMPONENTS The NVIDIA Debug Manager for Android NDK Eclipse plugin expects very specific components to be installed in order to operate as expected. Please make sure that your Android application development environment is conformant with the following components versions: Android SDK r08 Android NDK r4b, Android NDK r5 Eclipse Classic 3.6.1 (Helios) Eclipse C/C++ Development Tools 7.0.1 Android Development Tools (ADT) 8.0.1 PRE-INSTALLATION REQUIREMENTS Before you install the NVIDIA Debug Manager for Android NDK Eclipse plugin, please make sure that the following components and environment variables are properly installed and configured: Install the Android SDK r08 and the Android NDK r4b or NDK r5. See http://developer.android.com/sdk/installing.html and http://developer.android.com/sdk/ndk/index.html for installation instructions. Download SDK and NDK from http://dl.google.com/android/android-sdk_r08- windows.zip and http://dl.google.com/android/ndk/android-ndk-r5-windows.zip ( or http://dl.google.com/android/ndk/android-ndk-r4b-windows.zip ) The NDKROOT environment variable should be set to the location of the Android NDK. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 1

Software Requirements You should have a Tegra 2 board connected and available to adb. This can be verified by running two commands: adb devices this command should output at least one available device. adb shell ps this command should output the list of processes running on the Tegra 2 board. To run adb your PATH environment variable should contain the tools subdirectory from the Android SDK. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 2

INSTALLATION INSTALLING ECLIPSE SDK 1. Download Eclipse Classic 3.6.1 (Helios) from http://eclipse.org/downloads/ 2. Unpack the downloaded archive by 7zip or any other compress tool. 3. Start Eclipse, for instance by double-clicking eclipse.exe in the eclipse directory which is unpacked above. 4. Select a workspace location. 5. Verify the Eclipse version number by opening Help / About Eclipse SDK. Close the dialog. INSTALLING C/C++ DEVELOPMENT TOOLS 6. Open Help / Install New Software. This shows the Install dialog. 7. In the Work with dropdown list choose Helios http://download.eclipse.org/releases/helios and wait while the list of available software is loaded. 8. From the list of available software select Programming Languages / C/C++ Development Tools 7.0.1. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 1

Installation 9. Press the Next > button. Then press the Next > button again and then accept the license agreement and press the Finish button. 10. Wait while the software is installed and then agree to restart Eclipse by pressing Restart Now. Verify that C/C++ Development Tools 7.0.1 is installed by opening Help / About Eclipse SDK / Installation Details. You should see C/C++ Development Tools 7.0.1 in the list of installed software. Close the Eclipse SDK Installation Details dialog and then the About Eclipse SDK dialog. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 2

Installation INSTALLING ADT 8.0.1 ADT needs be installed according to http://developer.android.com/sdk/eclipse-adt.html 11. Open Help / Install New Software and press the Add button. 12. Type in ADT into the Name field and https://dlssl.google.com/android/eclipse/ into Location and press Ok. Note: if the version 8.0.1 is not available on this site, you can download an archive zip at: http://dl.google.com/android/adt-8.0.1.zip Press Archive and enter the proper path of ADT-8.0.1.zip when Add Repository 13. Open the Developer Tools folder in the available software list and select Android DDMS and Android Development Tools. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 3

Installation 14. Press Next, then Next again, then read and accept End User License Agreement and press the Finish button. 15. Press the Ok button on the security warning claiming that you are installing unsigned content. Wait for installation to complete, then agree to restart Eclipse by pressing Restart Now. 16. After Eclipse restarts open Window / Preferences, select Android on the left. Enter the correct Android SDK location on the right and press Ok. 17. Verify that ADT 8.0.1 is installed by opening Help / About Eclipse SDK / Installation Details. You should see Android DDMS 8.0.1, Android Development Tools 8.0.1 and Android Hierarchy Viewer 8.0.1 in the list of installed software. Close the Eclipse SDK Installation Details dialog and then the About Eclipse SDK dialog. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 4

Installation INSTALLING NVIDIA DEBUG MANAGER FOR ANDROID NDK ECLIPSE PLUGIN 18. Open Help / Install New Software and press the Add button. 19. Press Archive and enter the location of the supplied update site archive (zip file). Then press Ok. 20. Open the Developer Tools folder in the available software list and select NVIDIA Debug Manager for Android NDK. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 5

Installation 21. Press Next, then Next again, then read and accept the End User License Agreement and press Finish. 22. Press Ok button on the security warning claiming that you are installing unsigned content. Wait for installation to complete, then agree to restart Eclipse by pressing Restart Now. INSTALLING CYGWIN 23. Install Cygwin and make sure Python 2.6 and Ncurses are selected to be installed. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 6

Installation 24. Add $CYGWIN_HOME/bin to your PATH environment variable. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 7

Installation 25. In Eclipse, select the menu item Window->Preferences, select C/C++ -> Debug -> Common Source Lookup Path, click Add and select Path Mapping. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 8

Installation Under Compilation path, type \cygdrive\c and under Local file system path,select C:. This ensures that gdb and Eclipse are on the same page with regards to source code. If your source code resides on other drives than C:, please add those NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 9

Installation drives too in a similar manner. 26. The installation now is complete. To verify installation import event_lorenz from the Tegra sample projects, build the project, right click the project->debug as->android NDK application. NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 10

TROUBLESHOOTING LIMITATIONS Missing Breakpoints The current version of the plugin may be missing breakpoint in native code executed before GDB is attached. We recommend that the developer wanting to debug native code that could be executed during this transient period add a while(i) with int i would be initialized to a non-zero value, and changing the i to zero once GDB is attached, in order to resume the debugging session and hit the breakpoint. REPORTING ISSUES In case of problems working with the NVIDIA Debug Manager for Android NDK plugin the following information might be helpful to provide with a bug report: Exact versions of Android SDK and Android NDK. Exact versions of installed Eclipse software (From Eclipse it is easy to obtain this information from Help / About Eclipse SDK / Installation Details / Configuration. Eclipse error log which resides in $workspace_location/.metadata/.log, where $workspace_location is the location of your Eclipse workspace. Android console output. General description what the problem is and how to reproduce the problem. and post the issue to the following Tegra Android Development support forum with a subject line referring to the Debug Manager plugin: http://developer.nvidia.com/tegra/forums/tegra-forums/android-development NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 11

Troubleshooting NVIDIA Debug Manager for Android NDK - version 8.0.1 DA-05628-001_v02 12

Notice ALL NVIDIA DESIGN SPECIFICATIONS, REFERENCE BOARDS, FILES, DRAWINGS, DIAGNOSTICS, LISTS, AND OTHER DOCUMENTS (TOGETHER AND SEPARATELY, MATERIALS ) ARE BEING PROVIDED AS IS. NVIDIA MAKES NO WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO THE MATERIALS, AND EXPRESSLY DISCLAIMS ALL IMPLIED WARRANTIES OF NONINFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. Information furnished is believed to be accurate and reliable. However, NVIDIA Corporation assumes no responsibility for the consequences of use of such information or for any infringement of patents or other rights of third parties that may result from its use. No license is granted by implication of otherwise under any patent rights of NVIDIA Corporation. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all other information previously supplied. NVIDIA Corporation products are not authorized as critical components in life support devices or systems without express written approval of NVIDIA Corporation. Trademarks NVIDIA, the NVIDIA logo, and <add all the other product names listed in this document> are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries. Other company and product names may be trademarks of the respective companies with which they are associated. Copyright 2010 NVIDIA Corporation. All rights reserved. www.nvidia.com