Skip to content

Build failure (from source) fatal error: local_scheduler/format/local_scheduler_generated.h: No such file or directory #2185

Closed
@ejxqy

Description

System information

  • Linux Ubuntu 18.04:
  • Ray installed from source:
  • Latest version from git (commit-id: 19d6ca0):
  • Python version 3.6.5:
  • Exact command to reproduce "python setup.py install":

Describe the problem

Build fails with the error "local_scheduler_generated.h: No such file or directory"

Source code / logs

[ 44%] Building CXX object src/ray/CMakeFiles/ray_objlib.dir/raylet/node_manager.cc.o
/home/js/ray/src/ray/raylet/node_manager.cc:4:10: fatal error: local_scheduler/format/local_scheduler_generated.h: No such file or directory
#include "local_scheduler/format/local_scheduler_generated.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/ray/CMakeFiles/ray_objlib.dir/build.make:413: recipe for target 'src/ray/CMakeFiles/ray_objlib.dir/raylet/node_manager.cc.o' failed
make[2]: *** [src/ray/CMakeFiles/ray_objlib.dir/raylet/node_manager.cc.o] Error 1
CMakeFiles/Makefile2:331: recipe for target 'src/ray/CMakeFiles/ray_objlib.dir/all' failed
make[1]: *** [src/ray/CMakeFiles/ray_objlib.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

error.log

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions