-
Notifications
You must be signed in to change notification settings - Fork 25
How to run on Windows
Alan Liang edited this page Jun 11, 2022
·
8 revisions
-
Install Docker and open it
-
Open Windows PowerShell and run the following commands:
Get demo code:
git clone https://github.com/naivesystems/analyze-demo.git cd analyze-demo mkdir output
Run NaiveSystems™ Analyze with Docker:
docker run -v ${pwd}:/src -v ${pwd}/.naivesystems:/config -v ${pwd}/output:/output ccr.ccs.tencentyun.com/naivesystems/analyze:2022.1.0.515002 /opt/naivesystems/misra_analyzer -show_results
-
If you see this error:
standard_init_linux.go:228: exec user process caused: no such file or directory
Make sure that the text-line ending format of run_analyzer is LF instead of CRLF (use Visual Studio Code or modify Git configuration settings)