Git Product home page Git Product logo

Comments (5)

Tyroonis avatar Tyroonis commented on June 12, 2024 1

I had built the "old" bridge with Windows in MinGW.

Here my Build Workflow:

name: Build

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: windows-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2
      with:
        submodules: 'recursive'

    - name: Set up Mingw
      uses: msys2/setup-msys2@v2
      with:
        update: true
        mingw_arch: x86_64

    - name: Build
      run: |
        cmake -G "MinGW Makefiles" -B build -DCMAKE_BUILD_TYPE=Release -DPCBRIDGE_BUILD_EXECUTABLE=OFF
        cmake --build build

   - name: Upload artifacts
      uses: actions/upload-artifact@v2
      with:
        name: .dll
        path: |
          build/libphoenix-csharp-bridge.dll

from phoenix-shared-interface.

lmichaelis avatar lmichaelis commented on June 12, 2024

Hm it might have something to do with missing VCRedist on your end. That should not be something you have to install though so I'm with you on statically linking MSVC here. But I'm not sure how to do it. I found https://stackoverflow.com/a/55460238 but it doesn't seem to work correctly.

from phoenix-shared-interface.

lmichaelis avatar lmichaelis commented on June 12, 2024

@JaXt0r, I switched it to a modified version of @Tyroonis' job. Can you try this one: https://github.com/GothicKit/phoenix-shared-interface/actions/runs/4691172393 ?

from phoenix-shared-interface.

JaXt0r avatar JaXt0r commented on June 12, 2024

The built libphoenix-shared.dll works perfectly fine. Thank you @lmichaelis @Tyroonis

There's just one last warning on the build page itself:
image

from phoenix-shared-interface.

JaXt0r avatar JaXt0r commented on June 12, 2024

Error is gone and DLL still works. Thanks. :-)

from phoenix-shared-interface.

Related Issues (9)

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.