Error installing Cobra version 0.96 on Windows
Posted: Wed Mar 26, 2014 8:02 am
Hello
I have installed Cobra 0.94 on Windows 7 amd64 successfully some time ago.
But while trying to build a Ubuntu installation I noticed that Cobra was now at 0.96. So after installing it on Ubuntu I downloaded the zip archive to update the Windows installation. I renamed the old installation directory from C:\Cobra to C:\__Cobra, just in case I need it later.
I then ran the installation script but received an error which I no longer have access to as I closed the CMD window after it recommended running the script as Administrator. I did that and I still got an Error as follows (this is the end of output):
I tried to use the "ldr64 setwow" tip found in the troubleshooting guide (as I remember faintly I had to use it for the 0.94 version-- or at least I investigated it before-- and then run the install script but I still got the same error. I have since ran "ldr64 set64" to switch back.
What am I doing wrong?
Thanks
PS I renamed the old Cobra installation to reactivate it and it is still running fine.
I have installed Cobra 0.94 on Windows 7 amd64 successfully some time ago.
U:\projs\>cobra -about
The Cobra Programming Language 0.9.4
on .NET CLR v4.0.30319 on Microsoft Windows NT 6.1.7601 Service Pack 1
at C:\Cobra\Cobra-0.9.4\bin\cobra.exe
Copyright (C) 2003-2014 by Cobra Language LLC. All Rights Reserved.
On the web: http://cobra-language.com/
Source: http://cobra-language.com/source
Support: http://cobra-language.com/support
License: http://www.opensource.org/licenses/mit-license.php
Usage: cobra -h
But while trying to build a Ubuntu installation I noticed that Cobra was now at 0.96. So after installing it on Ubuntu I downloaded the zip archive to update the Windows installation. I renamed the old installation directory from C:\Cobra to C:\__Cobra, just in case I need it later.
I then ran the installation script but received an error which I no longer have access to as I closed the CMD window after it recommended running the script as Administrator. I did that and I still got an Error as follows (this is the end of output):
==== Locate msbuild.exe
Found: C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe
==== 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
: Compilation succeeded
==== Install Cobra.Core library to the GAC
Invoking Publish.GacInstall...
Done.
==== Verifying Cobra.Core.dll installed to the GAC
run: C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe -l Cobra.Core
: Microsoft (R) .NET Global Assembly Cache Utility. Version 3.5.30729.1
: Copyright (c) Microsoft Corporation. All rights reserved.
:
: The Global Assembly Cache contains the following assemblies:
:
: Number of items = 0
** ERROR: After installing the library "Cobra.Core", it cannot be loaded.
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
I tried to use the "ldr64 setwow" tip found in the troubleshooting guide (as I remember faintly I had to use it for the 0.94 version-- or at least I investigated it before-- and then run the install script but I still got the same error. I have since ran "ldr64 set64" to switch back.
What am I doing wrong?
Thanks
PS I renamed the old Cobra installation to reactivate it and it is still running fine.