philippj / SteamworksPy

A working Python API system for Valve's Steamworks.
MIT License
212 stars 39 forks source link

Problem to build windows 10 #90

Closed MRCardoso closed 1 year ago

MRCardoso commented 1 year ago

Hi, I'm trying to generate the DLL file for Windows, following the doc, but the below error runs

library\sdk\steam\steam_api_internal.h(14): fatal error C1034: string.h: no include path set

running the cmd `cl /D_USRDLL /D_WINDLL SteamworksPy.cpp steam_api64.lib /link /DLL /OUT:SteamworksPy64.dll"``

I'm tried to use the generated file redist/windows/SteamworksPy64.dll, but when load by CDLL, the follow error comes:

NotADirectoryError: [WinError 267] The directory name is invalid

I'm using Python 3.7 with game engine (upbge 0.2.5)

MRCardoso commented 1 year ago

Fixed, just muxed in upbge base dir, the steam_api64.dll/lib