Open frubi opened 10 years ago
Is there anything in the "generated" directory?
It's weird since the generator has all the methods in the generation summary. Check that your generated folder is writable. With which gtk# are you using?
I don't have a generated directory in the root of the project. There is only a generated folder below sources. It's writeable and contains a lot of files (Not empty and looks like valid C#).
$ ls -R sources/generated
sources/generated:
Soup
sources/generated/Soup:
AddressCallback.cs ClientContext.cs Logger.cs Request.cs SoupSharp.AuthDomainBasicAuthCallbackNative.cs
Address.cs ConnectionCreatedHandler.cs LoggerFilter.cs RequestData.cs SoupSharp.AuthDomainDigestAuthCallbackNative.cs
AddressFamily.cs Connection.cs LoggerLogLevel.cs Requester.cs SoupSharp.AuthDomainFilterNative.cs
AuthBasic.cs ConnectionState.cs LoggerPrinter.cs RequesterError.cs SoupSharp.AuthDomainGenericAuthCallbackNative.cs
Auth.cs Constants.cs MemoryUse.cs RequestError.cs SoupSharp.ChunkAllocatorNative.cs
AuthDigest.cs ContentDecoder.cs MessageBody.cs RequestFile.cs SoupSharp.LoggerFilterNative.cs
AuthDomainBasicAuthCallback.cs ContentSniffer.cs Message.cs RequestFinishedHandler.cs SoupSharp.LoggerPrinterNative.cs
AuthDomainBasic.cs Cookie.cs MessageFlags.cs RequestHTTP.cs SoupSharp.MessageHeadersForeachFuncNative.cs
AuthDomain.cs CookieJarAcceptPolicy.cs MessageHeaders.cs RequestQueuedHandler.cs SoupSharp.PasswordManagerCallbackNative.cs
AuthDomainDigestAuthCallback.cs CookieJar.cs MessageHeadersForeachFunc.cs RequestReadHandler.cs SoupSharp.ProxyURIResolverCallbackNative.cs
AuthDomainDigest.cs CookieJarDB.cs MessageHeadersIter.cs RequestStartedHandler.cs SoupSharp.ServerCallbackNative.cs
AuthDomainFilter.cs CookieJarText.cs MessageHeadersType.cs RequestUnqueuedHandler.cs SoupSharp.SessionCallbackNative.cs
AuthDomainGenericAuthCallback.cs Date.cs MessageQueue.cs ServerCallback.cs SoupSharp.SocketCallbackNative.cs
AuthenticateHandler.cs DateFormat.cs MessageQueueItem.cs Server.cs TLDError.cs
AuthManager.cs Encoding.cs Multipart.cs SessionAsync.cs TunnelingHandler.cs
AuthNTLM.cs Expectation.cs NewConnectionHandler.cs SessionCallback.cs URI.cs
Buffer.cs Global.cs PasswordManagerAdapter.cs Session.cs WroteBodyDataHandler.cs
Cacheability.cs GotChunkHandler.cs PasswordManagerCallback.cs SessionFeatureAdapter.cs XMLRPCError.cs
Cache.cs HTTPVersion.cs ProxyResolverDefault.cs SessionSync.cs XMLRPCFault.cs
CacheResponse.cs IPasswordManager.cs ProxyURIResolverAdapter.cs SocketCallback.cs
CacheType.cs IProxyURIResolver.cs ProxyURIResolverCallback.cs Socket.cs
ChangedHandler.cs ISessionFeature.cs Range.cs SocketIOStatus.cs
ChunkAllocator.cs KnownStatusCode.cs RequestAbortedHandler.cs SoupSharp.AddressCallbackNative.cs
I'm using Gtk# from the Debian Unstable repository.
$ pkg-config gtk-sharp-3.0 --modversion
2.99.3
$ pkg-config gtk-sharp-2.0 --modversion
2.12.10
The compiler options seem odd. All the file are one deeper than sources/generated
so having just generated/*.cs
there would not include any of the contents, it needs to include generated/*/*.cs
for the bindings to get compiled. This looks to have been fixed with f9154e557 which is later than the last comment here.
@frubi could you check with the current sources? It should work now.
Compile after ./autogen.sh
Inspecting the output with monodis