Adobe.com
Contents Files

Using the Sample Projects

Introduction

This page explains how to get started with the sample projects and create an external library for Bridge. The steps covered are:

  • Build Tools
  • Resource locations
  • Building the library
  • Installing the Library

Build Tools

If you have not already done so visit http://www.adobe.com/devnet/bridge/ and download the Bridge SDK archive.

Extract the archive to a location of your choice.For example, if the archive is extracted to

C:\sdk 
then the SDK contents will be found in
C:\sdk\Adobe Bridge CS5 SDK 

This location will be refered to as SDKINSTALL from this point onwards. To run the samples, both Adobe Bridge CS5 and the Adobe ExtendScript Toolkit (ESTK) CS5 are required. Note that ESTK CS5 is installed with CS5 versions of the Adobe Creative Suite.

The projects have been created for both Mac and Windows environments. Each of the projects can produce a basic sample of a C++ library for the respective operating systems. The build environments used to create each of the projects were:

  • Win - MS Visual Studio 2008 (we have tested with version 8.0.50727.42)
  • Mac - Xcode 3.1 (we have tested with version 3.1)

Resource Locations

Project locations

The project files can be found in:

  • Win - SDKINSTALL/cpp/build/PROJECTNAME/win
  • Mac - SDKINSTALL/cpp/build/PROJECTNAME/mac
Each respective folder contains the necessary files to load the project. When the project files are opened all source and header files can be seen and there should be no need to alter any path locations within the project.

Source and Script Files

The needed source and header files can be found in:

  • SDKINSTALL/cpp/source/ - contains the source and header files for the sample projects
  • SDKINSTALL/cpp/source/includes - contains the scripting core header files needed to implement an external object
  • SDKINSTALL/cpp/scripts/ - contains the script file to load and exercise the external objects
  • SDKINSTALL/cpp/docs/ - contains documentation on how to use the projects

Installing an External Object

For general information on installing an External Object See Installing External Objects for information on how and where to install external objects or consult the JavaScript Tools Guide.

Installing and Running the Sample Projects

The following pages describe how to build, install and run the sample projects:

See Using the BasicExternalObject Sample for information on how to build the External Object sample

See Using the SampleLib Example for information on how to build the Sample Lib sample

Contents Files
Adobe Solutions Network
 
Copyright © 2010 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks