Thank you Chuck, the cobra side seems fine !
IMO it boils down to a problem with the C#-Compiler shouting 'CS2007', also given the -pkg: option.
But I still don't know how to solve this.
BTW: Happy new year to all of you ...
- Code: Select all
C:\Cobra\cobra-workspace\HowTo>cobra -c -v -pkg:gtk-sharp-2.0 390-GTK.cobra
Cobra Command Line 0.8.0 post-release
Copyright (C) 2003-2008 by Cobra Language LLC.
OS Version: Microsoft Windows NT 5.1.2600 Service Pack 2
CLR Platform: .NET
CLR Version: 2.0.50727.1433
Current Directory: C:\Cobra\cobra-workspace\HowTo
Current Exe: C:\Cobra\Cobra-0.8.0-post\bin\cobra.exe
Option Dictionary:
compile: true
verbosity: 1
pkg: List<of String>['gtk-sharp-2.0']
contracts: 'inline'
correct-source: Set<of String>['none']
debugging-tips: true
embed-run-time: false
include-asserts: true
include-nil-checks: true
include-tests: true
include-traces: true
number: 'decimal'
Paths:
390-GTK.cobra
Adding reference to Cobra.Lang.dll
Reading assembly: mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 at
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
Reading assembly: System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 at
C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
Loading reference: Cobra.Lang.dll
Reading assembly: Cobra.Lang, Version=0.8.0.1, Culture=neutral, PublicKeyToken=null at C:\Cobra\Cobra-0.8.0-post\bin\Cobra.Lang.dll
Loading reference: D:/EIGENE~1/privat/MONO-2~1.1/lib/mono/gtk-sharp-2.0/pango-sharp.dll
Reading assembly: pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f at
D:\Eigene Dateien\privat\Mono-2.0.1\lib\mono\gtk-sharp-2.0\pango-sharp.dll
Loading reference: D:/EIGENE~1/privat/MONO-2~1.1/lib/mono/gtk-sharp-2.0/atk-sharp.dll
Reading assembly: atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f at
D:\Eigene Dateien\privat\Mono-2.0.1\lib\mono\gtk-sharp-2.0\atk-sharp.dll
Loading reference: D:/EIGENE~1/privat/MONO-2~1.1/lib/mono/gtk-sharp-2.0/gdk-sharp.dll
Reading assembly: gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f at
D:\Eigene Dateien\privat\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gdk-sharp.dll
Loading reference: D:/EIGENE~1/privat/MONO-2~1.1/lib/mono/gtk-sharp-2.0/gtk-sharp.dll
Reading assembly: gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f at
D:\Eigene Dateien\privat\Mono-2.0.1\lib\mono\gtk-sharp-2.0\gtk-sharp.dll
Loading reference: D:/EIGENE~1/privat/MONO-2~1.1/lib/mono/gtk-sharp-2.0/glib-sharp.dll
Reading assembly: glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f at
D:\Eigene Dateien\privat\Mono-2.0.1\lib\mono\gtk-sharp-2.0\glib-sharp.dll
Noting C:\Cobra\Cobra-0.8.0-post\bin\CobraInfo.cs
Parsing 390-GTK.cobra
Compiling to produce 390-GTK.exe
error: fatal error CS2007: Unrecognized option: "-pkg:gtk-sharp-2.0"
Compilation failed - 1 error, 0 warnings