Help on initLibrary file path
I'm struggling to get the initLibrary file path working. It looks like it's supposed to be a relative path from the dart-raylib folder to the raylib folder but for whatever reason it's not working for me.
I'm on Windows 10.
My dart raylib test project: C:\Users\XXX\Desktop\Art Projects\dart-raylib-test-project
The dart-raylib bindings: C:\Users\XXX\AppData\Local\Pub\Cache\hosted\pub.dartlang.org/raylib-0.3.0
The actual raylib library: C:\raylib
I've tried going from my test project to raylib and from the dart bindings to raylib but whatever I'm doing is wrong.
From my project to raylib:
windows: "../../../../../raylib"
From dart-raylib bindings to raylib:
windows: "../../../../../../../../../raylib"
$ dart main.dart Unhandled exception: Invalid argument(s): Failed to load dynamic library '../../../../../raylib': error code 126 #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:12:43) #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:23:12) #2 initLibrary (package:raylib/src/library.dart:46:35) #3 main (file:///C:/Users/XXX/Desktop/Art%20Projects/dart-raylib-test-project/main.dart:4:6) #4 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19) #5 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:192:12)
I'm sure I'm just missing something about which exact folder I'm supposed to be going from and to and if there is a specific file I'm supposed to point to or just the folder. If I'm supposed to direct the file path to a libraylib.so file I don't know where this is.
Any help would be greatly appreciated!