QNX Software Development Platform 6.6. Installation Guide



Similar documents
Magaya Software Installation Guide

Q N X S O F T W A R E D E V E L O P M E N T P L A T F O R M v Steps to Developing a QNX Program Quickstart Guide

Installation Manual (MSI Version)

Installation Instruction STATISTICA Enterprise Small Business

10 STEPS TO YOUR FIRST QNX PROGRAM. QUICKSTART GUIDE Second Edition

4cast Client Specification and Installation

Lexia Network Installation Instructions

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

LAN (Red) Driverless Hardware Key by SafeNet

AdminToys Suite. Installation & Setup Guide

October, Install/Uninstall Xerox Print Drivers & Apps Best Practices for Windows 8, 8.1, and 10 Customer Tip

Mercy s Remote Access Instructions

Signiant Agent installation

Hi-Speed USB Flash Disk User s Manual Guide

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

System Requirements for LAW PreDiscovery Software ( LAW ) LAW PreDiscovery Software Installation Guide

insync Installation Guide

Core Protection for Virtual Machines 1

Installation Guide for FTMS and Node Manager 1.6.0

VERITAS Backup Exec TM 10.0 for Windows Servers

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

USB Flash Security Free Edition Quick Start

Guide to Installing BBL Crystal MIND on Windows 7

Installation Instruction STATISTICA Enterprise Server

SOFTWARE INSTALLATION INSTRUCTIONS

AccXES Client Tools 10.0 User Guide 701P41529 May 2004

Dell Statistica Statistica Enterprise Installation Instructions

Network Scanner Tool R3.1. User s Guide Version

How to Configure Terminal Services for Pro-Watch in Remote Administration Mode (Windows 2000)

McAfee SMC Installation Guide 5.7. Security Management Center

1. System Requirements

WS_FTP Professional 12 and WS_FTP Home 12. Getting Started Guide

Trax Attendance Manager Full Installation (Windows XP, 32 bit Windows Vista, or 32 bit Windows 7)

VERSION NINE. Be A Better Auditor. You Have The Knowledge. We Have The Tools. INSTALLATION GUIDE

AzMERIT Secure Browser Installation Manual For Technology Coordinators

Version Eight. Installation Guide

User Installation Guide

Pearl Echo Installation Checklist

Symantec Backup Exec TM 11d for Windows Servers. Quick Installation Guide

FreeFlow Accxes Print Server V15.0 August P Xerox FreeFlow Accxes Print Server Drivers and Client Tools Software Installation Guide

User Manual. Onsight Management Suite Version 5.1. Another Innovation by Librestream

Windows 7 USB/DVD download tool

Embarcadero Performance Center 2.7 Installation Guide

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

Introduction and Overview

SAS 9.3 Foundation for Microsoft Windows

Contents. Hardware Configuration Uninstalling Shortcuts Black...29

Parallels Desktop for Mac

Table of Contents. FleetSoft Installation Guide

COMBOGARDPRO. 39E Electronic Combination Lock SOFTWARE INSTALLATION INSTRUCTIONS

Remote Management System

PN-T321 LCD MONITOR. USB Flash Drive Media Tool OPERATION MANUAL

ECView Pro Network Management System. Installation Guide.

Studio 5.0 User s Guide

Symantec Backup Exec 12.5 for Windows Servers. Quick Installation Guide

StorageCraft ShadowStream User Guide StorageCraft Copyright Declaration

Administration guide. Host software WinCCU Installation. Complete gas volume and energy data management

@ptitude Observer. Installation Manual. Part No Revision G

STATISTICA VERSION 11 CONCURRENT NETWORK LICENSE WITH BORROWING INSTALLATION INSTRUCTIONS

Web VTS Installation Guide. Copyright SiiTech Inc. All rights reserved.

OFFICE KEYBOARD (MT1210 & MT1405) OFFICE FEATURES

Backing up IMail Server using Altaro Backup FS


Sharpdesk V3.5. Push Installation Guide for system administrator Version

Online Backup Client User Manual Linux


CTERA Agent for Linux

SMART Classroom Suite 2011

Virtual Office Remote Installation Guide

DOCSVAULT Document Management System for everyone

StrikeRisk v6.0 IEC/EN Risk Management Software Getting Started

TIBCO Hawk SNMP Adapter Installation

Avira Update Manager User Manual

What is WS_FTP? How WS_FTP Works

DS License Server V6R2013x

Software Installation Procedure (MS Windows)

How To Upgrade A Websense Log Server On A Windows 7.6 On A Powerbook (Windows) On A Thumbdrive Or Ipad (Windows 7.5) On An Ubuntu (Windows 8) Or Windows

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

Intelligent Power Protector User manual extension for Microsoft Virtual architectures: Hyper-V 6.0 Manager Hyper-V Server (R1&R2)

WhatsUp Gold v16.1 Installation and Configuration Guide

Imaging Computing Server User Guide

Quick Start Guide for VMware and Windows 7

Installation Guide: Delta Module Manager Launcher

Linux Development Environment Description Based on VirtualBox Structure

Consolidated Monitoring, Analysis and Automated Remediation For Hybrid IT Infrastructures. Goliath Performance Monitor Installation Guide v11.

Dell UPS Local Node Manager USER'S GUIDE EXTENSION FOR MICROSOFT VIRTUAL ARCHITECTURES Dellups.com

SQLBase. Starter Guide

MGC WebCommander Web Server Manager

AccXES Account Management Tool Administrator s Guide Version 10.0

SMART Sync Windows operating systems. System administrator s guide

Installing FileMaker Pro 11 in Windows

Getting Started with Vision 6

Trademark Notice. Copyright Notice

Manuals for This Product

Client Program Installation Guide

JAMF Software Server Installation Guide for Linux. Version 8.6

User Manual - Help Utility Download MMPCT. (Mission Mode Project Commercial Taxes) User Manual Help-Utility

Personal Folders Backup

Parallels Transporter Agent

INSTALLING MICROSOFT SQL SERVER AND CONFIGURING REPORTING SERVICES

Transcription:

QNX Software Development Platform 6.6 QNX Software Development Platform 6.6 Installation Guide

Table of Contents Table of Contents Preface: About This Guide...iv Typographical conventions...v Before you start...vi Getting started with the documentation...vii Technical support...viii Chapter 1: Microsoft Windows Hosts...10 Before you start...11 System requirements...12 Installing QNX SDP...13 Unattended installation...14 Setting up your environment...15 Activating the tools...16 Activating automatically...16 Activating manually...16 Commercializing your evaluation software...18 Uninstalling QNX SDP...19 Determining your base directory...20 Chapter 2: Linux Hosts...22 Before you start...23 System requirements...24 Installing QNX SDP...25 Unattended installation...27 Setting up your environment...28 Activating the tools...29 Activating automatically...29 Activating manually...29 Commercializing your evaluation software...31 Uninstalling QNX SDP...32 Determining your base directory...33

Installation Guide

About This Guide Preface About This Guide Thank you for choosing the QNX Software Development Platform version 6.6. This guide tells you how to install it from DVD. Please read this preface for information that applies to all host OSs, and then refer to the chapter for your specific OS (Microsoft Windows, or Linux). iv Copyright 2014, QNX Software Systems Limited

Installation Guide Typographical conventions Throughout this manual, we use certain typographical conventions to distinguish technical terms. In general, the conventions we use conform to those found in IEEE POSIX publications. The following table summarizes our conventions: Reference Commands Environment variables File and pathnames Keyboard keys Variable names User-interface components Example make PATH /dev/null Enter stdin Cancel We use an arrow in directions for accessing menu items, like this: You'll find the Other... menu item under Perspective Show View. We use notes and cautions to highlight important messages: Notes point out something important or useful. Cautions tell you about commands or procedures that may have unwanted or undesirable side effects. Copyright 2014, QNX Software Systems Limited v

About This Guide Before you start Before you install this software, please note the following: The DVD includes QNX SDP for all host OSs for creating software for all supported targets. QNX SDP includes the QNX Momentics Tool Suite, which you can use to develop applications to run on the QNX Neutrino RTOS on a separate target system. We post CRC and MD5 checksums with the packages in the Download area on our website. If you download a DVD image or an installer from our website, make sure that its checksum matches that given on the website. On Unix-style OSs (e.g. QNX Neutrino, Linux), you can use the cksum utility to calculate the CRC checksum. Microsoft doesn't support such utilities on Windows, but they're available from third parties. There are several QNX Development License streams that govern how QNX SDP can be used in different situations. The key on your license certificate will cause the appropriate license agreement to be displayed when you install QNX SDP; that development license governs your use of the product. Once you've installed QNX SDP, you'll find a copy of all the license agreements in base_dir/install/qnx-sdp/6.6, where base_dir is where you installed the software. For more information about licensing, visit the Licensing area of http://www.qnx.com, where you'll find details on our licensing model, types of licenses, etc., or email licensing@qnx.com. QNX SDP 6.6 can coexist with QNX CAR 2.0, QNX Software Development Platform 6.5.0, 6.4.0, and 6.4.1, and QNX Momentics 6.3, but if you want QNX SDP 6.6 to replace an older version, you must uninstall the older versions and any updates to them before installing 6.6. For information about new features and known issues in QNX SDP, see the release notes. For the most up-to-date version, go to our website (http://www.qnx.com), log into your myqnx account, and then go to the Download area. For information about using BSPs with QNX SDP 6.6, see the BSPs and Drivers project on Foundry27. vi Copyright 2014, QNX Software Systems Limited

Installation Guide Getting started with the documentation After you've installed QNX SDP, you'll find an extensive set of HTML documentation. You can read it in the Integrated Development Environment's help system. To start the IDE on Linux, use this command: base_directory/run-qde.sh On Windows, use the desktop icon or run: base_directory\run-qde.vbs where base_directory is where you installed the software. The QNX Software Development Platform roadmap page contains links to the various HTML booksets that accompany the OS. See the Quickstart Guide for a short tutorial that will help you get started, and then refer to the other documents (System Architecture, Programmer's Guide, C Library Reference, Utilities Reference, and so on). You can install and work with multiple versions of the QNX Neutrino RTOS. Whether you're using the command line or the IDE, you can choose which version of the OS to build programs for. For more information, see the IDE User's Guide or the QNX Neutrino Programmer's Guide. Copyright 2014, QNX Software Systems Limited vii

About This Guide Technical support To obtain technical support for any QNX product, visit the Support area on our website (www.qnx.com). You'll find a wide range of support options, including community forums. viii Copyright 2014, QNX Software Systems Limited

Installation Guide Copyright 2014, QNX Software Systems Limited ix

Microsoft Windows Hosts Chapter 1 Microsoft Windows Hosts If you've already installed an evaluation version of QNX SDP, and you've purchased and received a commercial QNX license or you've received an evaluation extension license, please go to Commercializing your evaluation software (p. 18), below. 10 Copyright 2014, QNX Software Systems Limited

Before you start Before you start In order to install QNX SDP, the QNX license file must be writable by everyone. If the installer stops and warns you that this file isn't writable, you can make it so by right-clicking on C:\Program Files\QNX Software Systems\license\licenses or C:\Program Files (x86)\qnx Software Systems\license\licenses and choosing Properties. Make sure that the Read-only attribute isn't checked, click Apply, and then click OK. (Ref# 62419) We provide the Korn shell (ksh.exe), which you'll find under ${QNX_HOST}/usr/bin (e.g. C:\qnx660\host\win32\x86\usr\bin). You may want to create desktop shortcuts for the executables you'll use often. On Windows, the QNX-provided echo.exe interprets the Windows \ separator as an escape character. As a result, environment variable settings won't work if you use \ as a path separator; use / instead. (Ref# 19924, J142704) If your PATH contains quotation marks, ln-w doesn't work properly. (Ref# 20046) Copyright 2014, QNX Software Systems Limited 11

Microsoft Windows Hosts System requirements Host OS: Windows 8 Professional 64-bit Windows 7 Professional 64-bit Windows XP Professional SP3 Processor RAM Disk space Monitor Minimum Pentium III, 700 MHz 256 MB 2.5 GB 1024 768 Recommended Pentium 4, 2 GHz or more 512 MB 3.4 GB 1280 1024 The System Profiler in the IDE requires a minimum color depth of 16 bits. 12 Copyright 2014, QNX Software Systems Limited

Installing QNX SDP Installing QNX SDP To install QNX SDP, do the following: 1. If you're using Windows 7, you might have to disable User Account Control (UAC), depending on where you want to install the software. (Ref# 77791, J237891) 2. Insert QNX SDP 6.6 Installation DVD in the DVD drive. The installation should start automatically; if it doesn't, double-click qnx-sdp-6.6nnnnnnnnnnnn.exe (where nnnnnnnnnnnn is a build number), which you'll find in the root directory of the disk. 3. Follow the instructions on your screen. We recommend you use the default location for the software, C:\qnx660. If you install QNX SDP on a host with an existing installation of QNX SDP 6.5.0, the installer asks if you want to use the same QNX_CONFIGURATION directory. If you choose Yes, QNX SDP licenses are written to the same license file as your QNX SDP licenses, and you'll be able to use the Configuration tool or the IDE to choose which version of QNX Neutrino you want to develop applications for. Choosing "No" causes the installer to use QNX SDP configuration settings. (Ref# 260840, J393849) If QNX Software Systems has a contract with you to support server-based licenses (Automated License Management), you have a special license key that tells the software to enforce these licenses. In this case, the installer presents a panel where you can specify the hostname or IP address of the server, and the port on which the server is listening for connections. If you're using the default port, you can leave the port blank. Copyright 2014, QNX Software Systems Limited 13

Microsoft Windows Hosts Unattended installation After you've installed QNX SDP once, you can run the installer unattended on other machines: 1. Run the installer in graphical mode to generate a response file: installer-name r path/installer-responses.txt 2. Use the response file to do further installations in unattended mode: installer-name f path/installer-responses.txt i silent 14 Copyright 2014, QNX Software Systems Limited

Setting up your environment Setting up your environment To set up the environment in a command shell, run: base_directory\qnx660-env.bat where base_directory is where you installed QNX SDP (see Determining your base directory (p. 20), below). If you can't remember where you installed this product, search for qnx660-env.bat. This file is in the base directory. Copyright 2014, QNX Software Systems Limited 15

Microsoft Windows Hosts Activating the tools The QNX Momentics Tool Suite and certain related products require activation. If you don't activate the product within the specified timeframe, the product will cease to function until you activate it. No personal data is transferred during the activation process. If your license key indicates that you have a named user license, the activation requires that you provide an email address. Activating automatically If your development host is connected to the Internet, you can activate QNX SDP automatically. Activating manually If your machine isn't connected to the Internet, you must activate your software manually from a machine that is, by doing the following: 1. In the QNX SDP Activation dialog, click Activate Manually. The Manual Activation dialog appears with an activate-prompt key. This dialog has a button that you can use to save the activate-prompt key in a file, drive:\program Files\QNX Software Systems\license\activate_prompt_key.txt, where drive is the name of the drive where you installed QNX SDP. Using this file eliminates the need to retype the key, which can be error-prone. 2. Transfer the activate-prompt key to the machine that's connected to the Internet. 3. Go to our website, http://www.qnx.com/, log into your myqnx account, and choose Manual Product Activation. 4. Enter the activate-prompt key into the form that appears, and then click Generate Response Key. This will return an activate-response key. 5. Copy the activate-response key and paste it in a file. 6. Transfer the file into drive:\program Files\QNX Software Systems\license\activate_response_key.txt on your QNX SDP development host. 7. If you closed the QNX SDP Activation dialog, open it again by entering the following at the command prompt: base_directory\qnx660-env.bat "$QNX_CONFIGURATION$\bin\qnxactivate.exe" -d "$QNX_CONFIGURATION$" 8. Choose Activate Manually, and use the Load Response from File button to load the activate-response key, and then click Activate. 16 Copyright 2014, QNX Software Systems Limited

Activating the tools If you choose not to activate at the time of installation, you can activate later by entering the following at the command prompt: base_directory\qnx660-env.bat "$QNX_CONFIGURATION$\bin\qnxactivate.exe" -d "$QNX_CONFIGURATION$" Copyright 2014, QNX Software Systems Limited 17

Microsoft Windows Hosts Commercializing your evaluation software If you installed an evaluation copy of QNX SDP, and you've now received a commercial QNX license, do the following to add your commercial license: 1. Set up your environment and run addlicence.exe by entering the following at the command prompt: base_directory\qnx660-env.bat base_directory\install\qnx-sdp\6.6\addlicense.exe where base_directory is where you installed QNX SDP (see Determining your base directory (p. 20), below). 2. In the QNX SDP License Key Entry dialog, fill in the field with the license-key information. 3. When you've finished entering the information, click Add to save the license-key information and configure your QNX SDP tools to use this file. 4. After entering the license key, you'll be presented with the appropriate license agreement. You'll need to accept it in order to successfully add a license. 18 Copyright 2014, QNX Software Systems Limited

Uninstalling QNX SDP Uninstalling QNX SDP You should uninstall QNX products in the reverse order in which you installed them. To determine this order, open a command window, set up your environment, start bash, and then use a command like this: ls -lt `$QNX_HOST/usr/bin/find base_directory -name "*uninstall*.exe"` where base_directory is where you installed QNX SDP. To uninstall QNX SDP, do the following: 1. If you're using Windows 7, disable User Account Control (UAC). (Ref# 77791, J237891) 2. Do one of the following: Choose Programs QNX Software Development Platform 6.6 Uninstaller from the Start menu. or: On Windows 7 or 8, choose Programs and Features, select QNX Software Development Platform 6.6, and then click Uninstall/Change. or: Choose Add or Remove Programs from the Control Panel, select QNX Software Development Platform 6.6, and then click the Remove button. or: Go to the directory that contains the base_directory folder and run base_directory\install\qnx-sdp\6.6\uninstaller.exe. If the uninstaller doesn't fully remove all the components, do the following: 1. Delete the folder where you installed QNX SDP. 2. Delete the QNX Momentics desktop shortcut and the link in the Start menu. 3. Find and delete all occurrences of.com.zerog.registry.xml. This is a hidden file, so you must enable the Show hidden files and folders option. 4. Delete the QNX SDP entries from the Add/Remove Program list by choosing Control Panel Programs and Features from the Start menu, right-clicking on each QNX SDP entry, and then choosing Delete from the list. Copyright 2014, QNX Software Systems Limited 19

Microsoft Windows Hosts Determining your base directory If you have a command shell with the environment set up for QNX SDP, you can determine the base directory by using the qconfig command. For example: C:\qnx660>qconfig QNX Installations Installation Name: QNX Software Development Platform 6.6 Version: 6.6.0 Base Directory: C:\qnx660 QNX_HOST: C:\qnx660\host\win32\x86 QNX_TARGET: C:\qnx660\target\qnx6 The base directory in this example is C:\qnx660\, but it could be different on your machine, depending on where you installed QNX SDP. If you can't remember where you installed this product, search for qnx660-env.bat, which you use to set up the environment. This file is in the base directory. 20 Copyright 2014, QNX Software Systems Limited

Determining your base directory Copyright 2014, QNX Software Systems Limited 21

Linux Hosts Chapter 2 Linux Hosts If you've already installed an evaluation version of QNX SDP, and you've purchased and received a commercial QNX license or you've received an evaluation extension license, please go to Commercializing your evaluation software (p. 31), below. 22 Copyright 2014, QNX Software Systems Limited

Before you start Before you start If you're running selinux (secure Linux), disable it before installing QNX SDP. Otherwise, after you've entered the license key and clicked Next, the installation will fail with this error: java.lang.unsatisfiedlinkerror: no qnxlic in java.library.path In order to run the installer and the IDE on Ubuntu 64-bit, you need to install the 32-bit libraries: sudo apt-get install libgtk2.0-0:i386 libxtst6:i386 libcanberra-gtk-module:i386 \ gtk2-engines-murrine:i386 libdbus-glib-1-2:i386 Answer yes to all the questions. (Ref# 70567, J237671) In order to run the installer on Red Hat 6.4 64-bit, you need to install the 32-bit libraries: yum install redhat-lsb.i686 (Ref# 393526) In order to run the installer on Ubuntu 13.10, you need to install the following: libxtst-dev libxtst-dev:i386 libdbus-glib-1-2:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 (Ref# J570559) In order to install QNX SDP, the QNX license file must be writable by everyone. If the installer stops and warns you that this file isn't writable, you can make it so by typing: chmod a+rw base_directory/.qnx/license/licenses where base_directory is where you installed QNX SDP, or if you installed QNX SDP 6.6 to coexist with an earlier version: chmod a+rw /etc/qnx/license/licenses (Ref# 62419) Copyright 2014, QNX Software Systems Limited 23

Linux Hosts System requirements Host OS: Linux Red Hat Enterprise Linux 6 64-bit Ubuntu Workstation LTS 12.04 32- and 64-bit Processor RAM Disk space Monitor Minimum Pentium III, 700 MHz 256 MB 2.2 GB 1024 768 Recommended Pentium 4, 2 GHz or more 512 MB 3.1 GB 1280 1024 The System Profiler in the IDE requires a minimum color depth of 16 bits. 24 Copyright 2014, QNX Software Systems Limited

Installing QNX SDP Installing QNX SDP To install QNX SDP, do the following: 1. Insert QNX SDP 6.6 Installation DVD in the DVD drive. 2. If the system offers to run autorun, choose Yes; otherwise run qnx-sdp-6.6-nnnnnnnnnnnn.bin (where nnnnnnnnnnnn is a build number), which you'll find in the root directory of the DVD. On Ubuntu, you need cd to the directory where the installer is located and run it there, or specify the absolute path to the installer. (Ref# J393516) If your system won't let you execute from a DVD, unmount the DVD and remount it by hand. If you see an error like this: An internal LaunchAnywhere application error has occured and this application cannot proceed. followed by a stack trace, then InstallAnywhere may be having problems with the value of your PS1 environment variable. See http://kb.flexerasoftware.com/selfservice/viewcontent.do?externalid=q112941. Workaround: Set PS1 to $ when you run the installer. For example: PS1='$' path_to_installer/qnx-sdp-6.6-nnnnnnnnnnnn.bin 3. Follow the instructions on your screen. We recommend you use the default location for the software, ~/qnx660. If you install QNX SDP on a host with an existing installation of QNX SDP, the installer asks if you want to use the same QNX_CONFIGURATION directory: If you choose Yes, QNX SDP licenses are written to the license file in the location identified by QNX_CONFIGURATION, and you'll be able to use the Configuration tool or the IDE to choose which version of QNX Neutrino you want to develop applications for. If you use the same QNX_CONFIGURATION directory, don't uninstall the earlier version of QNX SDP because its uninstaller might delete this directory, and you'll lose the license file, configuration files, and binaries that are stored there. (Ref# 264895, J393519) Choosing "No" causes the installer to use QNX SDP configuration settings. (Ref# 260840, J393849) Copyright 2014, QNX Software Systems Limited 25

Linux Hosts If QNX Software Systems has a contract with you to support server-based licenses (Automated License Management), you have a special license key that tells the software to enforce these licenses. In this case, the installer presents a panel where you can specify the hostname or IP address of the server, and the port on which the server is listening for connections. If you're using the default port, you can leave the port blank. 26 Copyright 2014, QNX Software Systems Limited

Unattended installation Unattended installation After you've installed QNX SDP once, you can run the installer unattended on other machines: 1. Run the installer in graphical mode to generate a response file:./installer-name r path/installer-responses.txt 2. Use the response file to do further installations in unattended mode:./installer-name f path/installer-responses.txt i silent Copyright 2014, QNX Software Systems Limited 27

Linux Hosts Setting up your environment To set up the environment in a command shell, run: source base_directory/qnx660-env.sh where base_directory is where you installed QNX SDP (see Determining your base directory (p. 33), below). If you can't remember where you installed this product, search for qnx660-env.sh. This file is in the base directory. 28 Copyright 2014, QNX Software Systems Limited

Activating the tools Activating the tools The QNX Momentics Tool Suite and certain related products require activation. If you don't activate the product within the specified timeframe, the product will cease to function until you activate it. No personal data is transferred during the activation process. If your license key indicates that you have a named user license, the activation requires that you provide an email address. On some distributions, the activation dialog doesn't appear automatically. (Ref# 68599, J237603) Workaround: Set up the environment for command-line tools (see Setting up your environment (p. 28)), and then run the following command: ${QNX_CONFIGURATION}/bin/qnxactivate -d ${QNX_CONFIGURATION} Activating automatically If your development host is connected to the Internet, you can activate QNX SDP automatically. Activating manually If your machine isn't connected to the Internet, you must activate your software manually from a machine that is, by doing the following: 1. In the QNX SDP Activation dialog, click Activate Manually. The Manual Activation dialog appears with an activate-prompt key. This dialog has a button that you can use to save the activate-prompt key in a file, base_directory/.qnx/license/activate_prompt_key.txt. Using this file eliminates the need to retype the key, which can be error-prone. 2. Transfer the activate-prompt key to the machine that's connected to the Internet. 3. Go to our website, http://www.qnx.com/, log into your myqnx account, and choose Manual Product Activation. 4. Enter the activate-prompt key into the form that appears, and then click Generate Response Key. This will return an activate-response key. 5. Copy the activate-response key and paste it in a file. 6. Transfer the file into base_directory/.qnx/license/activate_response_key.txt on your QNX SDP development host. Copyright 2014, QNX Software Systems Limited 29

Linux Hosts 7. If you closed the QNX SDP Activation dialog, open it again by entering the following at a terminal prompt: source base_directory/qnx660-env.sh $QNX_CONFIGURATION/bin/qnxactivate -d $QNX_CONFIGURATION 8. Choose Activate Manually, and use the Load Response from File button to load the activate-response key, and then click Activate. If you choose not to activate at the time of installation, you can activate later by entering the following at a terminal prompt: source base_directory/qnx660-env.sh $QNX_CONFIGURATION/bin/qnxactivate -d $QNX_CONFIGURATION 30 Copyright 2014, QNX Software Systems Limited

Commercializing your evaluation software Commercializing your evaluation software If you installed an evaluation copy of QNX SDP, and you've now received a commercial QNX license, do the following to add your commercial license: 1. Type the following at a terminal prompt: base_directory/install/qnx-sdp/6.6/addlicense.bin where base_directory is where you installed QNX SDP (see Determining your base directory (p. 33), below). 2. In the QNX SDP License Key Entry dialog, fill in the field with the license-key information. 3. When you've finished entering the information, click Add to save the license-key information and configure your QNX SDP tools to use this file. 4. After entering the license key, you'll be presented with the appropriate license agreement. You'll need to accept it in order to successfully add a license. Copyright 2014, QNX Software Systems Limited 31

Linux Hosts Uninstalling QNX SDP You should uninstall QNX products in the reverse order in which you installed them. To determine this order, set up your environment, and then use a command like this: ls -lt `find base_directory -name "*uninstall*"` where base_directory is where you installed QNX SDP. To uninstall QNX SDP, do the following: 1. Go to a directory outside the base_dir directory (see Determining your base directory (p. 33), below) and run the uninstaller: base_dir/install/qnx-sdp/6.6/uninstaller If the uninstaller doesn't fully remove all the components, do the following: 1. Delete the directory that you installed QNX SDP in. 2. Delete any shortcuts to run-qde.sh. These could have been created in any directories that you selected during installation. 3. Find and delete any occurrences of.com.zerog.registry.xml. 32 Copyright 2014, QNX Software Systems Limited

Determining your base directory Determining your base directory To determine the base directory for QNX SDP, open a command shell, set up your environment, and then use the qconfig command. For example: $ qconfig QNX Installations Installation Name: QNX Software Development Platform 6.6 Version: 6.6.0 Base Directory: /home/my_userid/qnx660 QNX_HOST: /home/my_userid/qnx660/host/linux/x86 QNX_TARGET: /home/my_userid/qnx660/target/qnx6 The base directory in this example is /home/my_userid/qnx660/, but it could be different on your machine, depending on where you installed QNX SDP. If you can't remember where you installed this product, search for qnx660-env.sh, which you use to set up the environment. This file is in the base directory. Copyright 2014, QNX Software Systems Limited 33