Hello,
I am trying to load some models in Ubuntu 20.04 using MG 3.8 GL project and I am having problems on models that have textures. Models without textures are fine, but if they have a texture it throws me the following error
By dotnet cli
/home/tgcito/Desktop/tgc-monogame-samples/TGC.MonoGame.Samples/Content/3D/tank/tank.fbx
/home/tgcito/Desktop/tgc-monogame-samples/TGC.MonoGame.Samples/Content/3D/tank/turret_alt_diff_tex.tga
Could not find the entry point to compress the texture. System.EntryPointNotFoundException: Unable to find an entry point named 'nvttSetOutputOptionsOutputHandler' in shared library 'nvtt'.
at Nvidia.TextureTools.OutputOptions.nvttSetOutputOptionsOutputHandler(IntPtr outputOptions, IntPtr beginImageHandler, IntPtr outputHandler, IntPtr endImageHandler)
at Nvidia.TextureTools.OutputOptions.SetOutputOptionsOutputHandler(BeginImageHandler beginImageHandler, OutputHandler outputHandler, EndImageHandler endImageHandler)
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.DxtBitmapContent.TryCopyFrom(BitmapContent sourceBitmap, Rectangle sourceRegion, Rectangle destinationRegion) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\DxtBitmapContent.cs:line 200
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent.Copy(BitmapContent sourceBitmap, Rectangle sourceRegion, BitmapContent destinationBitmap, Rectangle destinationRegion) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\BitmapContent.cs:line 132
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.BitmapContent.Copy(BitmapContent sourceBitmap, BitmapContent destinationBitmap) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\BitmapContent.cs:line 88
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureContent.ConvertBitmapType(Type newBitmapType) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\TextureContent.cs:line 69
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.GraphicsUtil.CompressDxt(ContentProcessorContext context, TextureContent content, Boolean isSpriteFont) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\GraphicsUtil.cs:line 190
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.DefaultTextureProfile.PlatformCompressTexture(ContentProcessorContext context, TextureContent content, TextureProcessorOutputFormat format, Boolean isSpriteFont) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\DefaultTextureProfile.cs:line 131
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureProfile.ConvertTexture(ContentProcessorContext context, TextureContent content, TextureProcessorOutputFormat format, Boolean isSpriteFont) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\TextureProfile.cs:line 75
/home/tgcito/Desktop/tgc-monogame-samples/TGC.MonoGame.Samples/Content/3D/tank/tank.fbx : error : Processor 'TextureProcessor' had unexpected failure! [/home/tgcito/Desktop/tgc-monogame-samples/TGC.MonoGame.Samples/TGC.MonoGame.Samples.csproj]
System.EntryPointNotFoundException: Unable to find an entry point named 'nvttSetOutputOptionsOutputHandler' in shared library 'nvtt'.
at Microsoft.Xna.Framework.Content.Pipeline.Graphics.TextureProfile.ConvertTexture(ContentProcessorContext context, TextureContent content, TextureProcessorOutputFormat format, Boolean isSpriteFont) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Graphics\TextureProfile.cs:line 80
at Microsoft.Xna.Framework.Content.Pipeline.Processors.TextureProcessor.Process(TextureContent input, ContentProcessorContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Processors\TextureProcessor.cs:line 121
at Microsoft.Xna.Framework.Content.Pipeline.ContentProcessor`2.Microsoft.Xna.Framework.Content.Pipeline.IContentProcessor.Process(Object input, ContentProcessorContext context) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\ContentProcessor.cs:line 60
at MonoGame.Framework.Content.Pipeline.Builder.PipelineManager.ProcessContent(PipelineBuildEvent pipelineEvent) in C:\BuildAgents\MonoGameWin1\work\f7381a85a626990\MonoGame.Framework.Content.Pipeline\Builder\PipelineManager.cs:line 717
Any idea?
Thanks and Regards.