Reputation: 61
I've downloaded the MeshLab sources and updated my Qt installation to the latest (Qt Creator 4.2.0 built on Dec 9, 2016). On my first attempt to compile the meshlab_full project I found that I had to rename the io_txt folder under plugins_experimental to io_TXT. But after that it fails with this error:
In file included from ../../src/common/meshmodel.h:32:0, from ../../src/common/filterparameter.cpp:32: ../../src/common/ml_mesh_type.h:4:33: fatal error: vcg/complex/complex.h: No such file or directory #include ^ compilation terminated.
Indeed there is no vcg folder. How do I get it?
Thanks, Rich
Upvotes: 1
Views: 1875
Reputation: 7961
As commented by @AlessandroMuntoni , we can use --recursive
option, and VCG would automatically be available as a submodule:
git clone --recursive https://github.com/cnr-isti-vclab/meshlab
In meshlab.pro
it is commented:
# MESHLAB_SOURCE_DIRECTORY: the directory where is placed the main meshlab.pro
In general.pri
it is set:
# VCG directory
VCGDIR = $$MESHLAB_SOURCE_DIRECTORY/../vcglib
Therefore, I forked and cloned the VCG library inside:
|
└──meshlab (Git clone)
├──docs
├──README.md
├──src (`meshlab.pro` is inside this)
├──...
├──...
└──vcglib (Git clone)
It worked for me =)
Upvotes: 0
Reputation: 83
You need to get vcg lib. It must be at the same level than your meshlab directory :
yourdevelfolder/
|
├──meshlab
│ ├──docs
│ ├──README.md
│ ├──src
│ ├──...
│ └──...
└──vcglib
├──apps
├──doc
├──eigenlib
├──...
└──...
Than you must get vgclib sources :
$ git clone https://github.com/cnr-isti-vclab/vcglib.git
$ cd vcglib
$ git checkout devel
Instructions for compilation are there
Upvotes: 2