Comments (6)
You also need to link to libhdf5_hl_cpp.so
and libhdf5_cpp.so
. In face_swap/face_swap/CMakeLists.txt
, add /path/to/libhdf5_hl_cpp.so
and /path/to/libhdf5_cpp.so
to target_link_libraries(face_swap ... )
after ${HDF5_LIBRARIES}
(#L38)
Both files are most likely included in your anaconda2's library directory (/home/zmce/anaconda2/lib/
, as are libhdf5_hl.so and libhdf5.so).
from face_swap.
@tjusxh You need to edit the CMakeList.txt in subdirectory ./face_swap (i.e. face_swap/face_swap/CMakeLists.txt, not the one at the project root (i.e. not face_swap/CMakeLists.txt).
I just edited the previous comment to make it clearer.
from face_swap.
Don't rely on the libraries that come with Anaconda.
Download the binaries from the official site or build your own version of HDF5.
from face_swap.
Hi, @hoamle , It is be fixed.Thanks
from face_swap.
Hi, @inkImage I get the same error, but I am not clearly have to fix it.
I can't find ${HDF5_LIBRARIES} in CMakeList.txt.
Could you help me? Thanks.
from face_swap.
@hoamle
According to your suggestion. I change the CMakeList.txt as following. But my question still exist. Please give me some suggestion. Thanks very much!
if(MSVC)
Find HDF5 using it's hdf5-config.cmake file with MSVC
if(DEFINED HDF5_DIR)
list(APPEND CMAKE_MODULE_PATH ${HDF5_DIR})
endif()
find_package(HDF5 COMPONENTS C HL CXX REQUIRED)
set(HDF5_LIBRARIES hdf5-shared hdf5_cpp-shared)
set(HDF5_HL_LIBRARIES hdf5_hl-shared)
target_link_libraries(face_swap "/usr/lib/x86_64-linux-gnu/libhdf5_cpp.so")
target_link_libraries(face_swap "/usr/lib/x86_64-linux-gnu/libhdf5_hl_cpp.so")
else()
find_package(HDF5 COMPONENTS HL REQUIRED)
endif()
My libhdf5_cpp.so and libhdf5_hl_cpp.so are located in /usr/lib/x86_64-linux-gnu.
from face_swap.
Related Issues (20)
- Any suggestion for improve the face_swap precision? How to tune the parameter? HOT 2
- the video generated by image2video is shaking . HOT 10
- ubuntu run out of memory HOT 2
- dlib error
- libraries may not be found correctly HOT 6
- OpenCV installation error HOT 4
- Biding error---Configuring incomplete, errors occurred HOT 1
- "No module named 'face_swap_py'" error while using Python interface HOT 1
- How to use render in python? HOT 1
- "make -j8 of face_swap" error / IplImage temp = img HOT 1
- face is missing on some frame of video
- face_swap_image: command not found HOT 1
- FSGAN: Subject Agnostic Face Swapping and Reenactment HOT 1
- h
- is there a color correct option? HOT 1
- face_swap/face_swap_export.h is missing HOT 1
- Platform support
- Problem with Boost version. Trying to downgrade from 1.78 to 1.65.1 without luck. HOT 1
- Openblas and GFortran issue
- Facial expression drive?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from face_swap.