Page 1 of 1

cannot locate gacutil

PostPosted: Mon Feb 04, 2013 6:49 am
by JokarZ
hello... im new in using this language... i was trying to install this.. and ask to install .net 4... but it says
==== Install Cobra.Core library to the GAC

** ERROR: Cannot locate a gacutil. Maybe you can try again using the "Visual Stu
dio Command Prompt" or ".NET SDK Command Prompt".
You may need to install the Windows SDK (https://www.google.com/search?q=windows
+sdk+.net+4)
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc

pls help me... sorry if im a noob :cry:

Re: cannot locate gacutil

PostPosted: Mon Feb 04, 2013 7:38 pm
by ObtuseAngle
Grab the SDK (that Google link, but all on one line). Should be from a Microsoft site.
Stay online so the installer can download the necessary bits.
Install only the .Net tools (includes a gacutil, amongst other tools) not everything.
Try again.

Goods luck!

Re: cannot locate gacutil

PostPosted: Tue Feb 05, 2013 5:40 am
by JokarZ
i downloaded the SDK... but then another error..


** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc

im a little more confused...

Re: cannot locate gacutil

PostPosted: Tue Feb 05, 2013 9:22 am
by nerdzero
What was the text before that? Did you get some message about permission errors possibly?

Re: cannot locate gacutil

PostPosted: Tue Feb 05, 2013 6:25 pm
by Charles
Also, what platform are you on? You can try "cobra -about" or if that's not working yet, "Snapshot/cobra -about".

What drive and path are you on?

What op sys and version?

Re: cannot locate gacutil

PostPosted: Thu Feb 07, 2013 3:03 am
by JokarZ
im running in windows xp and im using 0.9.2 version of cobra and tried to install microsoft.net 4... but since the sdk i tried to download is for windows 7, i think i wont work...

Re: cannot locate gacutil

PostPosted: Thu Feb 07, 2013 3:15 am
by JokarZ
this is the whole message i recieved... i tried the .net 3.5... still the same problem


==== Build Cobra.Core library

run: cobra.exe -build-standard-library -debug -turbo -out:Cobra.Core.dll -key-fi
le:Cobra.Core\Cobra.Core.snk Cobra.Core\AssemblyAttrs.cobra
: c:\Cobra-0.9.2\Source\Native.cs(584): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(585): error: The best overloaded method mat
ch for "System.InvalidOperationException.InvalidOperationException(string)" has
some invalid arguments
: c:\Cobra-0.9.2\Source\Native.cs(585): error: Argument "1": cannot convert f
rom "var" to "string"
: c:\Cobra-0.9.2\Source\Native.cs(604): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(609): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(610): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.2\Source\Native.cs(612): error: Cannot implicitly convert type
"var" to "decimal"
: Compilation failed - 7 errors, 0 warnings

** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc

Re: cannot locate gacutil

PostPosted: Thu Feb 07, 2013 3:24 am
by Charles
Why Cobra 0.9.2 instead of the newer 0.9.3?

Re: cannot locate gacutil

PostPosted: Thu Feb 07, 2013 4:40 am
by JokarZ
i change the cobra to a newer version but i realized the sdk only compatible to win xp sp3 and mine is sp2... so i think i got to upgrade this to win 7... :|

Re: cannot locate gacutil

PostPosted: Sat Feb 09, 2013 3:20 am
by JokarZ
i somehow downloaded a sdk for .net 3.5 but i still got the error messages just like the last time:

==== Build Cobra.Core library

run: cobra.exe -build-standard-library -debug -turbo -out:Cobra.Core.dll -key-fi
le:Cobra.Core\Cobra.Core.snk Cobra.Core\AssemblyAttrs.cobra
: c:\Cobra-0.9.3\Source\Native.cs(584): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(585): error: The best overloaded method mat
ch for "System.InvalidOperationException.InvalidOperationException(string)" has
some invalid arguments
: c:\Cobra-0.9.3\Source\Native.cs(585): error: Argument "1": cannot convert f
rom "var" to "string"
: c:\Cobra-0.9.3\Source\Native.cs(604): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(609): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(610): error: The type or namespace name "va
r" could not be found (are you missing a using directive or an assembly referenc
e?)
: c:\Cobra-0.9.3\Source\Native.cs(612): error: Cannot implicitly convert type
"var" to "decimal"
: Compilation failed - 7 errors, 0 warnings

** ERROR: Exit code from running Source Cobra: 1
Need help with the above error?
* Make sure you ran as a Windows Administrator.
* Install .NET or a Visual Studio product if you have not before.
* Review http://cobra-language.com/troubleshooting
* Ask at http://cobra-language.com/discuss
* Ask at http://cobra-language.com/irc