Comments (5)
Did you build Dlib to shared object (.so) file?
Check the CMakeLists.txt of Dlib before building. With my version (19.10), I need to add the following line befor building Dlib:
"set(DLIB_IN_PROJECT_BUILD false)"
from extreme_3d_faces.
Hi Thanks for the reply.
I checked my CMakeLists.txt again and I found it includes "set(DLIB_IN_PROJECT_BUILD false)". I tried to build it from scratch again and the same problem comes again.
Here is my CMakeLists.txt:
get_directory_property(has_parent PARENT_DIRECTORY)
if(NOT has_parent
set(DLIB_IN_PROJECT_BUILD false)
endif()
add_subdirectory(dlib)
According to dlib:
( When you call add_subdirectory(dlib) from a parent CMake project dlib's
CMake scripts will assume you want to statically compile dlib into
whatever you are building rather than create a standalone copy of dlib.
This means CMake will build dlib as a static library, disable dlib's
install targets so they don't clutter your project, and adjust a few other
minor things that are convenient when statically building dlib as part of
your own projects.
On the other hand, if there is no parent CMake project or if
DLIB_IN_PROJECT_BUILD is set to false, CMake will compile dlib as a normal
standalone library (either shared or static, based on the state of CMake's
BUILD_SHARED_LIBS flag), and include the usual install targets so you can
install dlib on your computer via make install
. Since the only reason
to build this CMakeLists.txt (the one you are reading right now) by itself
is if you want to install dlib, we indicate as such by setting
DLIB_IN_PROJECT_BUILD to false.)
Later, I tried to delete the "add_subdirectory(dlib)" and build it again, it still does not work.
I wonder what to do now. Thanks again!
from extreme_3d_faces.
Hi @anlan625 , one temporary solution that you can do is directly add the path of the Dlib in the includes of the file modules/PoseExpr/include/DlibWrapper.h.
from extreme_3d_faces.
Thank you for your interest on my work.
I will provide Docker file to build this code in few days. Hope it will solve all compilation issues.
from extreme_3d_faces.
I have converted my code to Docker for easier installation.
from extreme_3d_faces.
Related Issues (20)
- Render 2D frontal face images using .ply files in python/bash?
- BaselFaceModel.mat not found HOT 1
- Libdl.so missing DSO from command line (undefined reference)
- GPU RAM size required to run bump maps. HOT 2
- Projection parameters.
- Bạn ơi cái này chỉ cho linux thôi ạ?
- Remove an unnecessary null pointer check
- Improve exception safety with smart pointers
- Does this work for windows?
- There was an error acquiring 3DDFA Expression Model HOT 8
- Real time use? HOT 1
- missing files in output HOT 1
- Unable to Dowload the basal Face Model HOT 1
- AttributeError: 'BatchNorm2d' object has no attribute 'track_running_stats' occured ?? When I installed torch==1.40 and torchvision==0.5.0 HOT 2
- How can I render my detialed face .ply 3D file with corresponding color with using "write_plyFloat" function in utility.cpp
- Installation is too complicated HOT 2
- terminate called after throwing an instance of 'H5::FileIException' HOT 3
- Please update code to work with current NVIDIA driver, thanks! HOT 1
- get 3d reconstructed faces with facial fine details HOT 4
- BaselFace.cpp:(.text+0xc): undefined reference to `H5::DSetAccPropList::DEFAULT'
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 extreme_3d_faces.