Opentk/Build/Instructions.txt

38 lines
1.3 KiB
Text
Raw Normal View History

2009-03-01 10:55:22 +01:00
Installation
2009-03-01 10:55:22 +01:00
OpenTK does not require installation. Simply decompress the archive to a folder of your choice.
2009-03-01 10:55:22 +01:00
Usage
2009-06-02 17:49:39 +02:00
To use OpenTK, you need to reference "OpenTK.dll". Refer to http://www.opentk.com/doc for specific instructions.
2009-06-02 17:49:39 +02:00
Regardless of your development environment and operating system, ensure that you copy "OpenTK.dll.config" to the output directory. Without OpenTK.dll.config, your application will not function on Linux or MacOS.
2009-03-01 10:55:22 +01:00
Build instructions
2009-06-02 17:49:39 +02:00
You can build OpenTK using Visual Studio 2005+, SharpDevelop 2.0+, MonoDevelop 2.0+, msbuild or nant. Instructions:
2009-03-01 10:55:22 +01:00
2009-06-02 17:49:39 +02:00
1a. Open the Build/ folder.
1b. If you are using a fresh SVN checkout, double click "Build.exe", type "vs" and press enter twice to create OpenTK.sln. This step is not necessary if you are using a released version of OpenTK.
2a. If you are using Visual Studio, SharpDevelop or MonoDevelop, double-click OpenTK.sln, select a build configuration (debug/release) and build the project.
2b. If you wish to build from the commandline:
[Windows]
Make sure msbuild is in your path and type:
cd Build
Build.exe vs
msbuild
[Linux / MacOS]
Make sure nant (http://nant.sourceforge.net) is in your path and type:
cd Build/
mono Build.exe nant release
4. The resulting binaries are placed into the Binaries/Release or Binaries/Debug folder.