Skip to content

About the Step 5 in tutorial, I get Fatal error: <string> no such file or directory #26415

Discussion options

You must be logged in to vote

Because of your kernel file extension the compiler is attempting to compile moose in c, rather than its natural c++ language. The kernel file should be '.C' (uppercase dot c) and not '.c' (lowercase dot c).

This issue here has a similar cause and effect: #18050

This is what a successful output looks like. Note that it says 'Compiling C++' rather than C, as it does with your attempts.

(moose) neutralchaos@neutralchaos-To-be-filled-by-O-E-M:~/projects/babbler$ make -j 4
Checking if header needs updating: /home/neutralchaos/projects/moose/framework/include/base/MooseRevision.h...
Creating Unity /home/neutralchaos/projects/babbler/build/unity_src/kernels_Unity.C
Compiling C++ (in opt mode) /h…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Hatomzre
Comment options

@GiudGiud
Comment options

@Hatomzre
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Hatomzre
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants