endlesstravel / Love2dCS

C# Wrapper for LÖVE, a 2d game engine
MIT License
166 stars 14 forks source link

Error when running application OS X #90

Closed Bambofy closed 4 years ago

Bambofy commented 5 years ago

Hi, i'm trying to install and use this using Visual studio 2019 preview for Mac (https://visualstudio.microsoft.com/vs/mac/) and .net core 3.1.

It compiles fine but when it executes this is the message it returns?

Screenshot 2019-11-04 at 20 51 38
endlesstravel commented 5 years ago

Unfortunate, this library is only support win(x86/64) & ubuntu(debain serial x64).

But, Now that someone's asked, I'll try to add Mac to the support in the near future

Bambofy commented 5 years ago

Unfortunate, this library is only support win(x86/64) & ubuntu(debain serial x64).

But, Now that someone's asked, I'll try to add Mac to the support in the near future

thank you! do you know how long it will take to be supported? i thought .net core was cross platform?

endlesstravel commented 5 years ago

I expect to finish the plan in a month. But since I have never used MAC for development, it's hard to say what will happened.

.net core self is cross platform. But in this project, i use P/invoke to call unmanaged native code, so each platform should build it own native code. This is the reason this library not cross platform

endlesstravel commented 5 years ago

good news, 11.0.41-alpha now support the MacOS, it should be work on MacOS 10.7+

here : https://www.nuget.org/packages/Love2dCS/11.0.41-alpha

I test it on .net core 3.0, it should work on .net core 1.0+, it shoud be support dev on visual studio for mac too.

I will split the Love2dCS to Love2dCS Love2dCS-ubuntu Love2dCS-mac for the package size to large, which is 17.3 MB now .

Bambofy commented 5 years ago

thanks :)

Bambofy commented 5 years ago

I tried to run a built application using the love2dcs-mac package and got this error:

Screenshot 2019-11-09 at 09 24 11
endlesstravel commented 5 years ago

ok , thanks for your report! 👍 I have deleted all my local dependency libraries cache, which will reproduce your problem.
I probably know how to fix it, and I'll fix them.

Bambofy commented 5 years ago

ok thanks :)

endlesstravel commented 5 years ago

I fix it at Love2dCS-mac on version 11.0.42-beta on https://www.nuget.org/packages/Love2dCS-mac/11.0.42-beta Check "view preview package" at Manage Nuget Packages windows and you should see the beta version.

Bambofy commented 5 years ago

I fix it at Love2dCS-mac on version 11.0.42-beta on https://www.nuget.org/packages/Love2dCS-mac/11.0.42-beta Check "view preview package" at Manage Nuget Packages windows and you should see the beta version

Thank you very much for fixing it, this library is epic!!!

endlesstravel commented 4 years ago

closed because it finished .