Skip to content

ProcessException: Failed to find "cmake" in the search path #88897

@christopherfujino

Description

@christopherfujino

Version: beta/2.5.0-5.2.pre
Command: flutter build linux --release

Thread 0 main threadProcessPackageException: ProcessException: Failed to find "cmake" in the search path.  Command: cmake 
at LocalProcessManager.start(local_process_manager.dart:58)
at ErrorHandlingProcessManager.start.<anonymous closure>(error_handling_io.dart:691)
at _run(error_handling_io.dart:567)
at ErrorHandlingProcessManager.start(error_handling_io.dart:690)
at _DefaultProcessUtils.start(process.dart:425)
at _DefaultProcessUtils.stream(process.dart:444)
at _runCmake(build_linux.dart:127)
at <asynchronous gap>(async)
at buildLinux(build_linux.dart:75)
at <asynchronous gap>(async)
at BuildLinuxCommand.runCommand(build_linux.dart:88)
at <asynchronous gap>(async)
at FlutterCommand.run.<anonymous closure>(flutter_command.dart:1125)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at CommandRunner.runCommand(command_runner.dart:209)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand.<anonymous closure>(flutter_command_runner.dart:288)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at FlutterCommandRunner.runCommand(flutter_command_runner.dart:236)
at <asynchronous gap>(async)
at run.<anonymous closure>.<anonymous closure>(runner.dart:62)
at <asynchronous gap>(async)
at AppContext.run.<anonymous closure>(context.dart:150)
at <asynchronous gap>(async)
at main(executable.dart:92)
at <asynchronous gap>(async)

Metadata

Metadata

Labels

P2Important issues not at the top of the work listplatform-linuxBuilding on or for Linux specificallytoolAffects the "flutter" command-line tool. See also t: labels.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions