Home Forums Bugs :P Trouble building

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11006

    Mr.Hales
    Participant

    Hi. I’m having some issues with building KeeperRL. I’m trying to cross compile for my Chromebook, because it runs out of memory. It may be doing so before I run into the problems I’m having on my beefier desktop. I was having trouble cross compiling using instructions I found on AskUbuntu, so I tried just building it for the desktop to see what the difference might be.

    When I get to the Steam area, it seems, none of the steam headers can be found. I see that the include calls for a folder in extern/ called steamworks/ so I downloaded the Steam SDK and put the folder there. I seem to have gotten a bit farther until the Steam headers asked for files located in the root directory of the build named Steam. I copied the steam/ folder from the steamworks/ folder into the root of the git clone and at that point I have build errors:

    Using built-in specs.
    COLLECT_GCC=g++
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c window_view.cpp -o obj-opt/window_view.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_base.cpp -o obj-opt/steam_base.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_call_result.cpp -o obj-opt/steam_call_result.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_client.cpp -o obj-opt/steam_client.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_friends.cpp -o obj-opt/steam_friends.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_ugc.cpp -o obj-opt/steam_ugc.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_user.cpp -o obj-opt/steam_user.o
    g++ -MMD -Wall -std=c++1y -Wno-sign-compare -Wno-unused-variable -Wno-shift-count-overflow -Wno-tautological-constant-out-of-range-compare -Wno-mismatched-tags -ftemplate-depth=512 -Wno-implicit-conversion-floating-point-to-bool -Wno-string-conversion -Wno-bool-conversion -ftemplate-backtrace-limit=0 -DRELEASE -O3 -DUSE_STEAMWORKS -I. -I./extern  -c steam_utils.cpp -o obj-opt/steam_utils.o
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_call_result.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_user.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_base.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    In file included from steam_internal.h:7,
                     from steam_utils.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:829:131: error: ‘SteamTVRegion_t’ does not name a type
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                   ^~~~~~~~~~~~~~~
    ./extern/steamworks/public/steam/steam_api_flat.h:829:165: error: ‘ESteamTVRegionBehavior’ has not been declared
      829 | S_API uint32 SteamAPI_ISteamTV_AddRegion( ISteamTV* self, const char * pchElementName, const char * pchTimelineDataSection, const SteamTVRegion_t * pSteamTVRegion, ESteamTVRegionBehavior eSteamTVRegionBehavior );
          |                                                                                                                                                                     ^~~~~~~~~~~~~~~~~~~~~~
    window_view.cpp:29:10: fatal error: version.h: No such file or directory
       29 | #include "version.h"
          |          ^~~~~~~~~~~
    compilation terminated.
    make[1]: *** [Makefile:142: obj-opt/window_view.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    steam_user.cpp: In member function ‘steam::UserId steam::User::id() const’:
    steam_user.cpp:14:34: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUser*’ [-fpermissive]
       14 |   return UserId(FUNC(GetSteamID)(ptr));
          |                                  ^~~
          |                                  |
          |                                  intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_user.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:62:66: note:   initializing argument 1 of ‘uint64_steamid SteamAPI_ISteamUser_GetSteamID(ISteamUser*)’
       62 | S_API uint64_steamid SteamAPI_ISteamUser_GetSteamID( ISteamUser* self );
          |                                                      ~~~~~~~~~~~~^~~~
    steam_user.cpp: In member function ‘bool steam::User::isLoggedOn() const’:
    steam_user.cpp:18:26: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUser*’ [-fpermissive]
       18 |   return FUNC(BLoggedOn)(ptr);
          |                          ^~~
          |                          |
          |                          intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_user.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:61:55: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUser_BLoggedOn(ISteamUser*)’
       61 | S_API bool SteamAPI_ISteamUser_BLoggedOn( ISteamUser* self );
          |                                           ~~~~~~~~~~~~^~~~
    steam_friends.cpp: In member function ‘std::experimental::optional<std::__cxx11::basic_string<char> > steam::Friends::Impl::updateUserName(CSteamID)’:
    steam_friends.cpp:15:46: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       15 |     string name = FUNC(GetFriendPersonaName)(ptr, userID);
          |                                              ^~~
          |                                              |
          |                                              intptr_t {aka long int}
    steam_friends.cpp:15:51: error: cannot convert ‘CSteamID’ to ‘uint64_steamid’ {aka ‘long long unsigned int’}
       15 |     string name = FUNC(GetFriendPersonaName)(ptr, userID);
          |                                                   ^~~~~~
          |                                                   |
          |                                                   CSteamID
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:101:101: note:   initializing argument 2 of ‘const char* SteamAPI_ISteamFriends_GetFriendPersonaName(ISteamFriends*, uint64_steamid)’
      101 | S_API const char * SteamAPI_ISteamFriends_GetFriendPersonaName( ISteamFriends* self, uint64_steamid steamIDFriend );
          |                                                                                      ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    steam_friends.cpp: In member function ‘int steam::Friends::count(unsigned int) const’:
    steam_friends.cpp:29:31: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       29 |   return FUNC(GetFriendCount)(ptr, flags);
          |                               ^~~
          |                               |
          |                               intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:97:65: note:   initializing argument 1 of ‘int SteamAPI_ISteamFriends_GetFriendCount(ISteamFriends*, int)’
       97 | S_API int SteamAPI_ISteamFriends_GetFriendCount( ISteamFriends* self, int iFriendFlags );
          |                                                  ~~~~~~~~~~~~~~~^~~~
    steam_call_result.cpp: In member function ‘void steam::CallResultBase::update(void*, int, int)’:
    steam_call_result.cpp:25:50: error: invalid conversion from ‘long int’ to ‘ISteamUtils*’ [-fpermissive]
       25 |     auto is_completed = FUNC(IsAPICallCompleted)(utilsPtr, handle, &failed);
          |                                                  ^~~~~~~~
          |                                                  |
          |                                                  long int
    In file included from steam_internal.h:7,
                     from steam_call_result.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:183:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUtils_IsAPICallCompleted(ISteamUtils*, SteamAPICall_t, bool*)’
      183 | S_API bool SteamAPI_ISteamUtils_IsAPICallCompleted( ISteamUtils* self, SteamAPICall_t hSteamAPICall, bool * pbFailed );
          |                                                     ~~~~~~~~~~~~~^~~~
    steam_call_result.cpp:27:44: error: invalid conversion from ‘long int’ to ‘ISteamUtils*’ [-fpermissive]
       27 |       auto result = FUNC(GetAPICallResult)(utilsPtr, handle, data, data_size, ident, &failed);
          |                                            ^~~~~~~~
          |                                            |
          |                                            long int
    In file included from steam_internal.h:7,
                     from steam_call_result.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:185:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUtils_GetAPICallResult(ISteamUtils*, SteamAPICall_t, void*, int, int, bool*)’
      185 | S_API bool SteamAPI_ISteamUtils_GetAPICallResult( ISteamUtils* self, SteamAPICall_t hSteamAPICall, void * pCallback, int cubCallback, int iCallbackExpected, bool * pbFailed );
          |                                                   ~~~~~~~~~~~~~^~~~
    steam_call_result.cpp:34:47: error: invalid conversion from ‘long int’ to ‘ISteamUtils*’ [-fpermissive]
       34 |       failure = FUNC(GetAPICallFailureReason)(utilsPtr, handle);
          |                                               ^~~~~~~~
          |                                               |
          |                                               long int
    In file included from steam_internal.h:7,
                     from steam_call_result.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:184:87: note:   initializing argument 1 of ‘ESteamAPICallFailure SteamAPI_ISteamUtils_GetAPICallFailureReason(ISteamUtils*, SteamAPICall_t)’
      184 | S_API ESteamAPICallFailure SteamAPI_ISteamUtils_GetAPICallFailureReason( ISteamUtils* self, SteamAPICall_t hSteamAPICall );
          |                                                                          ~~~~~~~~~~~~~^~~~
    steam_friends.cpp: In member function ‘vector<steam::UserId> steam::Friends::ids(unsigned int) const’:
    steam_friends.cpp:37:52: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       37 |     out.emplace_back(UserId(FUNC(GetFriendByIndex)(ptr, n, flags)));
          |                                                    ^~~
          |                                                    |
          |                                                    intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:98:78: note:   initializing argument 1 of ‘uint64_steamid SteamAPI_ISteamFriends_GetFriendByIndex(ISteamFriends*, int, int)’
       98 | S_API uint64_steamid SteamAPI_ISteamFriends_GetFriendByIndex( ISteamFriends* self, int iFriend, int iFriendFlags );
          |                                                               ~~~~~~~~~~~~~~~^~~~
    steam_friends.cpp: In member function ‘void steam::Friends::requestUserInfo(steam::UserId, bool)’:
    steam_friends.cpp:42:32: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       42 |   FUNC(RequestUserInformation)(ptr, CSteamID(userId), nameOnly);
          |                                ^~~
          |                                |
          |                                intptr_t {aka long int}
    steam_friends.cpp:42:37: error: cannot convert ‘CSteamID’ to ‘uint64_steamid’ {aka ‘long long unsigned int’}
       42 |   FUNC(RequestUserInformation)(ptr, CSteamID(userId), nameOnly);
          |                                     ^~~~~~~~~~~~~~~~
          |                                     |
          |                                     CSteamID
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:131:95: note:   initializing argument 2 of ‘bool SteamAPI_ISteamFriends_RequestUserInformation(ISteamFriends*, uint64_steamid, bool)’
      131 | S_API bool SteamAPI_ISteamFriends_RequestUserInformation( ISteamFriends* self, uint64_steamid steamIDUser, bool bRequireNameOnly );
          |                                                                                ~~~~~~~~~~~~~~~^~~~~~~~~~~
    steam_friends.cpp: In member function ‘std::string steam::Friends::name() const’:
    steam_friends.cpp:53:31: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       53 |   return FUNC(GetPersonaName)(ptr);
          |                               ^~~
          |                               |
          |                               intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:94:74: note:   initializing argument 1 of ‘const char* SteamAPI_ISteamFriends_GetPersonaName(ISteamFriends*)’
       94 | S_API const char * SteamAPI_ISteamFriends_GetPersonaName( ISteamFriends* self );
          |                                                           ~~~~~~~~~~~~~~~^~~~
    steam_friends.cpp: In member function ‘std::experimental::optional<int> steam::Friends::retrieveUserAvatar(steam::UserId, steam::AvatarSize)’:
    steam_friends.cpp:60:40: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       60 |     value = FUNC(GetSmallFriendAvatar)(ptr, steamId);
          |                                        ^~~
          |                                        |
          |                                        intptr_t {aka long int}
    steam_friends.cpp:60:45: error: cannot convert ‘CSteamID’ to ‘uint64_steamid’ {aka ‘long long unsigned int’}
       60 |     value = FUNC(GetSmallFriendAvatar)(ptr, steamId);
          |                                             ^~~~~~~
          |                                             |
          |                                             CSteamID
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:128:92: note:   initializing argument 2 of ‘int SteamAPI_ISteamFriends_GetSmallFriendAvatar(ISteamFriends*, uint64_steamid)’
      128 | S_API int SteamAPI_ISteamFriends_GetSmallFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend );
          |                                                                             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    steam_friends.cpp:62:41: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       62 |     value = FUNC(GetMediumFriendAvatar)(ptr, steamId);
          |                                         ^~~
          |                                         |
          |                                         intptr_t {aka long int}
    steam_friends.cpp:62:46: error: cannot convert ‘CSteamID’ to ‘uint64_steamid’ {aka ‘long long unsigned int’}
       62 |     value = FUNC(GetMediumFriendAvatar)(ptr, steamId);
          |                                              ^~~~~~~
          |                                              |
          |                                              CSteamID
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:129:93: note:   initializing argument 2 of ‘int SteamAPI_ISteamFriends_GetMediumFriendAvatar(ISteamFriends*, uint64_steamid)’
      129 | S_API int SteamAPI_ISteamFriends_GetMediumFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend );
          |                                                                              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    steam_friends.cpp:64:40: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamFriends*’ [-fpermissive]
       64 |     value = FUNC(GetLargeFriendAvatar)(ptr, steamId);
          |                                        ^~~
          |                                        |
          |                                        intptr_t {aka long int}
    steam_friends.cpp:64:45: error: cannot convert ‘CSteamID’ to ‘uint64_steamid’ {aka ‘long long unsigned int’}
       64 |     value = FUNC(GetLargeFriendAvatar)(ptr, steamId);
          |                                             ^~~~~~~
          |                                             |
          |                                             CSteamID
    In file included from steam_internal.h:7,
                     from steam_friends.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:130:92: note:   initializing argument 2 of ‘int SteamAPI_ISteamFriends_GetLargeFriendAvatar(ISteamFriends*, uint64_steamid)’
      130 | S_API int SteamAPI_ISteamFriends_GetLargeFriendAvatar( ISteamFriends* self, uint64_steamid steamIDFriend );
          |                                                                             ~~~~~~~~~~~~~~~^~~~~~~~~~~~~
    steam_ugc.cpp: In member function ‘int steam::UGC::numSubscribedItems() const’:
    steam_ugc.cpp:74:43: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
       74 |   return (int)FUNC(GetNumSubscribedItems)(ptr);
          |                                           ^~~
          |                                           |
          |                                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:708:67: note:   initializing argument 1 of ‘uint32 SteamAPI_ISteamUGC_GetNumSubscribedItems(ISteamUGC*)’
      708 | S_API uint32 SteamAPI_ISteamUGC_GetNumSubscribedItems( ISteamUGC* self );
          |                                                        ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘vector<steam::ItemId> steam::UGC::subscribedItems() const’:
    steam_ugc.cpp:79:43: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
       79 |   int numItems = FUNC(GetSubscribedItems)(ptr, (PublishedFileId_t*)out.data(), out.size());
          |                                           ^~~
          |                                           |
          |                                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:709:64: note:   initializing argument 1 of ‘uint32 SteamAPI_ISteamUGC_GetSubscribedItems(ISteamUGC*, PublishedFileId_t*, uint32)’
      709 | S_API uint32 SteamAPI_ISteamUGC_GetSubscribedItems( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 cMaxEntries );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘uint32_t steam::UGC::itemState(steam::ItemId) const’:
    steam_ugc.cpp:86:29: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
       86 |   return FUNC(GetItemState)(ptr, id.value);
          |                             ^~~
          |                             |
          |                             intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:710:58: note:   initializing argument 1 of ‘uint32 SteamAPI_ISteamUGC_GetItemState(ISteamUGC*, PublishedFileId_t)’
      710 | S_API uint32 SteamAPI_ISteamUGC_GetItemState( ISteamUGC* self, PublishedFileId_t nPublishedFileID );
          |                                               ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘std::experimental::optional<steam::DownloadInfo> steam::UGC::downloadInfo(steam::ItemId) const’:
    steam_ugc.cpp:99:34: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
       99 |   if (!FUNC(GetItemDownloadInfo)(ptr, id, &downloaded, &total))
          |                                  ^~~
          |                                  |
          |                                  intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:712:63: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetItemDownloadInfo(ISteamUGC*, PublishedFileId_t, uint64*, uint64*)’
      712 | S_API bool SteamAPI_ISteamUGC_GetItemDownloadInfo( ISteamUGC* self, PublishedFileId_t nPublishedFileID, uint64 * punBytesDownloaded, uint64 * punBytesTotal );
          |                                                    ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘std::experimental::optional<steam::InstallInfo> steam::UGC::installInfo(steam::ItemId) const’:
    steam_ugc.cpp:108:33: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      108 |   if (!FUNC(GetItemInstallInfo)(ptr, id, &size_on_disk, buffer, sizeof(buffer) - 1, &time_stamp))
          |                                 ^~~
          |                                 |
          |                                 intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:711:62: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetItemInstallInfo(ISteamUGC*, PublishedFileId_t, uint64*, char*, uint32, uint32*)’
      711 | S_API bool SteamAPI_ISteamUGC_GetItemInstallInfo( ISteamUGC* self, PublishedFileId_t nPublishedFileID, uint64 * punSizeOnDisk, char * pchFolder, uint32 cchFolderSize, uint32 * punTimeStamp );
          |                                                   ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘bool steam::UGC::downloadItem(steam::ItemId, bool)’:
    steam_ugc.cpp:115:29: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      115 |   return FUNC(DownloadItem)(ptr, id, highPriority);
          |                             ^~~
          |                             |
          |                             intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:713:56: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_DownloadItem(ISteamUGC*, PublishedFileId_t, bool)’
      713 | S_API bool SteamAPI_ISteamUGC_DownloadItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID, bool bHighPriority );
          |                                             ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘steam::UGC::QueryId steam::UGC::createDetailsQuery(const steam::ItemDetailsInfo&, vector<steam::ItemId>)’:
    steam_ugc.cpp:121:52: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      121 |   auto handle = FUNC(CreateQueryUGCDetailsRequest)(ptr, (PublishedFileId_t*)items.data(), items.size());
          |                                                    ^~~
          |                                                    |
          |                                                    intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:649:84: note:   initializing argument 1 of ‘UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest(ISteamUGC*, PublishedFileId_t*, uint32)’
      649 | S_API UGCQueryHandle_t SteamAPI_ISteamUGC_CreateQueryUGCDetailsRequest( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs );
          |                                                                         ~~~~~~~~~~~^~~~
    steam_ugc.cpp:127:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      127 |     FUNC(SetReturn##func)(ptr, handle, true);
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    steam_ugc.cpp:128:3: note: in expansion of macro ‘SET_VAR’
      128 |   SET_VAR(additionalPreviews, AdditionalPreviews)
          |   ^~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:670:71: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews(ISteamUGC*, UGCQueryHandle_t, bool)’
      670 | S_API bool SteamAPI_ISteamUGC_SetReturnAdditionalPreviews( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnAdditionalPreviews );
          |                                                            ~~~~~~~~~~~^~~~
    steam_ugc.cpp:127:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      127 |     FUNC(SetReturn##func)(ptr, handle, true);
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    steam_ugc.cpp:129:3: note: in expansion of macro ‘SET_VAR’
      129 |   SET_VAR(children, Children)
          |   ^~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:669:61: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnChildren(ISteamUGC*, UGCQueryHandle_t, bool)’
      669 | S_API bool SteamAPI_ISteamUGC_SetReturnChildren( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnChildren );
          |                                                  ~~~~~~~~~~~^~~~
    steam_ugc.cpp:127:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      127 |     FUNC(SetReturn##func)(ptr, handle, true);
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    steam_ugc.cpp:130:3: note: in expansion of macro ‘SET_VAR’
      130 |   SET_VAR(keyValueTags, KeyValueTags)
          |   ^~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:666:65: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnKeyValueTags(ISteamUGC*, UGCQueryHandle_t, bool)’
      666 | S_API bool SteamAPI_ISteamUGC_SetReturnKeyValueTags( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnKeyValueTags );
          |                                                      ~~~~~~~~~~~^~~~
    steam_ugc.cpp:127:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      127 |     FUNC(SetReturn##func)(ptr, handle, true);
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    steam_ugc.cpp:131:3: note: in expansion of macro ‘SET_VAR’
      131 |   SET_VAR(longDescription, LongDescription)
          |   ^~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:667:68: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnLongDescription(ISteamUGC*, UGCQueryHandle_t, bool)’
      667 | S_API bool SteamAPI_ISteamUGC_SetReturnLongDescription( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnLongDescription );
          |                                                         ~~~~~~~~~~~^~~~
    steam_ugc.cpp:127:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      127 |     FUNC(SetReturn##func)(ptr, handle, true);
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    steam_ugc.cpp:132:3: note: in expansion of macro ‘SET_VAR’
      132 |   SET_VAR(metadata, Metadata)
          |   ^~~~~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:668:61: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnMetadata(ISteamUGC*, UGCQueryHandle_t, bool)’
      668 | S_API bool SteamAPI_ISteamUGC_SetReturnMetadata( ISteamUGC* self, UGCQueryHandle_t handle, bool bReturnMetadata );
          |                                                  ~~~~~~~~~~~^~~~
    steam_ugc.cpp:135:34: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      135 |     FUNC(SetReturnPlaytimeStats)(ptr, handle, info.playtimeStatsDays);
          |                                  ^~~
          |                                  |
          |                                  intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:672:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetReturnPlaytimeStats(ISteamUGC*, UGCQueryHandle_t, uint32)’
      672 | S_API bool SteamAPI_ISteamUGC_SetReturnPlaytimeStats( ISteamUGC* self, UGCQueryHandle_t handle, uint32 unDays );
          |                                                       ~~~~~~~~~~~^~~~
    steam_ugc.cpp:137:43: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      137 |   auto callId = FUNC(SendQueryUGCRequest)(ptr, handle);
          |                                           ^~~
          |                                           |
          |                                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:650:73: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_SendQueryUGCRequest(ISteamUGC*, UGCQueryHandle_t)’
      650 | S_API SteamAPICall_t SteamAPI_ISteamUGC_SendQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle );
          |                                                              ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘steam::UGC::QueryId steam::UGC::createFindQuery(const steam::FindItemInfo&, int, vector<std::__cxx11::basic_string<char> >)’:
    steam_ugc.cpp:8:25: error: ‘SteamAPI_ISteamUGC_CreateQueryAllUGCRequest’ was not declared in this scope; did you mean ‘SteamAPI_ISteamUGC_CreateQueryAllUGCRequestPage’?
        8 | #define FUNC(name, ...) SteamAPI_ISteamUGC_##name
          |                         ^~~~~~~~~~~~~~~~~~~
    steam_ugc.cpp:149:17: note: in expansion of macro ‘FUNC’
      149 |   auto handle = FUNC(CreateQueryAllUGCRequest)(ptr, findOrderMap[info.order], match, appId, appId, pageId);
          |                 ^~~~
    steam_ugc.cpp: In member function ‘vector<steam::ItemInfo> steam::UGC::finishDetailsQuery(steam::UGC::QueryId)’:
    steam_ugc.cpp:211:42: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      211 |       auto ret = FUNC(GetQueryUGCResult)(ptr, query.handle, n, &details);
          |                                          ^~~
          |                                          |
          |                                          intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:651:61: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCResult(ISteamUGC*, UGCQueryHandle_t, uint32, SteamUGCDetails_t*)’
      651 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCResult( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails );
          |                                                  ~~~~~~~~~~~^~~~
    steam_ugc.cpp:231:59: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      231 |         int count = (int)FUNC(GetQueryUGCNumKeyValueTags)(ptr, query.handle, n);
          |                                                           ^~~
          |                                                           |
          |                                                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:658:72: note:   initializing argument 1 of ‘uint32 SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags(ISteamUGC*, UGCQueryHandle_t, uint32)’
      658 | S_API uint32 SteamAPI_ISteamUGC_GetQueryUGCNumKeyValueTags( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index );
          |                                                             ~~~~~~~~~~~^~~~
    steam_ugc.cpp:235:51: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      235 |           auto ret = FUNC(GetQueryUGCKeyValueTag)(ptr, query.handle, n, i, buf1, bufSize, buf2, bufSize);
          |                                                   ^~~
          |                                                   |
          |                                                   intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:659:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag(ISteamUGC*, UGCQueryHandle_t, uint32, uint32, char*, uint32, char*, uint32)’
      659 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCKeyValueTag( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, uint32 keyValueTagIndex, char * pchKey, uint32 cchKeySize, char * pchValue, uint32 cchValueSize );
          |                                                       ~~~~~~~~~~~^~~~
    steam_ugc.cpp:243:49: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      243 |         auto result = FUNC(GetQueryUGCMetadata)(ptr, query.handle, n, buffer, bufSize);
          |                                                 ^~~
          |                                                 |
          |                                                 intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:653:63: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCMetadata(ISteamUGC*, UGCQueryHandle_t, uint32, char*, uint32)’
      653 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCMetadata( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, char * pchMetadata, uint32 cchMetadatasize );
          |                                                    ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:254:9: note: in expansion of macro ‘STAT’
      254 |         STAT(subscriptions, NumSubscriptions)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:255:9: note: in expansion of macro ‘STAT’
      255 |         STAT(favorites, NumFavorites)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:256:9: note: in expansion of macro ‘STAT’
      256 |         STAT(followers, NumFollowers)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:257:9: note: in expansion of macro ‘STAT’
      257 |         STAT(uniqueSubscriptions, NumUniqueSubscriptions)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:258:9: note: in expansion of macro ‘STAT’
      258 |         STAT(uniqueFavorites, NumUniqueFavorites)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:259:9: note: in expansion of macro ‘STAT’
      259 |         STAT(uniqueFollowers, NumUniqueFollowers)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:260:9: note: in expansion of macro ‘STAT’
      260 |         STAT(uniqueWebsiteViews, NumUniqueWebsiteViews)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:261:9: note: in expansion of macro ‘STAT’
      261 |         STAT(reportScore, ReportScore)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:262:9: note: in expansion of macro ‘STAT’
      262 |         STAT(secondsPlayed, NumSecondsPlayed)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:263:9: note: in expansion of macro ‘STAT’
      263 |         STAT(playtimeSessions, NumPlaytimeSessions)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:264:9: note: in expansion of macro ‘STAT’
      264 |         STAT(comments, NumComments)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:265:9: note: in expansion of macro ‘STAT’
      265 |         STAT(secondsPlayedDuringTimePeriod, NumSecondsPlayedDuringTimePeriod)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:253:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      253 |   FUNC(GetQueryUGCStatistic)(ptr, query.handle, n, k_EItemStatistic_##enum_name, &stats.name);
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    steam_ugc.cpp:266:9: note: in expansion of macro ‘STAT’
      266 |         STAT(playtimeSessionsDuringTimePeriod, NumPlaytimeSessionsDuringTimePeriod)
          |         ^~~~
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:655:64: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCStatistic(ISteamUGC*, UGCQueryHandle_t, uint32, EItemStatistic, uint64*)’
      655 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCStatistic( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, EItemStatistic eStatType, uint64 * pStatValue );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp:275:32: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      275 |   FUNC(ReleaseQueryUGCRequest)(ptr, query.handle);
          |                                ^~~
          |                                |
          |                                intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:661:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ISteamUGC*, UGCQueryHandle_t)’
      661 | S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle );
          |                                                       ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘vector<steam::ItemId> steam::UGC::finishFindQuery(steam::UGC::QueryId)’:
    steam_ugc.cpp:291:42: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      291 |       auto ret = FUNC(GetQueryUGCResult)(ptr, query.handle, n, &details);
          |                                          ^~~
          |                                          |
          |                                          intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:651:61: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_GetQueryUGCResult(ISteamUGC*, UGCQueryHandle_t, uint32, SteamUGCDetails_t*)’
      651 | S_API bool SteamAPI_ISteamUGC_GetQueryUGCResult( ISteamUGC* self, UGCQueryHandle_t handle, uint32 index, SteamUGCDetails_t * pDetails );
          |                                                  ~~~~~~~~~~~^~~~
    steam_ugc.cpp:297:32: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      297 |   FUNC(ReleaseQueryUGCRequest)(ptr, query.handle);
          |                                ^~~
          |                                |
          |                                intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:661:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ISteamUGC*, UGCQueryHandle_t)’
      661 | S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle );
          |                                                       ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘void steam::UGC::finishQuery(steam::UGC::QueryId)’:
    steam_ugc.cpp:305:32: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      305 |   FUNC(ReleaseQueryUGCRequest)(ptr, query.handle);
          |                                ^~~
          |                                |
          |                                intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:661:66: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest(ISteamUGC*, UGCQueryHandle_t)’
      661 | S_API bool SteamAPI_ISteamUGC_ReleaseQueryUGCRequest( ISteamUGC* self, UGCQueryHandle_t handle );
          |                                                       ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘void steam::UGC::beginUpdateItem(const steam::UpdateItemInfo&)’:
    steam_ugc.cpp:314:41: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      314 |     auto handle = FUNC(StartItemUpdate)(ptr, appId, *info.id);
          |                                         ^~~
          |                                         |
          |                                         intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:682:72: note:   initializing argument 1 of ‘UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate(ISteamUGC*, AppId_t, PublishedFileId_t)’
      682 | S_API UGCUpdateHandle_t SteamAPI_ISteamUGC_StartItemUpdate( ISteamUGC* self, AppId_t nConsumerAppId, PublishedFileId_t nPublishedFileID );
          |                                                             ~~~~~~~~~~~^~~~
    steam_ugc.cpp:318:26: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      318 |       FUNC(SetItemTitle)(ptr, handle, info.title->c_str());
          |                          ^~~
          |                          |
          |                          intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:683:56: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemTitle(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      683 | S_API bool SteamAPI_ISteamUGC_SetItemTitle( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchTitle );
          |                                             ~~~~~~~~~~~^~~~
    steam_ugc.cpp:320:32: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      320 |       FUNC(SetItemDescription)(ptr, handle, info.description->c_str());
          |                                ^~~
          |                                |
          |                                intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:684:62: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemDescription(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      684 | S_API bool SteamAPI_ISteamUGC_SetItemDescription( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchDescription );
          |                                                   ~~~~~~~~~~~^~~~
    steam_ugc.cpp:322:28: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      322 |       FUNC(SetItemContent)(ptr, handle, info.folder->c_str());
          |                            ^~~
          |                            |
          |                            intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:689:58: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemContent(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      689 | S_API bool SteamAPI_ISteamUGC_SetItemContent( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszContentFolder );
          |                                               ~~~~~~~~~~~^~~~
    steam_ugc.cpp:324:28: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      324 |       FUNC(SetItemPreview)(ptr, handle, info.previewFile->c_str());
          |                            ^~~
          |                            |
          |                            intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:690:58: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemPreview(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      690 | S_API bool SteamAPI_ISteamUGC_SetItemPreview( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pszPreviewFile );
          |                                               ~~~~~~~~~~~^~~~
    steam_ugc.cpp:327:31: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      327 |       FUNC(SetItemVisibility)(ptr, handle, itemVisibilityMap[*info.visibility]);
          |                               ^~~
          |                               |
          |                               intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:687:61: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemVisibility(ISteamUGC*, UGCUpdateHandle_t, ERemoteStoragePublishedFileVisibility)’
      687 | S_API bool SteamAPI_ISteamUGC_SetItemVisibility( ISteamUGC* self, UGCUpdateHandle_t handle, ERemoteStoragePublishedFileVisibility eVisibility );
          |                                                  ~~~~~~~~~~~^~~~
    steam_ugc.cpp:335:49: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      335 |       auto ret = SteamAPI_ISteamUGC_SetItemTags(ptr, handle, &strings);
          |                                                 ^~~
          |                                                 |
          |                                                 intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:688:55: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemTags(ISteamUGC*, UGCUpdateHandle_t, const SteamParamStringArray_t*)’
      688 | S_API bool SteamAPI_ISteamUGC_SetItemTags( ISteamUGC* self, UGCUpdateHandle_t updateHandle, const SteamParamStringArray_t * pTags );
          |                                            ~~~~~~~~~~~^~~~
    steam_ugc.cpp:341:45: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      341 |         auto ret = FUNC(AddItemKeyValueTag)(ptr, handle, pair.first.c_str(), pair.second.c_str());
          |                                             ^~~
          |                                             |
          |                                             intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:694:62: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_AddItemKeyValueTag(ISteamUGC*, UGCUpdateHandle_t, const char*, const char*)’
      694 | S_API bool SteamAPI_ISteamUGC_AddItemKeyValueTag( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchKey, const char * pchValue );
          |                                                   ~~~~~~~~~~~^~~~
    steam_ugc.cpp:345:40: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      345 |       auto ret = FUNC(SetItemMetadata)(ptr, handle, info.metadata->c_str());
          |                                        ^~~
          |                                        |
          |                                        intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:686:59: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUGC_SetItemMetadata(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      686 | S_API bool SteamAPI_ISteamUGC_SetItemMetadata( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchMetaData );
          |                                                ~~~~~~~~~~~^~~~
    steam_ugc.cpp:349:47: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      349 |     impl->updateItem = FUNC(SubmitItemUpdate)(ptr, handle, nullptr);
          |                                               ^~~
          |                                               |
          |                                               intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:700:70: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate(ISteamUGC*, UGCUpdateHandle_t, const char*)’
      700 | S_API SteamAPICall_t SteamAPI_ISteamUGC_SubmitItemUpdate( ISteamUGC* self, UGCUpdateHandle_t handle, const char * pchChangeNote );
          |                                                           ~~~~~~~~~~~^~~~
    steam_ugc.cpp:351:41: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      351 |     impl->createItem = FUNC(CreateItem)(ptr, appId, k_EWorkshopFileTypeCommunity);
          |                                         ^~~
          |                                         |
          |                                         intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:681:64: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_CreateItem(ISteamUGC*, AppId_t, EWorkshopFileType)’
      681 | S_API SteamAPICall_t SteamAPI_ISteamUGC_CreateItem( ISteamUGC* self, AppId_t nConsumerAppId, EWorkshopFileType eFileType );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘std::experimental::optional<steam::UpdateItemResult> steam::UGC::tryUpdateItem(ProgressMeter&)’:
    steam_ugc.cpp:378:44: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      378 |     auto res = FUNC(GetItemUpdateProgress)(ptr, *impl->updateHandle, &downloaded, &total);
          |                                            ^~~
          |                                            |
          |                                            intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:701:78: note:   initializing argument 1 of ‘EItemUpdateStatus SteamAPI_ISteamUGC_GetItemUpdateProgress(ISteamUGC*, UGCUpdateHandle_t, uint64*, uint64*)’
      701 | S_API EItemUpdateStatus SteamAPI_ISteamUGC_GetItemUpdateProgress( ISteamUGC* self, UGCUpdateHandle_t handle, uint64 * punBytesProcessed, uint64 * punBytesTotal );
          |                                                                   ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘void steam::UGC::deleteItem(steam::ItemId)’:
    steam_ugc.cpp:408:20: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      408 |   FUNC(DeleteItem)(ptr, id);
          |                    ^~~
          |                    |
          |                    intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:724:64: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_DeleteItem(ISteamUGC*, PublishedFileId_t)’
      724 | S_API SteamAPICall_t SteamAPI_ISteamUGC_DeleteItem( ISteamUGC* self, PublishedFileId_t nPublishedFileID );
          |                                                     ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘void steam::UGC::startPlaytimeTracking(const vector<steam::ItemId>&)’:
    steam_ugc.cpp:413:31: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      413 |   FUNC(StartPlaytimeTracking)(ptr, (PublishedFileId_t*)ids.data(), (unsigned)ids.size());
          |                               ^~~
          |                               |
          |                               intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:716:75: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_StartPlaytimeTracking(ISteamUGC*, PublishedFileId_t*, uint32)’
      716 | S_API SteamAPICall_t SteamAPI_ISteamUGC_StartPlaytimeTracking( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs );
          |                                                                ~~~~~~~~~~~^~~~
    steam_ugc.cpp: In member function ‘void steam::UGC::stopPlaytimeTracking(const vector<steam::ItemId>&)’:
    steam_ugc.cpp:418:30: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUGC*’ [-fpermissive]
      418 |   FUNC(StopPlaytimeTracking)(ptr, (PublishedFileId_t*)ids.data(), (unsigned)ids.size());
          |                              ^~~
          |                              |
          |                              intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_ugc.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:717:74: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTracking(ISteamUGC*, PublishedFileId_t*, uint32)’
      717 | S_API SteamAPICall_t SteamAPI_ISteamUGC_StopPlaytimeTracking( ISteamUGC* self, PublishedFileId_t * pvecPublishedFileID, uint32 unNumPublishedFileIDs );
          |                                                               ~~~~~~~~~~~^~~~
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_user.o] Error 1
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_call_result.o] Error 1
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_friends.o] Error 1
    steam_utils.cpp: In member function ‘std::pair<int, int> steam::Utils::imageSize(int) const’:
    steam_utils.cpp:15:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUtils*’ [-fpermissive]
       15 |   if (!FUNC(GetImageSize)(ptr, image_id, &w, &h))
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_utils.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:177:60: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUtils_GetImageSize(ISteamUtils*, int, uint32*, uint32*)’
      177 | S_API bool SteamAPI_ISteamUtils_GetImageSize( ISteamUtils* self, int iImage, uint32 * pnWidth, uint32 * pnHeight );
          |                                               ~~~~~~~~~~~~~^~~~
    steam_utils.cpp: In member function ‘vector<unsigned char> steam::Utils::imageData(int) const’:
    steam_utils.cpp:23:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUtils*’ [-fpermissive]
       23 |   if (!FUNC(GetImageRGBA)(ptr, image_id, out.data(), out.size()))
          |                           ^~~
          |                           |
          |                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_utils.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:178:60: note:   initializing argument 1 of ‘bool SteamAPI_ISteamUtils_GetImageRGBA(ISteamUtils*, int, uint8*, int)’
      178 | S_API bool SteamAPI_ISteamUtils_GetImageRGBA( ISteamUtils* self, int iImage, uint8 * pubDest, int nDestBufferSize );
          |                                               ~~~~~~~~~~~~~^~~~
    steam_utils.cpp: In member function ‘unsigned int steam::Utils::appId() const’:
    steam_utils.cpp:28:25: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUtils*’ [-fpermissive]
       28 |   return FUNC(GetAppID)(ptr);
          |                         ^~~
          |                         |
          |                         intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_utils.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:181:58: note:   initializing argument 1 of ‘uint32 SteamAPI_ISteamUtils_GetAppID(ISteamUtils*)’
      181 | S_API uint32 SteamAPI_ISteamUtils_GetAppID( ISteamUtils* self );
          |                                             ~~~~~~~~~~~~~^~~~
    steam_client.cpp: In constructor ‘steam::Client::Ifaces::Ifaces(intptr_t, HSteamPipe, HSteamUser)’:
    steam_client.cpp:20:54: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       20 |       : userStats((intptr_t)FUNC(GetISteamUserStats)(client, userHandle, pipeHandle, STEAMUSERSTATS_INTERFACE_VERSION)),
          |                                                      ^~~~~~
          |                                                      |
          |                                                      intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:34:81: note:   initializing argument 1 of ‘ISteamUserStats* SteamAPI_ISteamClient_GetISteamUserStats(ISteamClient*, HSteamUser, HSteamPipe, const char*)’
       34 | S_API ISteamUserStats * SteamAPI_ISteamClient_GetISteamUserStats( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion );
          |                                                                   ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:21:50: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       21 |         friends((intptr_t)FUNC(GetISteamFriends)(client, userHandle, pipeHandle, STEAMFRIENDS_INTERFACE_VERSION)),
          |                                                  ^~~~~~
          |                                                  |
          |                                                  intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:29:77: note:   initializing argument 1 of ‘ISteamFriends* SteamAPI_ISteamClient_GetISteamFriends(ISteamClient*, HSteamUser, HSteamPipe, const char*)’
       29 | S_API ISteamFriends * SteamAPI_ISteamClient_GetISteamFriends( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion );
          |                                                               ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:22:44: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       22 |         user((intptr_t)FUNC(GetISteamUser)(client, userHandle, pipeHandle, STEAMUSER_INTERFACE_VERSION)),
          |                                            ^~~~~~
          |                                            |
          |                                            intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:26:71: note:   initializing argument 1 of ‘ISteamUser* SteamAPI_ISteamClient_GetISteamUser(ISteamClient*, HSteamUser, HSteamPipe, const char*)’
       26 | S_API ISteamUser * SteamAPI_ISteamClient_GetISteamUser( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion );
          |                                                         ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:23:42: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       23 |         ugc((intptr_t)FUNC(GetISteamUGC)(client, userHandle, pipeHandle, STEAMUGC_INTERFACE_VERSION)),
          |                                          ^~~~~~
          |                                          |
          |                                          intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:46:69: note:   initializing argument 1 of ‘ISteamUGC* SteamAPI_ISteamClient_GetISteamUGC(ISteamClient*, HSteamUser, HSteamPipe, const char*)’
       46 | S_API ISteamUGC * SteamAPI_ISteamClient_GetISteamUGC( ISteamClient* self, HSteamUser hSteamUser, HSteamPipe hSteamPipe, const char * pchVersion );
          |                                                       ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:24:46: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       24 |         utils((intptr_t)FUNC(GetISteamUtils)(client, pipeHandle, STEAMUTILS_INTERFACE_VERSION)) {
          |                                              ^~~~~~
          |                                              |
          |                                              intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:30:73: note:   initializing argument 1 of ‘ISteamUtils* SteamAPI_ISteamClient_GetISteamUtils(ISteamClient*, HSteamPipe, const char*)’
       30 | S_API ISteamUtils * SteamAPI_ISteamClient_GetISteamUtils( ISteamClient* self, HSteamPipe hSteamPipe, const char * pchVersion );
          |                                                           ~~~~~~~~~~~~~~^~~~
    steam_client.cpp: In constructor ‘steam::Client::Client()’:
    steam_client.cpp:70:43: error: invalid conversion from ‘long int’ to ‘ISteamClient*’ [-fpermissive]
       70 |   auto pipeHandle = FUNC(CreateSteamPipe)(client);
          |                                           ^~~~~~
          |                                           |
          |                                           long int
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:21:71: note:   initializing argument 1 of ‘HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe(ISteamClient*)’
       21 | S_API HSteamPipe SteamAPI_ISteamClient_CreateSteamPipe( ISteamClient* self );
          |                                                         ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:71:47: error: invalid conversion from ‘long int’ to ‘ISteamClient*’ [-fpermissive]
       71 |   auto userHandle = FUNC(ConnectToGlobalUser)(client, pipeHandle);
          |                                               ^~~~~~
          |                                               |
          |                                               long int
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:23:75: note:   initializing argument 1 of ‘HSteamUser SteamAPI_ISteamClient_ConnectToGlobalUser(ISteamClient*, HSteamPipe)’
       23 | S_API HSteamUser SteamAPI_ISteamClient_ConnectToGlobalUser( ISteamClient* self, HSteamPipe hSteamPipe );
          |                                                             ~~~~~~~~~~~~~~^~~~
    steam_client.cpp: In destructor ‘steam::Client::~Client()’:
    steam_client.cpp:78:27: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       78 |   FUNC(ReleaseUser)(impl->client, impl->pipeHandle, impl->userHandle);
          |                     ~~~~~~^~~~~~
          |                           |
          |                           intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:25:61: note:   initializing argument 1 of ‘void SteamAPI_ISteamClient_ReleaseUser(ISteamClient*, HSteamPipe, HSteamUser)’
       25 | S_API void SteamAPI_ISteamClient_ReleaseUser( ISteamClient* self, HSteamPipe hSteamPipe, HSteamUser hUser );
          |                                               ~~~~~~~~~~~~~~^~~~
    steam_client.cpp:79:33: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamClient*’ [-fpermissive]
       79 |   FUNC(BReleaseSteamPipe)(impl->client, impl->pipeHandle);
          |                           ~~~~~~^~~~~~
          |                                 |
          |                                 intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:22:67: note:   initializing argument 1 of ‘bool SteamAPI_ISteamClient_BReleaseSteamPipe(ISteamClient*, HSteamPipe)’
       22 | S_API bool SteamAPI_ISteamClient_BReleaseSteamPipe( ISteamClient* self, HSteamPipe hSteamPipe );
          |                                                     ~~~~~~~~~~~~~~^~~~
    steam_client.cpp: In member function ‘std::experimental::optional<int> steam::Client::numberOfCurrentPlayers()’:
    steam_client.cpp:99:61: error: invalid conversion from ‘intptr_t’ {aka ‘long int’} to ‘ISteamUserStats*’ [-fpermissive]
       99 |     impl->nocp = US_FUNC(GetNumberOfCurrentPlayers)(ifaces->userStats);
          |                                                     ~~~~~~~~^~~~~~~~~
          |                                                             |
          |                                                             intptr_t {aka long int}
    In file included from steam_internal.h:7,
                     from steam_client.cpp:1:
    ./extern/steamworks/public/steam/steam_api_flat.h:411:91: note:   initializing argument 1 of ‘SteamAPICall_t SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers(ISteamUserStats*)’
      411 | S_API SteamAPICall_t SteamAPI_ISteamUserStats_GetNumberOfCurrentPlayers( ISteamUserStats* self );
          |                                                                          ~~~~~~~~~~~~~~~~~^~~~
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_utils.o] Error 1
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_ugc.o] Error 1
    At global scope:
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_client.o] Error 1
    cc1plus: warning: unrecognized command line option ‘-Wno-bool-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-string-conversion’
    cc1plus: warning: unrecognized command line option ‘-Wno-implicit-conversion-floating-point-to-bool’
    cc1plus: warning: unrecognized command line option ‘-Wno-mismatched-tags’
    cc1plus: warning: unrecognized command line option ‘-Wno-tautological-constant-out-of-range-compare’
    make[1]: *** [Makefile:142: obj-opt/steam_base.o] Error 1
    make: *** [Makefile:129: all] Error 2

    I am very interested in getting KeeperRL on my Chromebook and having a copy to go. Any help would be appreciated.

    #11086

    Hi, sorry for the late reply. Try editing the Makefile and setting STEAMWORKS to false.

    #11151

    Mr.Hales
    Participant

    Hello. I have been distracted, or busy, or both. Either way, after much trial and error, I am back with more problems.

    I fiddled with the Makefile until I got the compilation I wanted but, unfortunately, I’ve run up against immintrin.h.

    As the compiler and linker were set inside the Makefile I had to first edit that to call the correct software but did not at first realize there was a g++ version of the cross compiler and could not understand the errors I was getting. I’m such a newb at cross compiling that I was not even at newbie level and my questions were so basic that I had trouble finding answers to such “obvious” problems.

    On to immintrin.h. I understand this to be specifically for x86 processors which, of course, is not my target. I have done much googling and I think that arm-neon.h might be a possible replacement, but I am unsure how exactly to do that. I see that I can build SDL with arm-neon optimizations, but wonder about installing a custom library alongside the stock version.

    I could again use some advice.

    Thank you for your time and wonderful game.

    #11166

    Sorry, I don’t know how to help you with that. I haven’t ever cross compiled for chromebooks. KeeperRL doesn’t use immintrin.h directly. Maybe try cross-compiling an example SDL project first and see if that gives you the same error?

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.