Skip to content

Instantly share code, notes, and snippets.

@Nihlus
Created April 8, 2016 09:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nihlus/43fb2b47ccbe04056185649360711f0a to your computer and use it in GitHub Desktop.
Save Nihlus/43fb2b47ccbe04056185649360711f0a to your computer and use it in GitHub Desktop.
OpenGL.Net Exception
System.ComponentModel.Win32Exception: ApplicationName='/usr/bin/uname', CommandLine='-s', CurrentDirectory='', Native error= Cannot find the specified file
at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x003b5] in <filename unknown>:0
at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x0008b] in <filename unknown>:0
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001e] in <filename unknown>:0
at OpenGL.GetProcAddress.DetectUnixKernel () [0x00054] in <filename unknown>:0
@luca-piccioni
Copy link

Quite strange: the exception should be caught and the next iteration shall test /bin/uname path, as you can in DetectUnixKernel method in https://github.com/luca-piccioni/OpenGL.Net/blob/master/OpenGL.Net/GetProcAddress.cs

P. S. : since I've not run anything on Linux yet, how is going?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment