Skip to content
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

Failure to build Windows binaries on Ubuntu 20.04 #51

Closed
Jolly-Pirate opened this issue May 24, 2021 · 2 comments
Closed

Failure to build Windows binaries on Ubuntu 20.04 #51

Jolly-Pirate opened this issue May 24, 2021 · 2 comments

Comments

@Jolly-Pirate
Copy link

Building Windows binaries on Ubuntu 20.04 gives the following error:

utiltime.cpp: In function ‘std::string FormatISO8601DateTime(int64_t)’:
utiltime.cpp:86:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
   86 |     gmtime_r(&time_val, &ts);
      |     ^~~~~~~~
      |     gmtime_s
utiltime.cpp: In function ‘std::string FormatISO8601Date(int64_t)’:
utiltime.cpp:97:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
   97 |     gmtime_r(&time_val, &ts);
      |     ^~~~~~~~
      |     gmtime_s
utiltime.cpp: In function ‘std::string FormatISO8601Time(int64_t)’:
utiltime.cpp:108:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
  108 |     gmtime_r(&time_val, &ts);
      |     ^~~~~~~~
      |     gmtime_s
@ghost
Copy link

ghost commented Feb 1, 2024

I can build Windows binaries on Ubuntu 22.04 and Ubuntu 23.10. You can now build on Ubuntu.
This was missing. #152 (comment)
@ycagel

@ycagel
Copy link
Member

ycagel commented Feb 1, 2024

Thanks for all the hard work @Jongjan88!

@ycagel ycagel closed this as completed Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants