
deploying opentk project
Posted Thursday, 13 May, 2010 - 20:00 by Boogiwoogie inHi there!
I am rather new to all this .net stuff, being so Windows-related kept me away from it for a long time. But now that mono is at a pretty mature stage, I think about not sticking to C++ any more. However, what I am curios about is your "compile once, run anywhere"-Philosophy. If I create some nice little program that uses OpenGL and OpenAL, how do I make it run on all those supported Platforms? I doubt that its simply adding OpenTK.dll to the installation directory... Can someone put some lines down on what the steps are to support all Windows, Linux and MacOS in both 32 and 64 bit versions? What I dont want is to go like "yes, just unzip it and start my program, but be sure you have xxx.so and yyy.so, otherwise do some "apt-get install"-magic... oh, you use Windows... you better go to someurl.com and download and install all that stuff."
Cheers,
boogi


Comments
Re: deploying opentk project
I doubt that its simply adding OpenTK.dll to the installation directory...
It actually is: add OpenTK.dll and OpenTK.dll.config to the installation directory and your application will run on any OS that comes with Mono/.Net and the necessary OpenGL and OpenAL drivers.
Of course, there are some complications:
These issues aren't specific to OpenTK, all games / .Net apps have to face one or the other. Fortunately, most gamers keep their drivers up to date and Mono makes it easy to create bundles.
Re: deploying opentk project
Wow, that sounds promising. Actually it sounds like software development should have always been that way ;)
Is OpenCL a library that comes in by installing nVidia/ATI drivers, or is it kept seperately?
Re: deploying opentk project
Is OpenCL a library that comes in by installing nVidia/ATI drivers
Yes.