2009-08-25 14:46:01 +00:00
|
|
|
=== Installation ===
|
|
|
|
|
|
|
|
OpenTK does not require installation. Simply decompress the archive to a folder of your choice.
|
|
|
|
|
|
|
|
|
|
|
|
=== Usage ===
|
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
Three simple steps:
|
|
|
|
1. copy "OpenTK.dll" and "OpenTK.dll.config" to your project folder. These can be found under Binaries/OpenTK/Release/
|
2009-08-25 14:46:01 +00:00
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
2. add "OpenTK.dll" to your project references.
|
|
|
|
(Right-click "References" -> "Add Reference" -> "Browse" and locate "OpenTK.dll")
|
2009-08-25 14:46:01 +00:00
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
3. set "OpenTK.dll.config" to be copied to your output directory.
|
|
|
|
(Right-click "OpenTK.dll.config" -> "Properties" and set "Copy to Output Directory" to "Copy Always".)
|
|
|
|
|
|
|
|
For more details, refer to http://www.opentk.com/doc
|
2009-08-25 14:46:01 +00:00
|
|
|
|
|
|
|
|
|
|
|
=== Build instructions ===
|
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
Use OpenTK.sln to build the library. You can use Visual Studio 2010+, SharpDevelop 3.0+, MonoDevelop 2.0+ or Xamarin Studio.
|
|
|
|
|
|
|
|
You can also build from the commandline using:
|
2009-08-25 14:46:01 +00:00
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
msbuild OpenTK.sln /p:Configuration=Release
|
|
|
|
- or -
|
|
|
|
xbuild OpenTK.sln /p:Configuration=Release
|
2009-08-25 14:46:01 +00:00
|
|
|
|
2013-11-21 18:44:12 +00:00
|
|
|
The resulting binaries will be placed under the Binaries/OpenTK/[Release|Debug] folders.
|