Thank you-this worked. But I am now getting errors "There was a critical error with id 'unknownMacro', when checking [filename.cpp], Analysis was aborted". I can only see the last of these, and the file named is not in the list below. Also, after the final error, cppcheck went into an infinite loop and could only be stopped by killing the process with Task Manager.
Thank you-this worked. But I am now getting errors "There was a critical error with id 'unknownMacro', when checking [filename.cpp], Analysis was aborted". I can only see the last of these, and the file named is not in the list below.
I am attempting to use cppcheck 2.17.1 on Windows 11. When I start cppcheckgui.exe,and now, following the manual, I want to import my C++ project for checking. The manual says "In the project settings dialog, the first option you see is “Import project”. It is recommended that you use this feature if you can. Cppcheck can import: • Visual studio solution / project...". I don't see a "Project settings" dialog, or any menu item to import a Visual Studio solution. If instead I choose a single C++ source...
I am attempting to use cppcheck 2.17.1 on Windows 11. When I start cppcheckgui.exe,and now, following the manual, I want to import my C++ project for checking. The manual says "In the project settings dialog, the first option you see is “Import project”. It is recommended that you use this feature if you can. Cppcheck can import: • Visual studio solution / project...". I don't see a "Project settings" dialog, or any menu item to import a Visual Studio solution. If instead I choose a single C++ source...
Comments: First, your installer DOES modify the registry. That's where the entry for ASYFile came from. Second, you cannot select the association of a file with an app if Windows doesn't know the app exists. This was the situation on my system, and it's extremely confusing. When you check the association for file type .asy, Windows shows the Asymptote logo and says the app name is Asymptote. When you look at the list of possible default apps, you see Asymptote. But as we saw, it is the MiKTex version....
I see that you are correct that I'm running miktex-asy.exe, rather than asy.exe. The question is, how is that happening? Windows' file association is set to Asymptote. But the registry shows Computer\HKEY_CLASSES_ROOT.asy default is MiKTeX 2.9, and the entry in Computer\HKEY_CLASSES_ROOT\MiKTeX.asy.2.9\shell\open\command is C:\Users\Superman\AppData\Local\Programs\MiKTeX\miktex\bin\x64\miktex-asy.exe -cd "%w" "%1". This is why when I double-click an .asy file, I start \miktex-asy.exe. The registry...
I'll have a look at the Miktex pgm. I wasn't aware that Miktex distributed Asymptote.
I uninstalled the copy on my system, downloaded from the page you referenced (this was the same page I downloaded v2.90 from a few days ago), installed the new copy, and got the same error message. The installation process looked the same. I've attached a video showing the install, starting from asymptote-2.90-setup.exe which I just downloaded.