About an error when a compile cloudcompare

Feel free to ask any question here
Post Reply
swjtuztg
Posts: 1
Joined: Thu Sep 01, 2016 8:19 am

About an error when a compile cloudcompare

Post by swjtuztg »

When I try to compile the cloudcompare, I meet an error with plugins, who can tell me how to solve it?

Code: ccPluginInfo.h line 122--129
//now iterate over plugins and automatically register what we can
for ( tPluginInfo &plugin : plugins )
{
if (!plugin.object)
{
assert(false);
continue;
}
Error:
error C2143: syntax error : missing ';' before '{' X:\algorithms\CloudCompare\SRC\plugins\ccPluginInfo.h 124

Environment:
1. Win10 X64
2. VS2010
3. QT5.5.0 (vs2010, X86, 32bit)
4. Cloudcompare source code download from https://github.com/cloudcompare/trunk
daniel
Site Admin
Posts: 7711
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: About an error when a compile cloudcompare

Post by daniel »

Since version 2.7 CloudCompare requires a C++ x11 compliant compiler. Visual 2010 and 2012 are too old (it doesn't support lambdas, etc.).
Daniel, CloudCompare admin
Post Reply