EvergineTeam / Feedback

Feedback, feature requests, and bug reports for Evergine.
https://evergine.com
14 stars 1 forks source link

Expected to work on Linux? #40

Closed ptupitsyn closed 3 years ago

ptupitsyn commented 3 years ago

Hi,

Looking at the diagram in the blog post, I expected the samples to run on Linux:

what we are building

I have .NET 5 and SDL 2 installed, and I can build the source code, but it fails on startup:

/usr/share/dotnet/dotnet /home/pavel/w/tests/LowLevelAPIDemo/src/LowLevelAPI/DrawTriangle/bin/Debug/net5.0/DrawTriangle.dll
Unhandled exception. System.DllNotFoundException: Unable to load shared library 'dxgi.dll' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libdxgi.dll: cannot open shared object file: No such file or directory
   at SharpDX.DXGI.DXGI.CreateDXGIFactory2_(Int32 param0, Void* param1, Void* param2)
   at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)
   at SharpDX.DXGI.Factory2..ctor(Boolean debug)
   at WaveEngine.DirectX11.DX11GraphicsContext.CreateDeviceInternal()
   at WaveEngine.Common.Graphics.GraphicsContext.CreateDevice(ValidationLayer validationLayer)
   at Common.VisualTestDefinition.CreateGraphicsContext(Nullable`1 swapChainDescriptor, Nullable`1 prefferedBackend) in /home/pavel/w/tests/LowLevelAPIDemo/src/LowLevelAPI/Common/VisualTestDefinition.cs:line 91
   at DrawTriangle.Program.Main() in /home/pavel/w/tests/LowLevelAPIDemo/src/LowLevelAPI/DrawTriangle/Program.cs:line 34

Process finished with exit code 134.

SharpDX is Windows-only, obviously - am I doing something wrong? Is Linux support coming later?

Thanks!

jeangit commented 3 years ago

SharpDX is a wrapper for directX, so obviously no linux here (http://sharpdx.org/). Moreover, it is deprecated. On the sharpdx website, they say « NOTE: As of 29 Mar 2019, SharpDX is no longer being under development or maintenance ».

I was thinking maybe we could rebuild the samples for linux with the editor. But the editor's installer is only available for windows and macos.

Nothing about wave engine in the wine database.

ptupitsyn commented 3 years ago

I was thinking maybe we could rebuild the samples for linux with the editor. But the editor's installer is only available for windows and macos.

Yep, it is fine that editor is not available, but I think the resulting programs should demonstrate the cross-platform abilities of the engine, if possible.

danielcaceresm commented 3 years ago

Hi @ptupitsyn,

The samples can be run in Linux, but not all of them runs correctly and we decided to no publish them with Linux support until we fix the issues. You can test to run in Linux with some changes:

ptupitsyn commented 3 years ago

@danielcaceresm thank you! It works :+1: