Comments (3)
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:
- Add the compiled effects somewhere in the git.
- Add instructions for Linux on how to make the fonts compile and how to use the compiled effects instead of building them.
- 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.
Done.
from geonbit.ui.
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)
- Missing custom fonts? HOT 3
- Zoom
- Support for MonoGame 3.7.x HOT 1
- Crash in example app, attempts to draw a panel of height 443809248 HOT 1
- netcore? HOT 7
- MonoGame 3.8 HOT 1
- Support for non-monospace fonts HOT 3
- Change docs in relation to moving Content HOT 1
- Extra steps for Linux necessary for Windows too HOT 3
- State dependent UI-rendering HOT 1
- Analog of divs in HTML HOT 1
- Preventing in-game click fall through GenoBit.UI entities HOT 4
- Removing non-root entities (inside parent) HOT 5
- Implementing inventory HOT 14
- monogame 3.8? HOT 1
- Question about install HOT 1
- Problem with custom font and rich texts. HOT 11
- Could not resolve data type. HOT 3
- Exception during Initialize HOT 1
- NuGet Installation Documenation Is Misleading HOT 1
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 geonbit.ui.