Got a friend who is having a hard time getting a project I sent to him to build and run on his laptop.
Specifically, when he tries, he gets an error saying, roughly, that the command [string of command prompt commands] exited with code 5. It also mentions that he should verify having sufficient rights to run the command.
Furthermore, every bit of content not in a folder refuses to build, telling us that “TextureImporter had an unexpected failure” in the case of images, and “FontDescrptionProcesser had an unexpected failure” when it comes to fonts.
By in a folder, I mean that this project contains wave files in a Samples folder which cause no issues. Everything just in Content throws an error.
We spent a few hours debugging a few nights ago, and got nowhere.
We’re both using Visual Studio Community 2017, Windows 10 64 bit OS.
As far as we could tell, he has all necessary C++ runtimes installed, as well as DirectX.
This is with Monogame 3.7.1.
The odd thing is, he can get it to work fine on his desktop, but not the laptop.
The files I sent him, if that matters, was everything in the project folder.
If y’all have any ideas, we’re all ears. =-)
PS: If any other information is needed, just let me know.
We found out the verification issue was fixed after removing the font from the project.
EDIT: We’re trying to load files through the content pipeline popup, if that matters any, instead of dragging and dropping into the solution explorer. There may be more that I need to mention, but I’m far too tired to think much more on this.
Is this a regular windows template? I’ve looked inside csproj files of my own and never seen any reference to freetype6.dll but I did see it in someone else’s older build (which had some 2012 dependency).
I’d imagine you already tried changing deleting and re-creating the font as some basic default?
He was able to install that and everything ran flawlessly.
Thanks everyone! =-)
PS: For anyone else that comes across this, what was required to install is as follows.
Monogame (version 3.7.1 as of today)
C++ redistributable 2012 x64
C++ redistributable 2013 x64
Visual Studio 2017 Community Edition with C# and C++ options checked