Coder Social home page Coder Social logo

Comments (3)

RonenNess avatar RonenNess commented on May 27, 2024

Hi Andru, thank you for the detailed error report! Its very helpful.

There are several issues to address here:

and the exact same errors in the lowres folder where Bold.spritefont is not existing. the name there starts with a small b. bold.spritefont. I don't know if this matters.

That's a bug I need to fix. It works on windows but probably won't on case-sensitive platforms.

But I would like to know what is going wrong there. And how could I solve this issue. The error message in detail for fx files is:
Processor 'EffectProcessor' han unexpected error.
System.NotImplementedException: the method or operation is not implemented at XNA.Framework. Content.pipeline. Processors.effectprocessor.process

Unfortunately, MonoGame currently can't compile effects on Linux (or any non-windows platforms, if I'm not mistaken). It doesn't mean the executable won't be cross-platform, it just means if you develop effects you need to compile them on windows.
I had a talk about it with someone on reddit (https://www.reddit.com/r/monogame/comments/5j9iga/geonbitui_monogame_ui_system_i_recently_released/dbnrvr8/) if you want I already compiled the effects and upload them here: https://uploadfiles.io/215712 (grab them before they expire)..

If you use the compiled effects be sure to set their process to Copy and not Build in the content pipeline manager.

with the spritefont I got
Bitstream vera Sans mono oblique not found

Another problem with building on Linux is that it won't find the fonts unless they reside on the same folder as the spritefont file (unlike on windows where it search them in installed fonts dir). So if you copy the fonts in the folder it should work. I think you don't need to add them to the content pipeline, but I'm not 100% sure.

Anyway here's what I'll do next time I'll work on GB.UI:

  1. Add the compiled effects somewhere in the git.
  2. Add instructions for Linux on how to make the fonts compile and how to use the compiled effects instead of building them.
  3. Fix the spritefont typo (lowercase b instead of uppercase B).

When done I'll update and close this ticket.
Hope this helps :)

from geonbit.ui.

RonenNess avatar RonenNess commented on May 27, 2024

Done.

from geonbit.ui.

Andru86 avatar Andru86 commented on May 27, 2024

Hello Ronen

Thank you very much for this explanation. I will do it the way you described it.

Sorry for my delayed answer. Meanwhile I got sick. But now I am back on track.

Have a nice day & thank you
Andru

from geonbit.ui.

Related Issues (20)

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.