How to: develop a plugin using Isadora SDK on Windows with Visual Studio 2010 Express (1/3)
Hi,Here are my notes about using Isadora SDK. Not about the code iself, but how to get a base plugin to start with.As for now, the Isadora SDK includes a wizard for Visual C++ 2008 only. The goal is to install it and create a new plugin on VC++ 2008, then convert it to VC++ 2010\. I will also explain in a second part how to copy the same base plugin to new ones so that you won't have to do all this again each time you want to create a new plugin.Tested on Windows XP.**1st PART: CREATING 1 NEW PLUGIN BASED ON ISADORA SDK WIZARD TEMPLATE****INSTALLING VC++ 2008 EXPRESS AND LIBRARIES**
**CREATING THE PLUGIN WITH VC++ 2008 EXPRESS**
- If you haven't already, install Quicktime player.
- If you haven't already, install Quicktime SDK (aka Quicktime for developers). You need an AppleID to download it, just register on Apple's website to get one.
- Install Visual C++ Express 2008 (I think you need Service Pack 1 for some versions of Windows, and I think there is a package which installs VC++ 2008 and SP1 at the same time... search Google and Microsoft website). Start VC++ 2008 and close it.
- If you haven't already, install Isadora.
- Download and install Isadora SDK. Go to the folder where you unpacked it, open 'isadora sdk win read me.rtf' and follow the instructions under the paragraph 'Installing the plugin wizard' to install everything properly.
- Launch VC++ 2008 Express and create a new project. Fill the lower part of the window first (if you are about to follow the second part of this tutorial, call it IsadoraBase). Then click on 'Isadora Plugin', double-click on 'Isadora Custom Plugin', and run the wizard. The wizard should now generate a blank new plugin. No need to compile it: if you compile it now, you will get an error about Quicktime SDK not being linked to (error on movies.h), but even if you link it, you will get other errors about linking and date differences. To solve this, you will have to open the project with VC++ 2010, which is described below.
- For now, just save the project and quit VC++.
- Make a backup copy of the project folder you just created (should be in C:\Documents and Settings\username\My Documents\Visual Studio 2008\Projects\IsadoraBase). Just copy the folder to some safe place.
- If you don't need it anymore, you can uninstall VC++ 2008.