patrikhuber / 4dface

Real-time 3D face tracking and reconstruction from 2D video

Home Page:https://www.4dface.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

toml module is missing

qyalexwen opened this issue · comments

I created symbolic links for the external modules eos and
When I build, it still has errors:

~/dev/4dface/build$ make
[ 50%] Building CXX object CMakeFiles/4dface.dir/apps/4dface.cpp.o
In file included from /home/alex/dev/4dface/4dface-master/apps/helpers.hpp:26:0,
from /home/alex/dev/4dface/4dface-master/apps/4dface.cpp:20:
/home/alex/dev/4dface/4dface-master/external/eos/include/eos/core/LandmarkMapper.hpp:25:20: fatal error: toml.hpp: No such file or directory
compilation terminated.

I think you may need to update eos or update its submodules, i.e., in your eos directory:

$ git checkout master
$ git pull
$ git submodule update --init --recursive

Possibly you also need to add the toml11 directory to 4dface's include paths. Note that 4dface uses quite an old eos version (0.9.1) - I've never had the time to update that submodule and adjust the 4dface code accordingly. But it would be trivial.
If you want to do any serious work or evaluation of eos, I strongly suggest you use the latest eos version though from github.com/patrikhuber/eos.

After updated all the external libraries, issue resolved.