Code Monkey home page Code Monkey logo

Comments (4)

kubkon avatar kubkon commented on June 12, 2024 1

MacOS finally works! Thanks @kubkon

Anytime! If you bump into linker bugs, feel free to tag me in - I'll be more than happy to have a look!

from qml_zig.

kassane avatar kassane commented on June 12, 2024

At the moment the Zig compiler demonstrates incompatibility on the i686 architecture resulting in a error during library linking.
Update: The environment is x86_64 and zig has compiled the x86_64 (target: native-windows-gnu 👈 ) examples and the x86 library. 😕

MSYS i686 (x86)

lld-link: error: undefined symbol: dos_qguiapplication_create
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qqmlapplicationengine_create
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qurl_create
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qqmlapplicationengine_load_url
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qguiapplication_exec
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qqmlapplicationengine_delete
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)

lld-link: error: undefined symbol: dos_qguiapplication_quit
>>> referenced by C:\_\zig-cache\o\b6a92afc700a5d24fecee4afa2284abd\Animated.o:(.weak.main.default..refptr.__stack_chk_guard)
error: LLDReportedFailure

from qml_zig.

kassane avatar kassane commented on June 12, 2024

MSYS fixed!

- name: Build & Tests (x86)
shell: msys2 {0}
if: ${{ matrix.arch == 'i686' }}
run: |
cd /C/_
zig build -Drelease-safe -Dtarget=i386-windows-gnu
- name: Build & Tests (x86_x64)
shell: msys2 {0}
if: ${{ matrix.arch == 'x86_64' }}
run: |
cd /C/_
zig build -Drelease-safe -Dtarget=x86_64-windows-gnu

from qml_zig.

kassane avatar kassane commented on June 12, 2024

MacOS finally works! Thanks @kubkon

from qml_zig.

Related Issues (4)

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.