Hi all. I'm new to Godot, and I'm currently trying to make use of a library of mine for a project in Godot. In this library, I use cURL, and everything seemingly compiles fine. When I start the game however, it seems like it can't load my .dll-file which I compiled. It's only when I reference curl-functions in my code, such as curl_easy_init. So it seems like libcurl.dll or so isn't loaded properly as a dependency. Any suggestions on how I can debug this or solve it?
ERROR: Can't open dynamic library: C:/Users/james/Documents/GitHub/godot-native-example/app/addons/example/gdnative-example.dll, error: Error 126: The specified module could not be found. . at: (platform/windows/os_windows.cpp:2353) ERROR: No valid library handle, can't get symbol from GDNative object at: get_symbol (modules/gdnative/gdnative.cpp:510) ERROR: No nativescript_init in "res://addons/example/gdnative-example.dll" found at: init_library (modules/gdnative/nativescript/nativescript.cpp:1510) ERROR: Error opening file 'res://icon.png'. at: load_image (core/io/image_loader.cpp:55)
The game runs fine as long as I don't try to use curl_easy_init or any other curl function.