Page 1 of 2

linux compilation

Posted: Wed Nov 18, 2015 6:10 pm
by erwan2970
Hello,

I am working on Linux Mint 17.2 with CC since a year but there is only the pre-build old version 2.6.0...
I try to make a compilation of 2.6.2 version without success. I use some of plugins (poisson, ...). I can't use all because a lot of need library I can't install...
I use Cmake, make some choices (options, plugins) : configure done, generate done.
I quit Cmake, go to /build and do "make install" ... crash
[ 1%] Built target triangle
[ 7%] Built target CC_CORE_LIB
[ 7%] Built target DXF_LIB
[ 8%] Built target GLEW_LIB
[ 9%] Built target CC_FBO_LIB
[ 9%] Generating moc_ccOctree.cxx
moc: Cannot open options file specified with @
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nn do not display notes
-nw do not display warnings
@<file> read additional options from file
-v display version of moc
make[2]: *** [libs/qCC_db/moc_ccOctree.cxx] Erreur 1
make[1]: *** [libs/qCC_db/CMakeFiles/QCC_DB_LIB.dir/all] Erreur 2
make: *** [all] Erreur 2
Has someone have any idea ?

thank you

Erwan

Re: linux compilation

Posted: Thu Nov 19, 2015 8:20 am
by daniel
I had the exact same issue this morning (on Windows). I simply ran CMake again and it fixed the issue.

Just before that I was struggling with my antivirus software (avast) which was preventing Visual Studio or Qt from creating moc files... But as you are on Linux I bet you don't have this kind of issues ;)

Re: linux compilation

Posted: Sun Nov 22, 2015 9:22 am
by erwan2970
Hi,

Ran CMake again don't fix the issue. It's the same. And I don't have antivirus anyway :)

Re: linux compilation

Posted: Sun Nov 22, 2015 7:52 pm
by daniel
Have you tried to clean the solution and rebuild it? Or even retry a new project from scratch.

By the way which version of Qt are you using?

Re: linux compilation

Posted: Mon Nov 23, 2015 8:59 am
by erwan2970
I try all and I use QT4.
May be some libraries are missing ?

Re: linux compilation

Posted: Mon Nov 23, 2015 10:25 am
by daniel
Well, as this is a 'mocing' issue (i.e. wrong call to Qt's moc executable) it's either a Qt issue or a CMake issue...

Re: linux compilation

Posted: Mon Nov 23, 2015 5:19 pm
by erwan2970
In the future may be the solution could a standalone Linux version !)

I tried again with only Poisson (from CC github) and DXF (from Qcad) :
Now it's correct until 37%
It's better
[ 37%] Building CXX object libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/BinFilter.cpp.o
[ 37%] Building CXX object libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/DxfFilter.cpp.o
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp: In member function ‘virtual CC_FILE_ERROR DxfFilter::saveToFile(ccHObject*, QString, FileIOFilter::SaveParameters&)’:
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:616:8: error: ‘class DL_WriterA’ has no member named ‘tableLineTypes’
dw->tableLineTypes(25);
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:617:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("BYBLOCK", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:617:55: error: ‘DL_LineTypeData’ was not declared in this scope
dxf.writeLineType(*dw, DL_LineTypeData("BYBLOCK", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:618:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("BYLAYER", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:619:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("CONTINUOUS", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:620:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("ACAD_ISO02W100", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:621:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("ACAD_ISO03W100", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:622:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("ACAD_ISO04W100", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:623:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("ACAD_ISO05W100", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:624:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("BORDER", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:625:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("BORDER2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:626:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("BORDERX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:627:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("CENTER", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:628:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("CENTER2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:629:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("CENTERX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:630:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHDOT", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:631:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHDOT2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:632:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHDOTX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:633:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHED", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:634:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHED2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:635:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DASHEDX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:636:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DIVIDE", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:637:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DIVIDE2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:638:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DIVIDEX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:639:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DOT", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:640:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DOT2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:641:8: error: ‘class DL_Dxf’ has no member named ‘writeLineType’
dxf.writeLineType(*dw, DL_LineTypeData("DOTX2", 0));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:657:17: error: no matching function for call to ‘DL_Attributes::DL_Attributes(std::string, DL_Codes::color, int, const char [11])’
"CONTINUOUS")); // default line style
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:657:17: note: candidates are:
In file included from /opt/sources/dxflib-3.12.2-src/src/dl_dxf.h:37:0,
from /opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:36:
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: DL_Attributes::DL_Attributes(const string&, int, int, int, const string&, int)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: candidate expects 6 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: DL_Attributes::DL_Attributes(const string&, int, int, const string&, double)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: candidate expects 5 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: DL_Attributes::DL_Attributes()
DL_Attributes() :
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: candidate expects 0 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(const DL_Attributes&)
class DXFLIB_EXPORT DL_Attributes {
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(DL_Attributes&&)
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:674:18: error: no matching function for call to ‘DL_Attributes::DL_Attributes(std::string, DL_Codes::color, int, const char [11])’
"CONTINUOUS"));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:674:18: note: candidates are:
In file included from /opt/sources/dxflib-3.12.2-src/src/dl_dxf.h:37:0,
from /opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:36:
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: DL_Attributes::DL_Attributes(const string&, int, int, int, const string&, int)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: candidate expects 6 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: DL_Attributes::DL_Attributes(const string&, int, int, const string&, double)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: candidate expects 5 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: DL_Attributes::DL_Attributes()
DL_Attributes() :
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: candidate expects 0 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(const DL_Attributes&)
class DXFLIB_EXPORT DL_Attributes {
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(DL_Attributes&&)
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:692:18: error: no matching function for call to ‘DL_Attributes::DL_Attributes(std::string, DL_Codes::color, int, const char [11])’
"CONTINUOUS"));
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:692:18: note: candidates are:
In file included from /opt/sources/dxflib-3.12.2-src/src/dl_dxf.h:37:0,
from /opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:36:
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: DL_Attributes::DL_Attributes(const string&, int, int, int, const string&, int)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: candidate expects 6 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: DL_Attributes::DL_Attributes(const string&, int, int, const string&, double)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: candidate expects 5 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: DL_Attributes::DL_Attributes()
DL_Attributes() :
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: candidate expects 0 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(const DL_Attributes&)
class DXFLIB_EXPORT DL_Attributes {
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(DL_Attributes&&)
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:754:87: error: no matching function for call to ‘DL_Attributes::DL_Attributes(const char*, DL_Codes::color, int, const char [8])’
DL_Attributes(qPrintable(polyLayerNames), DL_Codes::bylayer, -1, "BYLAYER") ); //DGM: warning, toStdString doesn't preserve "local" characters
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:754:87: note: candidates are:
In file included from /opt/sources/dxflib-3.12.2-src/src/dl_dxf.h:37:0,
from /opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:36:
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: DL_Attributes::DL_Attributes(const string&, int, int, int, const string&, int)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: candidate expects 6 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: DL_Attributes::DL_Attributes(const string&, int, int, const string&, double)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: candidate expects 5 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: DL_Attributes::DL_Attributes()
DL_Attributes() :
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: candidate expects 0 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(const DL_Attributes&)
class DXFLIB_EXPORT DL_Attributes {
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(DL_Attributes&&)
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:788:87: error: no matching function for call to ‘DL_Attributes::DL_Attributes(const char*, DL_Codes::color, int, const char [8])’
DL_Attributes(qPrintable(meshLayerNames[j]), DL_Codes::bylayer, -1, "BYLAYER")); //DGM: warning, toStdString doesn't preserve "local" characters
^
/opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:788:87: note: candidates are:
In file included from /opt/sources/dxflib-3.12.2-src/src/dl_dxf.h:37:0,
from /opt/sources/cc-trunk/libs/qCC_io/DxfFilter.cpp:36:
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: DL_Attributes::DL_Attributes(const string&, int, int, int, const string&, int)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:97:5: note: candidate expects 6 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: DL_Attributes::DL_Attributes(const string&, int, int, const string&, double)
DL_Attributes(const std::string& layer,
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:70:5: note: candidate expects 5 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: DL_Attributes::DL_Attributes()
DL_Attributes() :
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:48:5: note: candidate expects 0 arguments, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(const DL_Attributes&)
class DXFLIB_EXPORT DL_Attributes {
^
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: DL_Attributes::DL_Attributes(DL_Attributes&&)
/opt/sources/dxflib-3.12.2-src/src/dl_attributes.h:41:21: note: candidate expects 1 argument, 4 provided
make[2]: *** [libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/DxfFilter.cpp.o] Erreur 1
make[1]: *** [libs/qCC_io/CMakeFiles/QCC_IO_LIB.dir/all] Erreur 2
make: *** [all] Erreur 2

Re: linux compilation

Posted: Mon Nov 23, 2015 5:21 pm
by erwan2970
Maybe you could give me the links to good sources ?
poisson recon
dxf
...

Re: linux compilation

Posted: Mon Nov 23, 2015 5:57 pm
by daniel
PoissonRecon should be cloned from https://github.com/cloudcompare/PoissonRecon (however it's already declared as a submodule of CC's repository so you should get it automatically when updating it...).

And the last version of dxflib we have tested is 3.3.4 (see http://www.cloudcompare.org/doc/wiki/in ... ib_support).

Re: linux compilation

Posted: Mon Nov 23, 2015 6:47 pm
by erwan2970
I already use this https://github.com/cloudcompare/PoissonRecon
I put it on cc-trunk/plugins/qPoissonRecon/PoissonReconLib/

DXFLib I used before the last version 3.12.2
now I use the 3.3.4
[ 1%] Built target triangle
[ 9%] Built target CC_CORE_LIB
[ 9%] Built target DXF_LIB
[ 9%] Built target GLEW_LIB
[ 10%] Built target CC_FBO_LIB
[ 24%] Built target QCC_DB_LIB
[ 38%] Built target QCC_IO_LIB
[ 39%] Built target QCC_GL_LIB
[ 39%] Building CXX object plugins/qPoissonRecon/PoissonReconLib/CMakeFiles/QPOISSON_RECON_LIB.dir/Src_CC_wrap/PoissonReconLib.cpp.o
In file included from /usr/include/c++/4.8/ext/hash_map:60:0,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/Hash.h:7,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/Geometry.h:35,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/Ply.h:222,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/PoissonReconLib.h:21,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/PoissonReconLib.cpp:18:
/usr/include/c++/4.8/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
In file included from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.h:665:0,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/PoissonReconLib.cpp:36:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl: In static member function ‘static double Octree<Real>::MemoryUsage()’:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl:70:23: error: ‘MemoryInfo’ was not declared in this scope
double mem = double( MemoryInfo::Usage() ) / (1<<20);
^
In file included from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.h:665:0,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/PoissonReconLib.cpp:36:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl: In member function ‘int Octree<Real>::SetTree(OrientedPointStream<PointReal>*, int, int, int, int, Real, Real, bool, bool, Real, int, SparseNodeData<Real, WeightDegree>&, SparseNodeData<PointData<Real>, 0>&, SparseNodeData<Point3D<Real>, NormalDegree>&, SparseNodeData<Real, NormalDegree>&, SparseNodeData<Octree<Real>::ProjectiveData<_Data>, DataDegree>*, XForm4x4<Real>&, bool, bool)’:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl:162:19: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
double t = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl:162:19: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl:191:19: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
double t = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.inl:348:149: note: #pragma message: [WARNING] This is likely wrong as it only forces the normal component of the coefficient to be zero, not the actual vector-field
#pragma message( "[WARNING] This is likely wrong as it only forces the normal component of the coefficient to be zero, not the actual vector-field" )
^
In file included from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.h:668:0,
from /opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/PoissonReconLib.cpp:36:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl: In member function ‘int Octree<Real>::_SolveSystemGS(const BSplineData<FEMDegree>&, SparseNodeData<PointData<Real>, 0>&, int, DenseNodeData<Real, FEMDegree>&, DenseNodeData<Real, FEMDegree>&, DenseNodeData<Real, FEMDegree>&, int, bool, bool, double*, double*, double*, bool)’:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:891:25: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
evaluateTime = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:893:25: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
evaluateTime = Time() - evaluateTime;
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:919:14: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
t = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:924:24: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
systemTime += Time()-t;
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:943:13: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
t = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:961:22: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
solveTime += Time() - t;
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl: In member function ‘int Octree<Real>::_SolveSystemCG(const BSplineData<FEMDegree>&, SparseNodeData<PointData<Real>, 0>&, int, DenseNodeData<Real, FEMDegree>&, DenseNodeData<Real, FEMDegree>&, DenseNodeData<Real, FEMDegree>&, int, bool, bool, double*, double*, double*, double)’:
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1040:25: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
evaluateTime = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1042:25: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
evaluateTime = Time() - evaluateTime;
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1050:20: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
systemTime = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1052:20: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
systemTime = Time()-systemTime;
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1054:19: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
solveTime = Time();
^
/opt/sources/cc-trunk/plugins/qPoissonRecon/PoissonReconLib/Src_CC_wrap/../Src/MultiGridOctreeData.System.inl:1083:19: error: there are no arguments to ‘Time’ that depend on a template parameter, so a declaration of ‘Time’ must be available [-fpermissive]
solveTime = Time()-solveTime;
^
make[2]: *** [plugins/qPoissonRecon/PoissonReconLib/CMakeFiles/QPOISSON_RECON_LIB.dir/Src_CC_wrap/PoissonReconLib.cpp.o] Erreur 1
make[1]: *** [plugins/qPoissonRecon/PoissonReconLib/CMakeFiles/QPOISSON_RECON_LIB.dir/all] Erreur 2
make: *** [all] Erreur 2