# Failure of running cadabra on windows.

I have installed cadabra beta version on my windows and as soon as I opens it the windows shuts it down saying the cadabra2-gtk.exe has stopped working. What should I do to troubleshoot this problem?

Please try the new 2.2.7f installer for windows, available at

and let me know if that one is any better.

by (66.1k points)

I have updated the Windows installer to Cadabra 2.3.5. All feedback is welcome; I would like to make the windows version part of the regular release process, but that requires that we have a sufficient number of machines on which it is tested.

by (66.1k points)

Cadabra 2.3.5 can only run few seconds without any error message on my computer with win 10 and anaconda 3.8.

Cadabra 2.3.5 for Windows crashes so quickly on startup that the window never appears. Using Windows 10 Pro version 20H2.

Windows is no longer supported, a volunteer is needed to help bring this back to life.

I also tried to install Cadabra on Windows by using conda, but it errored out. Do you think it might be easier to fix that instead?

Last time I checked, conda did not have packages for all required libraries. But my main problem is essentially that I do not have unlimited time, lack experience with Windows because I do not use that platform, and there is no-one else helping out. If only there were one or two people with a bit of knowledge about building software on Windows, then I'm sure this problem could be solved.

Windows is no longer supported, I do not have the time for it anymore. Volunteers welcome to bring this back to life.

by (66.1k points)

Hi Kasper,

Thanks for letting us know that you no longer have the time to support Windows. I came here to ask if there is something I'm doing wrong, because when I run the line:

cmake --build . --config RelWithDebInfo --target install

I get the following errors:

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: The command "setlocal [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\CommonExtensions\Micro soft\CMake\CMake\bin\cmake.exe" -DBUILD_TYPE=RelWithDebInfo -P cmake_install.cmake [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmEnd [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\Cadabra\cadabra2\build\install.vcxp roj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmErrorLevel [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: exit /b %1 [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :cmDone [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\Cadabra\cadabra2\build\install.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(155,5): error MSB3073: :VCEnd" exited with code 1. [C:\Cadabra\cadabra2\build\install.vcxproj]

I am assuming this cmake failure is due to the recent non-supported status of Windows.

Nothing has changed in the build process; only my available time. So this is unrelated to the non-supported status.

I don't understand the error message; someone will have to dig through this and google MSB3073, as the messages above only say that setlocal [....] failed, not why (one of those typical totally unhelpful Visual Studio errors that made me drop 'official' support in favour of getting actual new functionality into Cadabra).