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

Building using msys2 clang64 environment #78

Open
tksuoran opened this issue Jul 25, 2024 · 0 comments
Open

Building using msys2 clang64 environment #78

tksuoran opened this issue Jul 25, 2024 · 0 comments

Comments

@tksuoran
Copy link

I suspect that set(MATH_WINVER 0x0501) in CommonOptions.cmake causes this; using 0x0600 works.

C:/git/tksuoran/alt/erhe/build/ninja/_deps/mathgeolib-src/src/Time/Clock.cpp:69:26: error: use of undeclared identifier 'GetTickCount64'; did you mean 'GetTickCount'?
   69 |                 appStartTime = (tick_t)GetTickCount64();
      |                                        ^~~~~~~~~~~~~~
      |                                        GetTickCount
C:/msys64/clang64/include/sysinfoapi.h:62:27: note: 'GetTickCount' declared here
   62 |   WINBASEAPI DWORD WINAPI GetTickCount (VOID);
      |                           ^
C:/git/tksuoran/alt/erhe/build/ninja/_deps/mathgeolib-src/src/Time/Clock.cpp:185:24: error: use of undeclared identifier 'GetTickCount64'; did you mean 'GetTickCount'?
  185 |         return (unsigned long)GetTickCount64();
      |                               ^~~~~~~~~~~~~~
      |                               GetTickCount
C:/msys64/clang64/include/sysinfoapi.h:62:27: note: 'GetTickCount' declared here
   62 |   WINBASEAPI DWORD WINAPI GetTickCount (VOID);
      |                           ^
2 errors generated.
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

1 participant