[Gtk-sharp-list] Newbie - Error in Windows 10 compiling c# with GTK

jb007 james.o.bartlett at gmail.com
Sun Jun 26 09:13:08 UTC 2016

Hi Miguel... the implicit reference to the dll's works... I had to reference
three of them such as:

mcs hello.cs -r:"C:\Program Files
(x86)\Mono\lib\gtk-sharp-2.0\gtk-sharp.dll" -r:"C:\Program Files
(x86)\Mono\lib\gtk-sharp-2.0\glib-sharp.dll" -r:"C:\Program Files

If I set the 

set PKG_CONFIG_PATH=C:\Program Files (x86)\Mono\lib
Check path...
C:\Program Files (x86)\Mono\lib

mcs hello.cs -pkg:gtk-sharp-2.0
gives me...
A windows dialog... 
pkg-config.exe... pig-config.exe has stopped working
A problem caused the program to stop working correctly... blah blah
Event Application Log....Level	Date and Time	Source	Event ID	Task Category
Error	26/06/2016 7:29:42 PM	Application Error	1000	(100)	"Faulting
application name: pkg-config.exe, version:, time stamp: 0x4e233c98
Faulting module name: ntdll.dll, version: 10.0.10586.306, time stamp:
Exception code: 0xc0000005
Fault offset: 0x0003c1ad
Faulting process id: 0x1d40
Faulting application start time: 0x01d1cf8d44b27aa6
Faulting application path: C:\Program Files (x86)\Mono\bin\pkg-config.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: a14037c5-a6e8-4dec-aa27-d53f8a98bc82
Faulting package full name: 
Faulting package-relative application ID: "

I wonder if it has to do with 32 bit pkg-config.exe on Windows 10 64 bit?

Thanks for your response.


View this message in context: http://mono.1490590.n4.nabble.com/Newbie-Error-in-Windows-10-compiling-c-with-GTK-tp4668066p4668076.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.

More information about the Gtk-sharp-list mailing list