Unable to run msys2-x86_64-20161025.exe to install MeTA on 64 bit laptop


#1

I have 64 bit laptop. I already have Git bash, Git cmd and mingw64 installed in Program files on C drive.
After downloading msys2-x86_64-20161025.exe, I attempted to run it. But all my efforts went in vain. I even tried to delete mingw64 folder & run it, but it didn’t run.

Can anyone help me to install MeTA on my laptop ?


#2

Sorry, but can you be more specific? What do you mean it “didn’t run”? Did it error out with some error message? Did it crash? Did it just not do anything at all?

Also, since this is about installing MSYS2 and not about installing MeTA itself, you might have more luck asking the MSYS2 folks. We don’t maintain their installer, so if their installer itself is broken for you, you’ll have to turn to them for help.

FWIW, I just ran through the Windows Setup Guide myself on a 64-bit Windows 8.1 install and everything installed fine for me.


#3

Yeah mate, You answered part of my problem.

After attempting to run msys2-x86_64-20161025.exe, it did not do anything at all.

I guess because I already had mingw64 installed on my computer as it is a prerequisite for Git Bash & Git CMD. Hence, I resorted to an option of running 32 bit msys exe & it did run successfully; however even after selecting mingw64 or mingw32 application file upon installation, the unit test done with command ‘./unit-test --reporter=spec’ failed.

Good thing is that now the problem is resolved and installation done with 32 exe has worked.

The problem was with each attempt, I was creating a bash history which was a temporary memory file. I shut down & restarted the laptop & deleted bash history file and then reinstalled it. It worked successfully.

But there are other errors in running the assignment now

jantr@ABHIJIT MINGW64 ~/Assignment/build
$ cmake … -DCMAKE_BUILD_TYPE=Release; make -j8
– Building for: NMake Makefiles
– The C compiler identification is unknown
– The CXX compiler identification is unknown
CMake Error in CMakeLists.txt:
The CMAKE_C_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable “CC” or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.

CMake Error in CMakeLists.txt:
The CMAKE_CXX_COMPILER:

cl

is not a full path and was not found in the PATH.

To use the NMake generator with Visual C++, cmake must be run from a shell
that can use the compiler cl from the command line. This environment is
unable to invoke the cl compiler. To fix this problem, run cmake from the
Visual Studio Command Prompt (vcvarsall.bat).

Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

– Configuring incomplete, errors occurred!
See also “C:/msys32/home/jantr/Assignment/build/CMakeFiles/CMakeOutput.log”.
See also “C:/msys32/home/jantr/Assignment/build/CMakeFiles/CMakeError.log”.
make: *** No targets specified and no makefile found. Stop.


#4