Confirmed - Works with Windows Environments. #55
tomcoffingiii
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I was able to get this working on my server which is hosted on a windows environment. A few things to help others:
When installing the various libraries for this, don't use the developer command line / terminals offered in the Visual Studio 2022 tools menu or you're going to have a bad time as it defaults to 32-bit; search for x64 in the start menu and use x64 Native Tools Command Prompt for VS 2022.
Compiling in VS 2022 was annoying. vcpkg would only install libcurl.lib but VS kept throwing compilation errors calling for curl.lib. curl was annoying to configure, libcurl and libcurl_a alone didn't cut it - I ended up copying libcurl.lib/libcurl.dll and renamed them to curl.lib/curl.dll which allowed me to get around my compilation errors.
If you're having problems with environmental variables and VS not finding any of the libraries you've installed, open up the project settings FOR BOTH the worldserver and dbimport projects. Under the linker settings, add in the directories housing your .lib and .dll files. Also try adding CURL_STATICLIB to the preprocessor for both of these projects.
Good luck!
All reactions