Joined: 10/12/2013(UTC) Posts: 2
|
Has anyone had any luck getting F# working with Delta Engine? The only reference I found was this which gave me a bunch of errors. Edited by user Saturday, October 12, 2013 9:23:20 PM(UTC)
| Reason: Not specified
|
|
|
|
Medals:  Joined: 8/24/2011(UTC) Posts: 138 Location: Hannover
Thanks: 1 times Was thanked: 12 time(s) in 7 post(s)
|
Could you please specify you errors? Actually, most Delta Engine assemblys are marked with the CLSCompliantAttribute which mean you should be able to call them from any CLR language without any issues. |
|
|
|
|
Medals:  Joined: 8/20/2011(UTC) Posts: 1,421 Location: Hannover
Thanks: 18 times Was thanked: 97 time(s) in 92 post(s)
|
Yes, Delta Engine works with any .NET language. You can consume the assemblies with any language that can consume .NET assemblies. The only disadvantage is that we currently only support converting from C# code, but let us know if VB or F# support is interesting.
|
|
|
|
Joined: 10/12/2013(UTC) Posts: 2
|
Hi, I'm fairly new to C# and havn't touched F# before. Just wanted to try it after messing around with Haskell game libraries so I might be missing something really basic. Also I'm not sure if that website's code even works Anyhow this is how I setup my project - Make F# sample project - Get deltaengine GLFW references from nuget - Copy the code into a new .fs file and errors below Quote: Error 7 Instances of this type cannot be created since it has been marked abstract or not all methods have been given implementations. Consider using an object expression '{ new ... with ... }' instead. C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 32 19 Tutorial3 Error 8 Method or object constructor 'App' not found C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 32 19 Tutorial3 Error 2 Method or object constructor 'Lerp' not found C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 21 35 Tutorial3 Error 6 No abstract or interface member was found that corresponds to this override C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 24 21 Tutorial3 Error 9 The field, constructor or member 'Start' is not defined C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 33 13 Tutorial3 Error 1 The namespace or module 'Time' is not defined C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 16 44 Tutorial3 Error 4 The type 'obj' is not an interface type C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 23 15 Tutorial3 Error 3 The type 'Runner' is not defined C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 23 15 Tutorial3 Error 5 This type is not an interface type C:\Dropbox\Programming\DeltaEngine\Tutorial3\Tutorial3\File1.fs 23 15 Tutorial3
Thanks for the quick replies :) Edited by user Monday, October 14, 2013 4:40:54 PM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.