stride3d / stride

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
https://stride3d.net
MIT License
6.83k stars 982 forks source link

Cross-platform build for Xenko projects #360

Open xen2 opened 6 years ago

xen2 commented 6 years ago

Idea is to be able to build Xenko projects (incl. asset compilation) on Linux/macOS.

Some important steps:

This is a necessary step before cross-platform editor

Kryptos-FR commented 6 years ago

Convert projects to .NET Core

.NET Standard should be enough for some of them, see my early attempts in https://github.com/Kryptos-FR/Avalonia.GameStudio

xen2 commented 6 years ago

@Kryptos-FR yes sorry that's what I meant, editing

dfkeenan commented 6 years ago

That "cross-platform editor" link doesn't seem to go anywhere.

SleepyMode commented 6 years ago

That "cross-platform editor" link doesn't seem to go anywhere.

It's a link to another issue.

8

xen2 commented 6 years ago

Yes my bad, it was broken before (I tried [cross-platform editor](#8) but it made a link on same page with #8 in URL). Fixed it a few days ago.

xen2 commented 5 years ago

More detailed steps/progress for .NET Core 3

Runtime

Compiler tools (.NET Core 3 on Windows)

Compiler tools (multiplatform)

Game Studio (.NET Core 3.0 on Windows)

Kryptos-FR commented 5 years ago

About QuickGraph, did you see that there is already a fork on GitHub that has still some development getting done? https://github.com/YaccConstructor/QuickGraph

xen2 commented 5 years ago

@Kryptos-FR Yes I was hesitating but didn't want to run into regressions for GraphX and our code. Also I was hoping GraphX might consider a PR so thought staying with something close to official QuickGraph might help. Anyway, fine to switch to that version if it works well.

Kryptos-FR commented 5 years ago

@xen2 Makes sense. I was just wondering if forking their repo and starting from their initial releases (e.g. nuget https://www.nuget.org/packages/YC.QuickGraph/3.7.1) could work.

Might be safer to start from something closer to what we have currently though.

meriaizen86 commented 5 years ago

Xceed now supports .Net Core 3.0.

https://xceed.com/release-notes/

makotech222 commented 5 years ago

@meriaizen86 As discussed in the discord, they removed their datagrid component from the Free version, so we will have to replace the datagrid component with something else anyways.

Kryptos-FR commented 5 years ago

@meriaizen86 They might very well support .Net Core but it is still Windows-only. Xceed is and remains a WPF "extension", so it won't magically support other platforms.

Jklawreszuk commented 8 months ago

For those interested, it is possible to build mostly all Stride packages (except Tests and Editor) on Linux result of dotnet build Stride.Runtime.sln image

Jklawreszuk commented 3 months ago

Since 4.2.0.2267 it is possible to build your game on Linux 💟 Please keep in mind that It still may have some issues, so should be treated as in preview/beta.

If anyone is interested in supporting macOS you can follow my PR's for inspiration

bruno-garcia commented 3 months ago

After I installed lld on my Mac (brew install lld), I was able to run dotnet build Stride.Runtime.sln:

Build succeeded with 1280 warning(s) in 21.3s

GothGirl-Gaming commented 1 month ago

hi, i was hoping this issue was still up for grabs to debug. @stride3d/@stride-contributors