Issue building in Docker - gmake: Makefile: No such file or directory
I've been following the Building MoonRay in a Docker container guide with success right up until running the final build.
When running cmake --build --preset container-release -- -j 64 I just get back;
gmake: Makefile: No such file or directory
gmake: *** No rule to make target 'Makefile'. Stop.
I've tried deleting everything and starting over but still get the same error Is there something I'm doing wrong in the process of Step 3 of the guide? Attached is the full output. makefileerror.txt
same issue here,
during the previous
cmake --preset container-release
command
I get a
The source directory
/openmoonray/moonray/moonray_dcc_plugins
does not contain a CMakeLists.txt file.
error and a final -- Could NOT find Mkl (missing: Mkl_INCLUDE_DIR) -- Configuring incomplete, errors occurred! See also "/build/CMakeFiles/CMakeOutput.log". See also "/build/CMakeFiles/CMakeError.log". error. I cant seem to find a fix but its been doing this all day and i have tried multiple times to solve it and all have failed
The "does not contain a CMakeLists.txt file" problem sounds like you may have forgotten to add --recurse-submodules when you cloned.
From the top-level source dir try running git submodule update --init --checkout.
The Mkl warning is a non-issue, you can safely ignore it.
Oh actually... moonray_dcc_plugins contains files with filenames that are illegal on Windows ("::" in the filenames). Your initial clone may have failed on that submodule. I saw other people also ran into that, and there are some suggested workarounds mentioned in those threads.
It appears to work now up to the final build. It begins, unlike before, but then throws a 'Error 2' error. with In file included from /openmoonray/moonray/scene_rdl2/lib/render/logging/logging.cc:7: /openmoonray/moonray/scene_rdl2/lib/render/logging/logging.h:9:10: fatal error: scene_rdl2/render/util/AtomicFloat.h: No such file or directory 9 | #include <scene_rdl2/render/util/AtomicFloat.h> |
being throws during the process