Skip to content

Building using msys2 clang64 environment #78

Description

@tksuoran

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions