QNX Software Development Platform Service Pack 1

Similar documents
QNX Software Development Platform 6.6. 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

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

Parallels Transporter Agent

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 3 Installing Windows

Getting Started with VMware Fusion. VMware Fusion for Mac OS X

Upgrading from Windows XP to Windows 7

Getting Started with VMware Fusion

Boot Camp Installation & Setup Guide

Core Protection for Virtual Machines 1

Upgrading from Windows XP to Windows 7

VERITAS Backup Exec TM 10.0 for Windows Servers

Fiery E100 Color Server. Welcome

Introduction 1-1 Installing FAS 500 Asset Accounting the First Time 2-1 Installing FAS 500 Asset Accounting: Upgrading from a Prior Version 3-1

OFFICE KEYBOARD (MT1210 & MT1405) OFFICE FEATURES

VMware Horizon FLEX User Guide

Boot Camp Installation & Setup Guide

STATISTICA VERSION 10 STATISTICA ENTERPRISE SERVER INSTALLATION INSTRUCTIONS

Trademark Notice. Copyright Notice

Computer Requirements

PARALLELS SERVER BARE METAL 5.0 README

SOFTWARE INSTALLATION INSTRUCTIONS

Before you install ProSeries software for network use

Hi-Speed USB Flash Disk User s Manual Guide

Guide to Installing BBL Crystal MIND on Windows 7

ThinkServer RS140 Operating System Installation Guide

Chapter 2 Installing ShareScope

USB FLASH DRIVE. User s Manual. USB 2.0 Compliant. Version A Version A10

DataTraveler Vault - Privacy User Manual

Installation Instruction STATISTICA Enterprise Small Business

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems

Dual-boot Windows 10 alongside Windows 8

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

Operating System Installation Guide

Topaz Installation Sheet

Parallels Desktop for Mac

vsphere Web Access Administrator's Guide

Installing Windows XP Professional

Nexio Connectus with Nexio G-Scribe

1. System Requirements

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

LSN 10 Linux Overview

Windows 7 USB/DVD download tool

COMBOGARDPRO. 39E Electronic Combination Lock SOFTWARE INSTALLATION INSTRUCTIONS

Lab - Dual Boot - Vista & Windows XP

FAS Asset Accounting FAS CIP Accounting FAS Asset Inventory SQL Server Installation & Administration Guide Version

Lexia Network Installation Instructions

Embarcadero Performance Center 2.7 Installation Guide

HP Personal Workstations Step-By- Step Instructions for Upgrading Windows Vista or Windows XP Systems to Windows 7

Vista Upgrade Instructions LE1600 and LS800

ThinkServer RD540 and RD640 Operating System Installation Guide

e-config Data Migration Guidelines Version 1.1 Author: e-config Team Owner: e-config Team

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

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

Freshservice Discovery Probe User Guide

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Image Assistant. User Guide. Image Assistant. Laplink Software, Inc. User Guide. The ONLY Way to Restore an Old Image to a New PC!

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

Installation Instructions Release Version 15.0 January 30 th, 2011

Instructions for installing Microsoft Windows Small Business Server 2003 R2 on HP ProLiant servers

VERITAS Backup Exec 9.1 for Windows Servers Quick Installation Guide

Installation & Licensing Guide. AquiferTest Pro. An Easy-to-Use Pumping Test and Slug Test Data Analysis Package

Mercy s Remote Access Instructions

Installation Instruction STATISTICA Enterprise Server

FliteStar Quick Start Guide May 2009

Deposit Direct. Getting Started Guide

Network Administrator s Guide and Getting Started with Autodesk Ecotect Analysis

VMware Horizon FLEX User Guide

VMware Horizon FLEX User Guide

Chief Architect X6. Download & Installation Instructions. Chief Architect, Inc N. Mineral Dr. Coeur d Alene, Idaho

Table of Contents. FleetSoft Installation Guide

AzMERIT Secure Browser Installation Manual For Technology Coordinators

MITA VPN Client Software Installation Guide

CINEMA 4D RELEASE 10. Installation Guide 3D FOR THE REAL WORLD

ThinkServer RD350 and RD450 Operating System Installation Guide

Virtual CD v10. Network Management Server Manual. H+H Software GmbH

How To Install The Safenet-Inc.Com Software On A Pc Or Mac Or Macintosh (For A Powerpoint) With A Powerline (For Windows) Or Ipad (For Mac) With The Safetime (For Pc

Making a system recovery disc

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

AMD RAID Installation Guide

Installation Manual (MSI Version)

Magaya Software Installation Guide

PARALLELS SERVER 4 BARE METAL README

ThinkServer RD550 and RD650 Operating System Installation Guide

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

new Business Online Technical Troubleshooting Guide

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

PasswordTraveler User s Manual

64-Bit Compatibility with Micromeritics Applications

End-User troubleshooting guide For Sentinel SuperPro/UltraPro and Sentinel Hardware Keys

Installation Assistance Windows/Microsoft Updates Updating from Spectra or Upgrading from Spectra 6.x...

Boot Camp Installation & Setup Guide

DeviceAnywhere Enterprise. ios Device Onboarding Guide

Installation & Activation Guide

LOCKSS on LINUX. CentOS6 Installation Manual 08/22/2013

SMART Classroom Suite 2011

Imaging Computing Server User Guide

INSTALLING MICROSOFT SQL SERVER AND CONFIGURING REPORTING SERVICES

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

1. System Requirements

Transcription:

QNX Software Development Platform 6.5.0 Service Pack 1 Installation Guide For Windows, Linux, and QNX Neutrino hosts 2012, QNX Software Systems Limited

2005 2012, QNX Software Systems Limited. All rights reserved. QNX Software Systems Limited 1001 Farrar Road Kanata, Ontario Canada K2K 0B3 Voice: +1 613 591-0931 Fax: +1 613 591-3579 Email: info@qnx.com Web: http://www.qnx.com/ Electronic edition published 2012. QNX, Momentics, Neutrino, Aviage, Photon, Photon microgui, and Foundry27 are trademarks of QNX Software Systems Limited, which are registered trademarks and/or used in certain jurisdictions. All other trademarks belong to their respective owners.

Contents About This Guide v What s in this guide? vii Typographical conventions vii Before you start vii Getting started with the documentation Technical support ix viii 1 2 3 QNX Neutrino RTOS Hosts 1 Before you start 3 System requirements 3 BIOS settings 4 Installing QNX SDP 6.5.0 SP1 4 Errors while booting 5 Activating QNX SDP 5 Activating automatically 5 Activating manually 6 Commercializing your evaluation software 6 Uninstalling QNX SDP 6.5.0 and SP1 7 Determining your base directory 7 Microsoft Windows Hosts 9 Before you start 11 System requirements 11 Installing QNX SDP 6.5.0 SP1 12 Activating QNX SDP 12 Activating automatically 13 Activating manually 13 Commercializing your evaluation software 14 Uninstalling QNX SDP 6.5.0 and SP1 14 Determining your base directory 16 Linux Hosts 17 Before you start 19 June 25, 2012 Contents iii

2012, QNX Software Systems Limited System requirements 19 Installing QNX SDP 6.5.0 SP1 20 Activating QNX SDP 20 Activating automatically 21 Activating manually 21 Commercializing your evaluation software 21 Uninstalling QNX SDP 6.5.0 and SP1 22 Determining your base directory 23 iv Contents June 25, 2012

About This Guide June 25, 2012 About This Guide v

2012, QNX Software Systems Limited Before you start What s in this guide? Thank you for choosing the QNX Software Development Platform version 6.5.0. This guide tells you how to install QNX SDP 6.5.0 Service Pack 1 from a DVD. Please read this preface for information that applies to all host OSs, and then refer to the chapter for your specific OS (QNX Neutrino, Microsoft Windows, or Linux). 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.! CAUTION: Cautions tell you about commands or procedures that may have unwanted or undesirable side effects. Before you start Before you install this software, please note the following: The DVD includes QNX SDP SP1 for all host OSs for creating software for all supported targets. You must have already installed QNX SDP 6.5.0. It isn t possible to uninstall just QNX SDP 6.5.0 SP1; if you uninstall it, you ll completely uninstall QNX SDP 6.5.0. June 25, 2012 About This Guide vii

Getting started with the documentation 2012, QNX Software Systems Limited On Linux and Windows hosts, 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. QNX SDP for self-hosted QNX Neutrino systems includes the QNX Neutrino RTOS and the QNX Momentics Tool Suite. QNX SDP includes everything you need to build for all supported target platforms (ARM, MIPS, PowerPC, SH-4, and x86). There are also special versions of QNX SDP for x86 targets only. Don t install the x86-only version of 6.5.0 SP1 on the full version of 6.5.0, or the full version of SP1 on the x86-only version of 6.5.0, or else you ll end up with an inconsistent set of software. We post CRC and MD5 checksums with the packages in the Download area on our website. If you download a CD or 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. QNX SDP 6.5.0 can coexist with QNX SDP 6.4.0, 6.4.1, and QNX Momentics 6.3, but if you want 6.5.0 to replace 6.4.1, 6.4.0, or 6.3, you must uninstall the older versions and any updates to them before installing 6.5.0. Coexistence with QNX Momentics 6.2.1 is supported only on Windows hosts (we didn t support Linux hosts in 6.2.1). For information about new features and known issues in QNX SDP, see the release notes. The online documentation includes a copy, but for for the most up-to-date version, go to our website, www.qnx.com, log into your myqnx account, and then go to Downloads QNX Software Development Platform 6.5.x. For information about using BSPs with QNX SDP 6.5.0, see the BSP Migration Guide in the BSPs and Drivers project on Foundry27. Getting started with the documentation After you ve installed QNX SDP, you ll find an extensive set of HTML documentation: On Linux and Windows development hosts, you can read it in the Integrated Development Environment s help system. On Linux, use the qde command to start the IDE; on Windows, use the desktop icon. On self-hosted QNX Neutrino systems, you can read it in the Photon helpviewer, or you can use a web browser to display: ${QNX_TARGET}/usr/help/product/momentics/bookset.html viii About This Guide June 25, 2012

2012, QNX Software Systems Limited Technical support Technical support The roadmap page contains links to the various HTML booksets that accompany the OS. We recommend that you start with Welcome to the QNX Software Development Platform for an overview of QNX SDP. Next, see 10 Steps to Developing a QNX Program: Quickstart Guide for a short tutorial that will help you get started, and then refer to the other documents (System Architecture, QNX Neutrino Programmer s Guide, Library Reference, Utilities Reference, and so on). You can install and work with multiple versions of QNX Neutrino. 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. 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. For questions about installing and using QNX SDP, see the QNX Momentics Getting Started forum on our Foundry27 site, http://community.qnx.com. There are other forums for specific topics, including the QNX Neutrino RTOS, development tools, networking, Board Support Packages, and so on. June 25, 2012 About This Guide ix

Chapter 1 QNX Neutrino RTOS Hosts In this chapter... Before you start 3 System requirements 3 BIOS settings 4 Installing QNX SDP 6.5.0 SP1 4 Errors while booting 5 Activating QNX SDP 5 Commercializing your evaluation software 6 Uninstalling QNX SDP 6.5.0 and SP1 7 Determining your base directory 7 June 25, 2012 Chapter 1 QNX Neutrino RTOS Hosts 1

2012, QNX Software Systems Limited System requirements If you ve already installed an evaluation version of QNX SDP 6.5.0, 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, below. Before you start System requirements For QNX Neutrino self-hosted development, it s possible to have more than one version of QNX SDP installed on your computer at the same time, by having them in separate partitions. If you want to retain an earlier released version of QNX SDP or QNX Momentics, install 6.5.0 in a new partition. When you boot, you re asked to choose the partition by its number. If you re then prompted to choose from multiple.diskroot files, choose the one that corresponds to the partition that you already chose. In text mode, we support only the US keyboard layout. If you install QNX Neutrino in a partition on a Windows machine and later use Windows software to create another partition, you ll lose your QNX Neutrino partition. The Neutrino boot process can dynamically add block I/O (i.e. disk) drivers, letting you boot on systems with newer controllers. The mechanism is simple and not proprietary to QNX Software Systems, so third parties can offer enhanced block drivers without any intervention on our part. For more information, see Updating disk drivers in the Controlling How Neutrino Starts chapter of the QNX Neutrino User s Guide. Minimum Recommended Processor 2 GHz or more Intel Pentium 4 2 GHz or more Intel Pentium 4 RAM 512 MB 1 GB Disk space 3.0 GB 3.5 GB Monitor 1024 768 1280 1024 June 25, 2012 Chapter 1 QNX Neutrino RTOS Hosts 3

BIOS settings 2012, QNX Software Systems Limited! CAUTION: Some x86 systems can run in System Management Mode (SMM), where the BIOS installs special code that runs when a System Management Interrupt (SMI) occurs. SMI interrupts may be generated by the motherboard or peripheral hardware, and can t be masked by the operating system. When SMM is entered, normal operations including the OS are suspended, and the SMI handler runs at a high priority. Avoid using systems where SMM can t be disabled, because it can destroy QNX Neutrino s realtime performance. The OS can t do anything about the delays that SMM introduces, nor can the OS even detect that the system has entered SMM. BIOS settings You can also install the QNX Neutrino RTOS as a virtual machine on VMware Workstation 6.5 or 7.0, VMWare Player 3.0, and Microsoft VirtualPC 2007. To ensure that VMware is supported for your host, search the compatibility guide located at http://www.vmware.com/resources/compatibility/search.php. If you find problems with any virtualization environment, please post your findings in one of the forums in our Foundry27 community website. QNX SDP 6.5.0 SP1 requires 250 MB of disk space; the version for x86 targets requires 220 MB. We recommend you use the following BIOS settings: Disable Plug and Play OS. Set any parallel ports and onboard serial ports to specific addresses, if possible, instead of using an automatic setting. Enable SATA if your system includes a SATA drive. If you want to boot QNX Neutrino from the DVD or CD either to try it without installing it, or for troubleshooting make sure that the appropriate drive is the first boot device. If your BIOS is has an option for booting from Other USB devices, enabling it could make the BIOS take a very long time to start. Installing QNX SDP 6.5.0 SP1 To install QNX SDP 6.5.0 SP1, do the following: 1 Log in as root. 2 Insert the QNX Software Development Platform 6.5.0 SP1 Installation DVD in the DVD drive. 3 Run qnxsdp-6.5.0sp1-nnnnnnnnnnnn-nto.sh (where nnnnnnnnnnnn is a build number), which you ll find in the root directory of the DVD. 4 Follow the instructions on your screen. 4 Chapter 1 QNX Neutrino RTOS Hosts June 25, 2012

2012, QNX Software Systems Limited Errors while booting Errors while booting If an error occurs while you re booting your system, the boot loader may display the error messages listed below, depending on the type of partition that you chose. For a Power-Safe (fs-qnx6.so) filesystem, the boot loader may display the following messages: Unsupported BIOS The BIOS doesn t support INT13 LBA extensions. Missing OS Image The filesystem isn t an fs-qnx6 one, or the.boot directory is empty. Invalid OS Image The selected file isn t an x86 startup boot image. Disk Read Error A physical I/O error occurred while reading the disk. Ram Error A physical RAM error occurred while copying the boot image. If an error occurs when you boot from a QNX 4 filesystem, the boot loader displays one of the following characters, and then the boot process halts: S D or? No OS signature was found. An error occurred reading the disk. Activating QNX SDP Activating automatically For more information, see the Controlling How Neutrino Starts chapter of the QNX Neutrino User s Guide. 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. If your development host is connected to the Internet, you can activate QNX SDP automatically. June 25, 2012 Chapter 1 QNX Neutrino RTOS Hosts 5

Commercializing your evaluation software 2012, QNX Software Systems Limited 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, /etc/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, 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 /etc/qnx/license/activate_response_key.txt on your QNX SDP development host. 7 If you closed the QNX SDP Activation dialog, open it again by selecting Configure Activate License from the Launch menu, or by entering the following at a terminal prompt: /etc/qnx/bin/qnxactivate -a 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 selecting Configure Activate License from the Launch menu, or by entering the following at a terminal prompt: /etc/qnx/bin/qnxactivate -a Commercializing your evaluation software If you installed an evaluation copy of QNX SDP 6.5.0, and you ve now received a commercial QNX license, do the following to add your commercial license: 1 Choose Configure Add License from the Launch menu. 2 Enter the license key. 3 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. 6 Chapter 1 QNX Neutrino RTOS Hosts June 25, 2012

2012, QNX Software Systems Limited Uninstalling QNX SDP 6.5.0 and SP1 Uninstalling QNX SDP 6.5.0 and SP1 It isn t possible to uninstall just QNX SDP 6.5.0 SP1. You should uninstall QNX products in the reverse order in which you installed them. To determine this order, use a command like this: ls -lt find base_directory -name "*uninstall*.sh" where base_directory is where you installed the QNX Software Development Platform. To completely uninstall QNX SDP, simply erase or delete the partition you installed it in. Determining your base directory To determine the base directory for QNX SDP, open a command shell and use the qconfig command. For example: $ qconfig QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: /usr/qnx650/ QNX_HOST: /usr/qnx650/host/qnx6/x86/ QNX_TARGET: /usr/qnx650/target/qnx6/ The base directory in this example is /usr/qnx650/, but it could be different on your machine, depending on where you installed QNX SDP. June 25, 2012 Chapter 1 QNX Neutrino RTOS Hosts 7

In this chapter... Before you start 11 System requirements 11 Installing QNX SDP 6.5.0 SP1 12 Activating QNX SDP 12 Commercializing your evaluation software 14 Uninstalling QNX SDP 6.5.0 and SP1 14 Determining your base directory 16 Chapter 2 Microsoft Windows Hosts June 25, 2012 Chapter 2 Microsoft Windows Hosts 9

2012, QNX Software Systems Limited System requirements If you ve already installed an evaluation version of QNX SDP 6.5.0, 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, below. Before you start System requirements 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 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:\QNX650\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) If your PATH contains quotation marks, ln-w doesn t work properly. (Ref# 20046) If you install 6.5.0, and you then install 6.3.2, you need to move the cleanup utility QNXWinCleanup.exe from $QNX_HOST to C:\WINDOWS. (Ref# 56879) Host OS: Windows 7 Professional 32- and 64-bit Windows Vista Business 32- and 64-bit Windows XP Professional SP3 Windows 2000 SP4 Minimum Recommended Processor Pentium III, 700 MHz Pentium 4, 2 GHz or more RAM 256 MB a 512 MB a Disk space 2.5 GB a 3.4 GB a Monitor 1024 768 1280 1024 June 25, 2012 Chapter 2 Microsoft Windows Hosts 11

Installing QNX SDP 6.5.0 SP1 2012, QNX Software Systems Limited a Windows Vista requires an additional 512 MB of available RAM and disk space. The System Profiler in the IDE requires a minimum color depth of 16 bits. QNX SDP 6.5.0 SP1 requires 260 MB of disk space; the version for x86 targets requires 150 MB. Installing QNX SDP 6.5.0 SP1 To install QNX SDP 6.5.0 SP1, do the following: 1 Boot into Windows and log in as a user with system-administrator privileges. 2 If you re using Windows Vista or Windows 7, disable User Account Control (UAC). (Ref# 77791). 3 Insert the QNX Software Development Platform 6.5.0 SP1 Installation DVD in the DVD drive. The installation should start automatically; if it doesn t, double-click qnxsdp-6.5.0sp1-nnnnnnnnnnnn-win32.exe (where nnnnnnnnnnnn is a build number), which you ll find in the root directory of the disk. Activating QNX SDP Java s AWT and Swing aren t supported in 16-color mode; they require a minimum of 256 colors. If you get a message, Unable to run in graphical mode, run the installer in console mode, by typing this in a DOS prompt window: drive:\qnxsdp-6.5.0sp1-nnnnnnnnnnnn-win32.exe -console where drive is the drive letter for your DVD drive, and nnnnnnnnnnnn is the appropriate build number. 4 Follow the instructions on your screen. 5 Log out and log back in again, so that the environment is set up correctly. 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. 12 Chapter 2 Microsoft Windows Hosts June 25, 2012

2012, QNX Software Systems Limited Activating QNX SDP If you install QNX SDP using a third-party windows explorer (e.g. Total Commander), the installer doesn t display the Activation window once the installation is complete. (Ref# 59359) Workaround: Open the QNX SDP Activation dialog by selecting Programs QNX Software Development Platform 6.5.0 License Management Activate License from the Start menu, or by entering the following at the command prompt: drive:\program Files\QNX Software Systems\bin\qnxactivate -a Activating automatically Activating manually If your development host is connected to the Internet, you can activate QNX SDP automatically. 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, 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 selecting Programs QNX Software Development Platform 6.5.0 License Management Activate License from the Start menu, or by entering the following at the command prompt: drive:\program Files\QNX Software Systems\bin\qnxactivate -a June 25, 2012 Chapter 2 Microsoft Windows Hosts 13

Commercializing your evaluation software 2012, QNX Software Systems Limited 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 selecting Programs QNX Software Development Platform 6.5.0 License Management Activate License from the Start menu, or by entering the following at the command prompt: drive:\program Files\QNX Software Systems\bin\qnxactivate -a where drive is the name of the drive where you installed QNX SDP. Commercializing your evaluation software If you installed an evaluation copy of QNX SDP 6.5.0, and you ve now received a commercial QNX license, do the following to add your commercial license: 1 Choose Programs QNX Software Development Platform 6.5.0 License Management Add License from the Start menu, or enter the following at the command prompt: base_directory\install\qnxsdp\6.5.0\addlicense.exe where base_directory is where you installed QNX SDP (see Determining your base directory, 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. Uninstalling QNX SDP 6.5.0 and SP1 14 Chapter 2 Microsoft Windows Hosts June 25, 2012

2012, QNX Software Systems Limited Uninstalling QNX SDP 6.5.0 and SP1 It isn t possible to uninstall just QNX SDP 6.5.0 SP1; if you uninstall it, you ll completely uninstall QNX SDP 6.5.0. Use the 6.5.0 SP1 uninstaller, not the one for 6.5.0. You should uninstall QNX products in the reverse order in which you installed them. To determine this order, open a bash shell and use a command like this: ls -lt $QNX_HOST/usr/bin/find base_directory -name "*uninstall*.exe" where base_directory is where you installed the QNX Software Development Platform. To uninstall QNX SDP, do the following: 1 Log in as a user with system-administrator privileges. 2 If you re using Windows Vista or Windows 7, disable User Account Control (UAC). (Ref# 77791). 3 Do one of the following: Choose Programs QNX Software Development Platform 6.5.0SP1 Uninstall QNX Software Development Platform 6.5.0SP1 from the Start menu. or: Choose Add or Remove Programs from the Control Panel, select QNX Software Development Platform 6.5.0SP1, and then click the Remove button. or: On Windows Vista or Windows 7, choose Programs and Features, select QNX Software Development Platform 6.5.0SP1, and then click Uninstall/Change. or: Go to the directory that contains the QNX650 folder and run QNX650\_uninstall\qnxsdp\6.5.0SP1\uninstaller.exe. 4 When prompted, restart your machine.! CAUTION: When you uninstall QNX SDP, Windows schedules the uninstaller for removal the next time you restart your system. If you don t restart your system, and you reinstall QNX SDP, its uninstaller will be removed the next time you restart your system. (Ref# 62183) June 25, 2012 Chapter 2 Microsoft Windows Hosts 15

Determining your base directory 2012, QNX Software Systems Limited In some cases, if you uninstall QNX SDP, the Add or Remove Programs window still lists some BSPs and DDKs. Press F5 while in Add or Remove Programs to refresh the list and show what s actually installed. If the uninstaller doesn t fully remove all the components, you can use the QNXWinCleanup utility to clean up your machine. You can find this utility and documentation for it in the Utilities directory on the DVD, or on our website. If you have other versions of QNX SDP installed, you need to explicitly choose which version of it that you want to use after you uninstall 6.5.0 SP1. Determining your base directory To determine the base directory for QNX SDP, open a command shell and use the qconfig command. For example: C:\>qconfig QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: C:/QNX650/ QNX_HOST: C:/QNX650/host/win32/x86/ QNX_TARGET: C:/QNX650/target/qnx6/ The base directory in this example is C:/QNX650/, but it could be different on your machine, depending on where you installed QNX SDP. 16 Chapter 2 Microsoft Windows Hosts June 25, 2012

Chapter 3 Linux Hosts In this chapter... Before you start 19 System requirements 19 Installing QNX SDP 6.5.0 SP1 20 Activating QNX SDP 20 Commercializing your evaluation software 21 Uninstalling QNX SDP 6.5.0 and SP1 22 Determining your base directory 23 June 25, 2012 Chapter 3 Linux Hosts 17

2012, QNX Software Systems Limited System requirements If you ve already installed an evaluation version of QNX SDP 6.5.0, 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, below. 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 ia32-libs Answer yes to all the questions. (Ref# 70567) 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 /etc/qnx/license/licenses (Ref# 62419) System requirements Host OS: Linux Red Hat Enterprise Linux 5.4 Desktop 32- and 64-bit Red Hat Fedora 12 Ubuntu Workstation 9.10, 11.04, and 12.04 32- and 64-bit opensuse 11.2 Minimum Recommended Processor Pentium III, 700 MHz Pentium 4, 2 GHz or more RAM 256 MB 512 MB Disk space 2.2 GB 3.1 GB Monitor 1024 768 1280 1024 The System Profiler in the IDE requires a minimum color depth of 16 bits. June 25, 2012 Chapter 3 Linux Hosts 19

Installing QNX SDP 6.5.0 SP1 2012, QNX Software Systems Limited QNX SDP 6.5.0 SP1 requires 250 MB of disk space; the version for x86 targets requires 140 MB. Installing QNX SDP 6.5.0 SP1 To install QNX SDP 6.5.0 SP1, do the following: 1 Boot into Linux and log in as root, or as a user with administrative privileges on Ubuntu. 2 Insert the QNX Software Development Platform 6.5.0 SP1 Installation DVD in the DVD drive. 3 If the system offers to run autorun, choose Yes; otherwise run qnxsdp-6.5.0sp1-nnnnnnnnnnnn-linux.bin (where nnnnnnnnnnnn is a build number), which you ll find in the root directory of the DVD. If you use sudo (as would be the case on Ubuntu), specify the -E option to preserve the environment. For example: sudo -E path_to_installer/qnxsdp-6.5.0sp1-nnnnnnnnnnnn-linux.bin Activating QNX SDP If your system won t let you execute from a DVD, unmount the DVD and remount it by hand. 4 Follow the instructions on your screen. 5 Log out and log back in again, so that the environment is set up correctly. 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) Workaround: Log out and back in again, and then start the activation program manually: /etc/qnx/bin/qnxactivate -a 20 Chapter 3 Linux Hosts June 25, 2012

2012, QNX Software Systems Limited Commercializing your evaluation software Activating automatically Activating manually If your development host is connected to the Internet, you can activate QNX SDP automatically. 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, /etc/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, 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 /etc/qnx/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 a terminal prompt: /etc/qnx/bin/qnxactivate -a 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: /etc/qnx/bin/qnxactivate -a Commercializing your evaluation software If you installed an evaluation copy of QNX SDP 6.5.0, 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/qnxsdp/6.5.0/addlicense.bin where base_directory is where you installed QNX SDP (see Determining your base directory, below). June 25, 2012 Chapter 3 Linux Hosts 21

Uninstalling QNX SDP 6.5.0 and SP1 2012, QNX Software Systems Limited 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. Uninstalling QNX SDP 6.5.0 and SP1 It isn t possible to uninstall just QNX SDP 6.5.0 SP1; if you uninstall it, you ll completely uninstall QNX SDP 6.5.0. Use the 6.5.0 SP1 uninstaller, not the one for 6.5.0. You should uninstall QNX products in the reverse order in which you installed them. To determine this order, use a command like this: ls -lt find base_directory -name "*uninstall*.bin" where base_directory is where you installed the QNX Software Development Platform. To uninstall QNX SDP, do the following: 1 Boot into Linux and log in as root, or as a user with administrative privileges on Ubuntu. 2 Go to a directory outside the base_dir directory (see Determining your base directory, below) and run the uninstaller: If you use sudo (as would be the case on Ubuntu), you must specify the -E option to preserve the environment: sudo -E base_dir/_uninstall/qnxsdp/6.5.0sp1/uninstaller.bin On other Linux hosts, type: base_dir/_uninstall/qnxsdp/6.5.0sp1/uninstaller.bin The command-line prompt doesn t return after a successful uninstallation. (Ref# 161467) Workaround: Press Ctrl-C. 3 Log out and back in again. 22 Chapter 3 Linux Hosts June 25, 2012

2012, QNX Software Systems Limited Determining your base directory If the uninstaller doesn t fully remove all the components, you can use the QNXLinuxCleanup utility to clean up your machine. You can find this utility and documentation for it in the Utilities directory on the DVD, or on our website. If you have other versions of QNX SDP installed, you need to explicitly choose which version of it that you want to use after you uninstall 6.5.0 SP1. Determining your base directory To determine the base directory for QNX SDP, open a command shell and use the qconfig command. For example: $ qconfig QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: /opt/qnx650/ QNX_HOST: /opt/qnx650/host/linux/x86/ QNX_TARGET: /opt/qnx650/target/qnx6/ The base directory in this example is /opt/qnx650/, but it could be different on your machine, depending on where you installed QNX SDP. June 25, 2012 Chapter 3 Linux Hosts 23