TubeTK/OsiriX: Difference between revisions
From KitwarePublic
< TubeTK
Jump to navigationJump to search
Line 40: | Line 40: | ||
# Copy plugin generator Apple Script zip file ( Osirix Plugin Generator.zip ) from the "_help" directory. | # Copy plugin generator Apple Script zip file ( Osirix Plugin Generator.zip ) from the "_help" directory. | ||
# Unzip the zip file | # Unzip the zip file | ||
# Run the script. Follow the wizard's instructions. The basic project will be created automatically. | # Run the script ( From the terminal, do "open ./Osirix\ Plugin\ Generator.app" . Follow the wizard's instructions. The basic project will be created automatically. | ||
# Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu ) | # Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu ) | ||
# Compile the code | # Compile the code |
Revision as of 09:47, 16 February 2012
Building OsiriX
Requirements
- Mac OS X 10.7 or better
- Xcode 4.2 or better
Repository
- Main application
svn co https://osirix.svn.sourceforge.net/svnroot/osirix osirix
Build steps
- Open the Osirix.xcodeproj (in osirix/) and select & run the 'Unzip Binaries' target
- Select & run the 'Development' target to build OsiriX
Build FAQs
- Building plugin: Error message "The run destination My Mac 64-bit is no valid for Running the Scheme"
- Set Base SDK to MacOS X 10.6.
- Building output directory: Some weird path in Xcode 4. How to change it ?
http://stackoverflow.com/questions/4233581/xcode-4-build-output-directory
How to launch OsiriX
There are multiple ways one can launch OsiriX
- Open a terminal. Go to Applications folder. Type open OsiriX.app
- If the applications is on the Dock, you can double click the icon.
Useful Links
- OsiriX Development Guide
http://osirix.svn.sourceforge.net/viewvc/osirix/Documentation/Guides/Development/index.html
Developing Plugins
Repository
svn co https://osirixplugins.svn.sourceforge.net/svnroot/osirixplugins osirixplugins
Build steps
- Copy plugin generator Apple Script zip file ( Osirix Plugin Generator.zip ) from the "_help" directory.
- Unzip the zip file
- Run the script ( From the terminal, do "open ./Osirix\ Plugin\ Generator.app" . Follow the wizard's instructions. The basic project will be created automatically.
- Add functionalities to the plugin code: Two segments i.e Plugin initialization ( when OsiriX is launched) and Main process ( when plugin is invoked from the menu )
- Compile the code
Plugin installation
Copy the plugin (example "MyNewPlugin.osirixplugin" from "DerivedData/MyNewPlugin/Products/Development/" folder ) to "Library/Application\ Support/OsiriX/Plugins/"