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

BaselFace.cpp:(.text+0xc): undefined reference to `H5::DSetAccPropList::DEFAULT' #52

Open
V-ea opened this issue Jul 7, 2022 · 0 comments

Comments

@V-ea
Copy link

V-ea commented Jul 7, 2022

Scanning dependencies of target CvGl
[ 7%] Building CXX object modules/CvGl/CMakeFiles/CvGl.dir/FBRender.cpp.o
[ 14%] Linking CXX static library libCvGl.a
[ 14%] Built target CvGl
Scanning dependencies of target PoseExprLib
[ 21%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/utility.cpp.o
[ 28%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/epnp.cpp.o
[ 35%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/BaselFace.cpp.o
[ 42%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/BaselFaceEstimator.cpp.o
[ 50%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/FTModel.cpp.o
[ 57%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/FImRenderer.cpp.o
[ 64%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/RenderModel.cpp.o
[ 71%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/FaceServices2.cpp.o
[ 78%] Building CXX object modules/PoseExpr/CMakeFiles/PoseExprLib.dir/src/DlibWrapper.cpp.o
[ 85%] Linking CXX static library libPoseExprLib.a
[ 85%] Built target PoseExprLib
Scanning dependencies of target TestBump
[ 92%] Building CXX object config/CMakeFiles/TestBump.dir/__/main.cpp.o
[100%] Linking CXX executable ../bin/TestBump
../modules/PoseExpr/libPoseExprLib.a(BaselFace.cpp.o): In function readH5Dataset(H5::H5File const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': BaselFace.cpp:(.text+0xc): undefined reference to H5::DSetAccPropList::DEFAULT'
BaselFace.cpp:(.text+0x91): undefined reference to `H5::H5Location::openDataSet(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, H5::DSetAccPropList const&) const'
collect2: error: ld returned 1 exit status
config/CMakeFiles/TestBump.dir/build.make:126: recipe for target 'bin/TestBump' failed
make[2]: *** [bin/TestBump] Error 1
CMakeFiles/Makefile2:196: recipe for target 'config/CMakeFiles/TestBump.dir/all' failed
make[1]: *** [config/CMakeFiles/TestBump.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

When I followed the steps to the third-to-last command 'make', I got the above errors.
I tried to add the link libraries hdf5_cpp and hdf5 in the CMakeFiles.txt file, but it still failed.

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