Coder Social home page Coder Social logo

Cannot run WIndows build about q HOT 4 OPEN

sryze avatar sryze commented on May 25, 2024
Cannot run WIndows build

from q.

Comments (4)

harelba avatar harelba commented on May 25, 2024

The windows build also uses static linking, so this is very odd.

Can you send some details about your windows? Perhaps it will provide a clue as to why it's not working.

from q.

sryze avatar sryze commented on May 25, 2024

Windows 10 x64
Version of q: 3.1.6

It looks like python38.dll was dynamically linked:

image

from q.

sryze avatar sryze commented on May 25, 2024

Accoding to https://pyoxidizer.readthedocs.io/en/stable/pyoxidizer_packaging_static_linking.html#building-statically-linked-binaries-on-windows to produce a statically linked .exe on Windows, it's necessary to add flavor="standalone_static" to this line in pyoxidizer.bzl:

dist = default_python_distribution(python_version=PYTHON_VERSION)

I just tried this and it appears to indeed link with Python statically.

image

The executable is huge though.... about 50 MB now vs 34 MB before.

from q.

harelba avatar harelba commented on May 25, 2024

yes, i remember now... There was an issue with github actions' Windows support which prevent this from working well.

Perhaps now github actions improved their support for this. I'll take a look.

Thanks a lot for checking this out.

from q.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.