Page 1 of 1

About an error when a compile cloudcompare

Posted: Thu Sep 01, 2016 8:38 am
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

Re: About an error when a compile cloudcompare

Posted: Thu Sep 01, 2016 9:56 am
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.).