Skip to content

Missing subfolder(s) in generated folder? #10

@theDenise

Description

@theDenise

Hi,

I've been trying to use this without much success... When I do a "make", this is the output:

denise@aupervm008:~/git/webkitgtk-sharp$ make
Making all in sources
make[1]: Entering directory `/home/denise/git/webkitgtk-sharp/sources'
cp ./webkitgtk-sharp-api.raw webkitgtk-sharp-api.xml
chmod u+w webkitgtk-sharp-api.xml
/usr/bin/gapi3-fixup --api=./webkitgtk-sharp-api.xml --metadata=./webkitgtk-sharp.metadata
/usr/bin/gapi3-codegen --generate ./webkitgtk-sharp-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/pango-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/atk-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/gdk-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/gtk-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/glib-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/gio-api.xml   \
        --outdir=generated \
        --glue-filename=./glue/generated.c --gluelib-name=libwebkitgtksharpglue-1.10.2.so \
        --glue-includes=webkit/webkit.h, --gapidir=/usr/lib/pkgconfig/../../share/gapi-3.0 \
        --assembly-name=webkitgtk-sharp && touch generated-stamp
WebKit.FaviconDatabase.GetFaviconPixbufFinish - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.FaviconDatabase.TryGetFaviconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.IconDatabase.GetIconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.WebView.CreatePluginWidget - Unknown type  on parameter param
WebKit.WebView.CreatePluginWidget - Unknown type  on parameter param
WebKit.WebView.GetIconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.WebView.GetSnapshot - Unknown return type: cairo_surface_t*
WebKit.WebView.TryGetFaviconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*

Generation Summary:
  Enums: 17  Structs: 1  Boxed: 0  Opaques: 3  Interfaces: 2  Objects: 176  Callbacks: 0
  Properties: 1030  Signals: 85  Methods: 715  Constructors: 12  Throttled: 1
Total Nodes: 2042

/usr/bin/mcs -nowarn:169 -unsafe -target:library -r:/usr/lib/pkgconfig/../../lib/cli/cairo-sharp-1.10/cairo-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/pango-sharp-3.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/atk-sharp-3.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/gdk-sharp-3.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/gtk-sharp-3.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/glib-sharp-3.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/cli/gio-sharp-3.0/gio-sharp.dll   \
        AssemblyInfo.cs   -r:Mono.Cairo   -r:/home/denise/outputs/soup-sharp/lib/mono/soup-sharp/soup-sharp.dll   generated/*.cs generated/*/*.cs -out:../out/webkitgtk-sharp.dll

Unhandled Exception:
System.ArgumentException: Path is invalid
Parameter name: path
  at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) <0x2ae066bc73f0 + 0x00202> in <filename unknown>:0 
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) <0x2ae066bc7630 + 0x00066> in <filename unknown>:0 
  at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) <0x2ae066bc6c80 + 0x00018> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ProcessSourceFiles (System.String spec, Boolean recurse, System.Collections.Generic.List`1 sourceFiles) <0x2ae06725e4d0 + 0x000c0> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ParseArguments (Mono.CSharp.CompilerSettings settings, System.String[] args) <0x2ae06725dfc0 + 0x00448> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ParseArguments (System.String[] args) <0x2ae06725df60 + 0x00045> in <filename unknown>:0 
  at Mono.CSharp.Driver.Main (System.String[] args) <0x2ae0671a58b0 + 0x00094> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Path is invalid
Parameter name: path
  at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) <0x2ae066bc73f0 + 0x00202> in <filename unknown>:0 
  at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) <0x2ae066bc7630 + 0x00066> in <filename unknown>:0 
  at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) <0x2ae066bc6c80 + 0x00018> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ProcessSourceFiles (System.String spec, Boolean recurse, System.Collections.Generic.List`1 sourceFiles) <0x2ae06725e4d0 + 0x000c0> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ParseArguments (Mono.CSharp.CompilerSettings settings, System.String[] args) <0x2ae06725dfc0 + 0x00448> in <filename unknown>:0 
  at Mono.CSharp.CommandLineParser.ParseArguments (System.String[] args) <0x2ae06725df60 + 0x00045> in <filename unknown>:0 
  at Mono.CSharp.Driver.Main (System.String[] args) <0x2ae0671a58b0 + 0x00094> in <filename unknown>:0 
make[1]: *** [../out/webkitgtk-sharp.dll] Error 1
make[1]: Leaving directory `/home/denise/git/webkitgtk-sharp/sources'
make: *** [all-recursive] Error 1

The invalid path exceptions are due to the generated//.cs parameter, and I can build once I remove that from the makefile, but there are still issues earlier:

WebKit.FaviconDatabase.GetFaviconPixbufFinish - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.FaviconDatabase.TryGetFaviconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.IconDatabase.GetIconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.WebView.CreatePluginWidget - Unknown type  on parameter param
WebKit.WebView.CreatePluginWidget - Unknown type  on parameter param
WebKit.WebView.GetIconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*
WebKit.WebView.GetSnapshot - Unknown return type: cairo_surface_t*
WebKit.WebView.TryGetFaviconPixbuf - Unknown return type: GdkPixbuf.Pixbuf*`

Is there a fix for these? Or should I be able to use the dll despite these errors?

Also, when I try to use the built DLL (despite these errors), nothing actually happens - IE: I put a breakpoint on the first line (Application.Init()), and it never gets hit (no errors or anything...)?

Any help would be appreciated - thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions