Bink SDK 1.5v |
The Bink SDK supplies the full source code and resourcses for the Bink Player we supply on our web site. To build the examples, follow these steps:
1) Create a new MacOS Toolbox for C project for Classic, Carbon or MachO in CodeWarrior.
2) Add the "player.c", "player.r", and "playerbinary.rsrc" files into the project. For Carbon projects, also add "carbon.h" to the project.
3) Copy the appropriate Bink library ("BinkClassicLibrary", "BinkCarbonLibrary", or "libBinkMachO.dylib") into the executable directory. Note that MachO applications place the executables for an application package in a subfolder called "Contents/MacOS". MachO application packages are just a defined set of folders, so to open the Contents subfolder in Finder, Control-click on the application icon and choose "Show Package Contents". Then just place the libBinkMachO.dylib file into the "Contents/MacOS" folder.
4) Add the Bink library that you just copied into the project.
5) Remove the sample source files that CodeWarrior places into the project by default.
And that's it! You should be able to build and run the same Bink example that we redistribute.
Previous Topic (Sharing the CPU under MacOS)
Group:
The MacOS Platform
For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.