Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-sharp gstreamer-sharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-sharpgstreamer-sharp
  • Issues
  • #40

Closed
Open
Created May 28, 2020 by Aaron Boxer@boxerabContributor

GtkSharp generation throws NotSupportedException

With ninja -C build update-all,

there is the following compiler error:

Unhandled Exception:
System.NotSupportedException: Cannot generate virtual method Allocator.OnAlloc ((ulong) size, Gst.AllocationParams.New (parms)). Make sure a writable glue path was provided to the generator.
  at GtkSharp.Generation.GObjectVM.Generate (GtkSharp.Generation.GenerationInfo gen_info, GtkSharp.Generation.ObjectBase implementor) [0x00063] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/GObjectVM.cs:66 
  at GtkSharp.Generation.ObjectBase.GenVirtualMethods (GtkSharp.Generation.GenerationInfo gen_info, GtkSharp.Generation.ObjectBase implementor) [0x0001d] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectBase.cs:300 
  at GtkSharp.Generation.ObjectGen.GenClassMembers (GtkSharp.Generation.GenerationInfo gen_info, System.String cs_parent) [0x00004] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectGen.cs:313 
  at GtkSharp.Generation.ObjectGen.Generate (GtkSharp.Generation.GenerationInfo gen_info) [0x003aa] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectGen.cs:199 
  at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x00586] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/CodeGenerator.cs:150 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: Cannot generate virtual method Allocator.OnAlloc ((ulong) size, Gst.AllocationParams.New (parms)). Make sure a writable glue path was provided to the generator.
  at GtkSharp.Generation.GObjectVM.Generate (GtkSharp.Generation.GenerationInfo gen_info, GtkSharp.Generation.ObjectBase implementor) [0x00063] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/GObjectVM.cs:66 
  at GtkSharp.Generation.ObjectBase.GenVirtualMethods (GtkSharp.Generation.GenerationInfo gen_info, GtkSharp.Generation.ObjectBase implementor) [0x0001d] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectBase.cs:300 
  at GtkSharp.Generation.ObjectGen.GenClassMembers (GtkSharp.Generation.GenerationInfo gen_info, System.String cs_parent) [0x00004] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectGen.cs:313 
  at GtkSharp.Generation.ObjectGen.Generate (GtkSharp.Generation.GenerationInfo gen_info) [0x003aa] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/ObjectGen.cs:199 
  at GtkSharp.Generation.CodeGenerator.Main (System.String[] args) [0x00586] in /home/aaron/src/gstreamer-sharp/subprojects/gtk-sharp/Source/generator/CodeGenerator.cs:150 
Edited May 28, 2020 by Aaron Boxer
Assignee
Assign to
Time tracking