
Is Vista supported?
Posted Thursday, 11 October, 2007 - 22:39 by Anonymous inI just tried to build the source distributed for the opentk-0.3.12 release. I am seeing an Unhandled Exception under Vista. Note that this is the first time I have tried to use NAnt and attempted to build OpenTK so I could have some environment issues.
Here is the trace from Build.exe:
Building OpenTK using .Net
Prebuild v2.0.2
Copyright (c) Matthew Holmes, Dan Moorehead and David Hudson
See 'prebuild /usage' for help
Creating NAnt build files
...Creating project: Build
...Creating project: Examples
...Creating project: OpenTK
...Creating project: Bind
Unhandled Exception: System.ComponentModel.Win32Exception: The system cannot find the file specified
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at OpenTK.Build.Project.ExecuteProcess(String path, String args)
at OpenTK.Build.Project.Main(String[] args)
Thanks for any help that can be provided.


Comments
Vista is supported, but it
Vista is supported, but it seems that Build.exe couldn't locate NAnt.exe (I know, the message could be a little more descriptive :) ). You'll have to add the nant binaries to your path: right click on "My Computer" and select "Properties". On the new window, click on "Advanced system settings" and click on the "environment variables" button in the window that comes up. Locate the PATH system variable, double click on it and append a semicolon + the relevant folder.
For example, if NAnt.exe resides in D:\Programming\nant\bin, you should append the following string: ";D:\Programming\nant\bin".
This should do the trick.