Comments (4)
For future readers (and maybe for someone who wants to fix the docs) I had to install MonoGame 3.7.
However, once I did, I had another problem:
""C:\Program Files (x86)\MSBuild\MonoGame\v3.0\Tools\MGCB.exe" /@:"C:\Users\Owner\Downloads\Temp\spine-runtimes-3.7\spine-runtimes-3.7\spine-monogame\example\Content\Content.mgcb" /platform:DesktopGL /quiet /outputDir:"bin\DesktopGL\Content" /intermediateDir:"obj\DesktopGL\Content"" exited with code 1. spine-monogame-example
Additional info from the error window:
2> System.DllNotFoundException: Unable to load DLL 'libmojoshader_64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
2> at TwoMGFX.MojoShader.NativeMethods.MOJOSHADER_parse(String profile, Byte[] tokenbuf, Int32 bufsize, IntPtr swiz, Int32 swizcount, IntPtr smap, Int32 smapcount, IntPtr m, IntPtr f, IntPtr d)
2> at TwoMGFX.ShaderData.CreateGLSL(Byte[] byteCode, Boolean isVertexShader, List`1 cbuffers, Int32 sharedIndex, Dictionary`2 samplerStates, Boolean debug)
2> at TwoMGFX.OpenGLShaderProfile.CreateShader(ShaderResult shaderResult, String shaderFunction, String shaderProfile, Boolean isVertexShader, EffectObject effect, String& errorsAndWarnings)
2> at TwoMGFX.EffectObject.CreateShader(ShaderResult shaderResult, String shaderFunction, String shaderProfile, Boolean isVertexShader, String& errorsAndWarnings)
2> at TwoMGFX.EffectObject.CompileEffect(ShaderResult shaderResult, String& errorsAndWarnings)
2> at Microsoft.Xna.Framework.Content.Pipeline.Processors.EffectProcessor.Process(EffectContent input, ContentProcessorContext context)
2> at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context)
2> at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent)
from spine-runtimes.
One more down - need to install: https://www.microsoft.com/en-us/download/details.aspx?id=40784
I installed the x64 version.
With all of this, I was able to set the example project as my startup and it worked.
For anyone else looking to work with monogame, these extra steps are needed. Of course, I strongly suggest that someone in the Spine team take the time to upgrade the samples to MonoGame 3.8.1 (newest as of the time of this writing).
from spine-runtimes.
@vchelaru Sorry to hear you've encountered problems, thanks for sharing your insights. Please note that you are using Spine 3.7 while the current versions are 4.1 and 4.2-beta. Why are you using this appoximately 5 year old version when starting a new project?
Please note that neither the 3.7, 3.8 or 4.0 runtimes will receive any updates any longer, let alone breaking changes to make them compatible with e.g. newer MonoGame versions. In general it is not recommended to combine old no longer updated runtimes with the latest tools like Visual Studio 2022, as you will likely run into issues.
from spine-runtimes.
Thank you for the reply. I realize nowthat I was using 3.7 because I followed a link from Stack Overflow. I tried the main branch and all worked great.
from spine-runtimes.
Related Issues (20)
- Unreal 5.3 use Spine 4.2 Error ! HOT 4
- [unity] URP Skeleton Lit shader secondary lights not displayed in build HOT 1
- [unity] SpineSkin Attribute does not include `None` on `includeNone=true`
- [unity] Parallel Import does not apply atlas texture settings
- [godot] Multiply blend mode broken in Godot +4.1.x
- [unity] Exception when SkeletonRenderSeparator causes null material with mask materials
- MeshGenerator.ScaleVertexData have Vector3.op_Multiply() Vector3..ctor() HOT 5
- [cocos2dx] Two-color tinted skeletons do not render on the first frame HOT 8
- [phaser] texture flicker when creating new SpineGameObject HOT 1
- [ts][threejs] Blending mode not working properly
- [cocos2dx] Double free warning in Spine Examples HOT 2
- [player] Allow loading different data files. HOT 1
- [sfml] Multiply blend mode + non-PMA doesn't look correct on Celestial Circus HOT 1
- [ts] WebGPU support and Spine-Pixi runtime HOT 2
- [c] Scale Problem after 4.2 Upgrade HOT 4
- [ue] The cast shadow is slightly off the skeleton's boundary when using `SpineLitNormalMaterial`. HOT 1
- [runtimes] Copy constructor for Constraints reference bones and slots of the original skeleton HOT 2
- [spine-csharp] Skeleton.PhysicsRotate references the field r instead of the parameter x HOT 1
- [unity] SkeletonGraphicRenderTexture example component RenderTexture distorted
- [godot] Crash in SpineSlotNode if SpineSprite parent does not have skeleton data set HOT 5
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 spine-runtimes.