Comments (5)
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.
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.
@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.
The built libphoenix-shared.dll works perfectly fine. Thank you @lmichaelis @Tyroonis
There's just one last warning on the build page itself:
from phoenix-shared-interface.
Error is gone and DLL still works. Thanks. :-)
from phoenix-shared-interface.
Related Issues (9)
- Win64 dll compilation won't work on fresh installation of Windows 11
- .dylib for MacOS seems to have a deprecated build target HOT 1
- clang-lint for PRs isn't checking header files
- Model for object element not loadable (mesh is empty) HOT 6
- Export function to get uncompressed Textures. HOT 2
- Tests are failing HOT 1
- pxVmStackPopInstance() from VM returns nullptr (0x0) HOT 3
- VM: Resetting pxVmSetGlobalSelf() after a pxVmCallFunction() call throws memory exceptin HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phoenix-shared-interface.