Non controlled exception: System.BadImageFormatException: There has been an attempt to open a file with an incorrect format. (Exception of HRESULT: 0x8007000B)
in OpenTK.Compute.CL10.CL.Core.GetPlatformIDs(UInt32 num_entries, IntPtr* platforms UInt32* num_platforms)
in OpenTK.Compute.CL10.CL.GetPlatformIDs(UInt32 num_entries, IntPtr* platforms, UInt32* num_platforms) in C:\Users\FreeTop\projects\scallion\opentk\Source\OpenTK\Compute\CL10\CL.cs:line 10524
in scallion.CLDeviceInfo.GetPlatformIds() in C:\Users\FreeTop\projects\scallion\scallion\CLDeviceInfo.cs:line 46
in scallion.CLDeviceInfo.GetDeviceIds() in C:\Users\FreeTop\projects\scallion\scallion\CLDeviceInfo.cs:line 23
in scallion.CLRuntime.GetDevices() in C:\Users\FreeTop\projects\scallion\scallion\CLRuntime.cs:line 21
in scallion.Program.Main(String[] args) in C:\Users\FreeTop\projects\scallion\scallion\Program.cs:line 383
Whenever I try to run it on cmd, the following prints after an "scallion.exe has stopped working" window.
C:\1\2\3\3\scallion-v2.0>scallion.exe -d 0 testing
Non controlled exception: System.BadImageFormatException: There has been an attempt to open a file with an incorrect format. (Exception of HRESULT: 0x8007000B)
in OpenTK.Compute.CL10.CL.Core.GetPlatformIDs(UInt32 num_entries, IntPtr* platforms UInt32* num_platforms)
in OpenTK.Compute.CL10.CL.GetPlatformIDs(UInt32 num_entries, IntPtr* platforms, UInt32* num_platforms) in C:\Users\FreeTop\projects\scallion\opentk\Source\OpenTK\Compute\CL10\CL.cs:line 10524
in scallion.CLDeviceInfo.GetPlatformIds() in C:\Users\FreeTop\projects\scallion\scallion\CLDeviceInfo.cs:line 46
in scallion.CLDeviceInfo.GetDeviceIds() in C:\Users\FreeTop\projects\scallion\scallion\CLDeviceInfo.cs:line 23
in scallion.CLRuntime.GetDevices() in C:\Users\FreeTop\projects\scallion\scallion\CLRuntime.cs:line 21
in scallion.Program.Main(String[] args) in C:\Users\FreeTop\projects\scallion\scallion\Program.cs:line 383
How can I solve this problem?