Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add win32 compile/linking support for python bindings #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mglinski
Copy link

I was able to get this building reliably on my Win 10 x64 system with the proper Windows SDKs installed.

The main problem that I had was making sure the local build was refrencing the correct .lib and .h files from building UDBServer and then defining the correct win32 lib imports for the linker to not throw errors.

I do not know if this will build/link on other supported platforms, but my changes are designed to only be applied on windows platforms.

Some details about my system are below.

Edition:  Windows 10
Version:  22H2
OS build: 19045.2965

SDK Url: https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/

@bet4it
Copy link
Owner

bet4it commented Jun 16, 2023

I have done it in #4 😅
You can download it from https://github.com/wtdcode/udbserver/suites/13288518790/artifacts/725248477, except you need to tweak __init__.py to make it work on Windows.

@paulgrassler
Copy link

paulgrassler commented Aug 7, 2023

Hey,
I know this is typically not the place for questions like these but I was hoping since @mglinski got the build working on Windows that he would have some additional insides on my problem. Please have a look, would help me a lot: #13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants