Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error! #5

Open
oklyf opened this issue Sep 23, 2014 · 2 comments
Open

make error! #5

oklyf opened this issue Sep 23, 2014 · 2 comments

Comments

@oklyf
Copy link

oklyf commented Sep 23, 2014

hi, i am a newbie. i followed the installtion course to install the fastfusion.when i run make,there were several errors as follows:

[ 10%] Built target geometryfusion_mipmap_cpu
[ 15%] Built target camerautils
[ 40%] Built target auxiliary
[ 80%] Built target geometryfusion_aos
[ 85%] Building CXX object src/CMakeFiles/onlinefusion.dir/onlinefusionviewer.cpp.o
In file included from /home/exbot/fastfusion/src/fusion/treeandbrick.hpp:48:0,
from /home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:15,
from /home/exbot/fastfusion/src/onlinefusionviewer.hpp:14,
from /home/exbot/fastfusion/src/onlinefusionviewer.cpp:8:
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:54:2: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:85:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:86:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:86:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:87:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:87:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:88:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:88:4: warning: this decimal constant is unsigned only in ISO C90 [enabled by default]
In file included from /home/exbot/fastfusion/src/fusion/treeandbrick.hpp:48:0,
from /home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:15,
from /home/exbot/fastfusion/src/onlinefusionviewer.hpp:14,
from /home/exbot/fastfusion/src/onlinefusionviewer.cpp:8:
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp: In member function ‘void MCNSplit::print() const’:
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:406:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:412:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:418:67: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:427:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:434:67: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘unsigned int’ [-Wformat]
/home/exbot/fastfusion/src/fusion/treeandbrick_incremental.hpp:439:52: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
In file included from /home/exbot/fastfusion/src/onlinefusionviewer.hpp:14:0,
from /home/exbot/fastfusion/src/onlinefusionviewer.cpp:8:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp: In function ‘std::string getNameD(size_t)’:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:77:40: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp: In function ‘std::string getNameR(size_t)’:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:82:40: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp: In function ‘std::string getNameG(size_t)’:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:87:40: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp: In function ‘std::string getNameB(size_t)’:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:92:40: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp: In function ‘std::string getNameRGB(size_t)’:
/home/exbot/fastfusion/src/fusion/geometryfusion_mipmap_cpu.hpp:97:38: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In member function ‘virtual void OnlineFusionViewerManipulated::init()’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:463:55: error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’
/usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of ‘struct qglviewer::ManipulatedFrame’
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In member function ‘void OnlineFusionViewerManipulated::setScenePosition(CameraInfo)’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:533:20: error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’
/usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of ‘struct qglviewer::ManipulatedFrame’
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:534:20: error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’
/usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of ‘struct qglviewer::ManipulatedFrame’
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In member function ‘virtual void OnlineFusionViewerManipulated::draw()’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:557:35: error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’
/usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of ‘struct qglviewer::ManipulatedFrame’
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In member function ‘virtual void OnlineFusionViewerManipulated::fastDraw()’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:587:35: error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’
/usr/include/QGLViewer/qglviewer.h:36:7: error: forward declaration of ‘struct qglviewer::ManipulatedFrame’
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In function ‘void fusionWrapper(std::vectorstd::vector<std::basic_string >, std::vectorstd::vector<std::basic_string >, std::vectorstd::vector, FusionParameter, volatile long int_, volatile long int_, volatile bool_, volatile bool_, volatile bool_)’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:981:45: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:981:45: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:981:45: warning: format ‘%li’ expects argument of type ‘long int’, but argument 5 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:1041:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:1047:65: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp: In member function ‘void OnlineFusionViewerManipulated::updateSlot()’:
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:1173:48: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:1173:48: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘size_t {aka unsigned int}’ [-Wformat]
/home/exbot/fastfusion/src/onlinefusionviewer.cpp:1217:98: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘std::vectorstd::vector<std::basic_string >::size_type {aka unsigned int}’ [-Wformat]
make[2]: *_* [src/CMakeFiles/onlinefusion.dir/onlinefusionviewer.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/onlinefusion.dir/all] Error 2
make: *** [all] Error 2

have someone had this problem? i need help! thank you very much !
ubuntu 12.04 and i had installed libQGLViewer-2.5.3.

@better629
Copy link

I compiled the qglviewer source code and got the same problem that "error: invalid use of incomplete type ‘struct qglviewer::ManipulatedFrame’" .try sudo apt-get install libqglviewer-dev .I solve the problem.

@zhangxaochen
Copy link

I've got the same problem, NOTE that when try sudo apt-get install libqglviewer-dev as @better629 said, I have to uninstall the old qglviewer via make uninstall. Then build succeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants