EngineBuildBatchFilesBuild.bat: command not found

Hey guys im trying to compile using VS code rather then the UE4 Editor as Sam did in the video.
but im getting this error:
/usr/bin/bash: EngineBuildBatchFilesBuild.bat: command not found

im using this command:
Shift + Ctrl + B > SimpleShooterEditor Win64 Debug Build

heres what my ‘tasks.json’ looks like:

		{
			"label": "SimpleShooterEditor Win64 Debug Build",
			"group": "build",
			"command": "Engine\\Build\\BatchFiles\\Build.bat",
			"args": [
				"SimpleShooterEditor",
				"Win64",
				"Debug",
				"E:\\200529 - cpp unreal\\SimpleShooter\\SimpleShooter\\SimpleShooter.uproject",
				"-waitmutex"
			],
			"problemMatcher": "$msCompile",
			"type": "shell",
			"options": {
				"cwd": "C:\\Program Files\\UE_4.25"
			}
		},

any suggestions?

1 Like

What OS are you on? /usr/bin/bash would suggest, not Windows

Also, I’m using “Development Build”

im on windows
I setup VS code to use git bash, hence the /usr/bin/bash
not sure how to set it up to find the .bat file

same issue with the “Development Build”

FIXED > I changed the default terminal to use “cmd” rather then git bash
and it worked!

let me know if anyone figured away to use it with git bash

7 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms