-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to rebuild for Windows #39
Comments
what file is it that i need to put those lines of code? |
@gummybear17 change |
hey uhh |
? |
mine is Jonnycat#8275 |
ok i did it you can now run the build go to my repository of it |
no self promote just telling him/her that the thing is fixed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the same issue as openfl/lime#875 .
If you try to rebuild via
lime rebuild systools windows
, you get an error because of a missing reference to thesprintf
function. That function was removed from default MSVC libs some years ago, to nudge developers into using more secure version of those functions (likesprintf_s
)https://docs.microsoft.com/en-us/cpp/c-runtime-library/secure-template-overloads?view=msvc-160
There are two possible fixes for this issue:
sprintf
withsprintf_s
in the code (there is only one instance of this);legacy_stdio_definitions.lib
to the linker: that would load the missing reference tosprintf
Edit: I did a PR with the second solution.
The text was updated successfully, but these errors were encountered: