Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It shows that yaml-cpp/yaml.h not found during make, but I can find the yaml.h for 100% sure #514

Closed
RogerSang opened this issue Sep 17, 2020 · 1 comment

Comments

@RogerSang
Copy link

It shows that yaml-cpp/yaml.h not found during make, but I can find the yaml.h for 100% sure

Scanning dependencies of target nalu
[ 0%] Building CXX object CMakeFiles/nalu.dir/src/Adapter.C.o
[ 1%] Building CXX object CMakeFiles/nalu.dir/src/Algorithm.C.o
[ 1%] Building CXX object CMakeFiles/nalu.dir/src/AlgorithmDriver.C.o
[ 2%] Building CXX object CMakeFiles/nalu.dir/src/AssembleContinuityEdgeContactSolverAlgorithm.C.o
In file included from /home/zsl1990/nalu_build_dir/nalu/include/NaluParsing.h:12:0,
from /home/zsl1990/nalu_build_dir/nalu/include/EquationSystem.h:12,
from /home/zsl1990/nalu_build_dir/nalu/src/AssembleContinuityEdgeContactSolverAlgorithm.C:11:
/home/zsl1990/nalu_build_dir/nalu/include/BoundaryConditions.h:15:27: fatal error: yaml-cpp/yaml.h: No such file or directory
#include <yaml-cpp/yaml.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/nalu.dir/src/AssembleContinuityEdgeContactSolverAlgorithm.C.o] Error 1
make[1]: *** [CMakeFiles/nalu.dir/all] Error 2
make: *** [all] Error 2

While I open the file in the install folder, I can very clearly find the yaml.h in the /home/zsl1990/install/yaml/include/yaml-cpp. So what's wrong with my installation, what should I do to deal with the problem. Thanks so much for your help!

@RogerSang
Copy link
Author

And there is no problem during the ./do-configNalu step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant