Can not compile custom object #18601
-
|
Hello, after I wrote DarcyPressure object in step5 of tutorial 1, I met the problem that it could not be compiled. It shows that I can't find cstdlib, whereas I myself compiled the header file containing cstdlib separately using g++. I also had this problem with the offline version of MOOSE. It seems that I didn't install MOOSE correctly. Can anyone help me please? Thanks a lot. The following is the information returned by the terminal |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hello The compiler thinks DarcyPressure is a C source file, because of the .c extension. Please rename it to .C (capital C) and let us know if that solves the issue. Best, |
Beta Was this translation helpful? Give feedback.
Hello
The compiler thinks DarcyPressure is a C source file, because of the .c extension. Please rename it to .C (capital C) and let us know if that solves the issue.
Best,
Guillaume