help > building Vaa3d on Ubuntu
Showing 1-3 of 3 posts
Nov 25, 2014 06:11 PM | Hanchuan Peng
building Vaa3d on Ubuntu
Dear Hanchuan,
Following your helpful hints, I have successfully built v3d on ubuntu by manually tweaking the Makefile with adding '-I//usr/local/Trolltech/Qt-4.7.3/demos/shared' and '-L/usr/local/Trolltech/Qt-4.7.3/demos/shared -ldemo_shared'
Future discussions will be tracked in the forum instead.
Regards,
Siqi
On 25/11/14 12:35, Hanchuan Peng wrote:
> Siqi,
>
> From qt 4.7.3, did you build the demos? arthurwidgets.h is part of the demo code.
>
> Please also try to track these tech problems at our discussion forum
>
> http://www.nitrc.org/forum/forum.php?for...
>
> -Hanchuan
>
>
> On Mon, Nov 24, 2014 at 5:24 PM, Siqi Liu wrote:
>
> Dear Hanchuan,
>
> I am trying to compile the latest source of v3d on ubuntu 14. Following the compiling tutorial and the previous posts in FAQ. I installed qt4.7.3 from source.
>
> The message 'fatal error: arthurwidgets.h: No such file or directory' is still there.
> ============
> ...
>
> /QtGui -I/usr/local/Trolltech/Qt-4.7.3/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.3/include/QtXml -I/usr/local/Trolltech/Qt-4.7.3/include/QtSvg -I/usr/local/Trolltech/Qt-4.7.3/include -I. -I../common_lib/include -I/usr/bin/../demos/shared -I/usr/lib64/qt4/demos/shared -I../common_lib/include -I/usr/X11R6/include -I. -I. -o basic_4dimage_create.o ../basic_c_fun/basic_4dimage_create.cpp
> g++ -c -m64 -pipe -DWITH_NONAMESPACES -DWITH_PURE_VIRTUAL -O2 -D_REENTRANT -w -D__NAWEBSERVICE__ -D_ALLOW_WORKMODE_MENU_ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.3/mkspecs/linux-g++-64 -I. -I/usr/local/Trolltech/Qt-4.7.3/include/QtCore -I/usr/local/Trolltech/Qt-4.7.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.7.3/include/QtGui -I/usr/local/Trolltech/Qt-4.7.3/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.3/include/QtXml -I/usr/local/Trolltech/Qt-4.7.3/include/QtSvg -I/usr/local/Trolltech/Qt-4.7.3/include -I. -I../common_lib/include -I/usr/bin/../demos/shared -I/usr/lib64/qt4/demos/shared -I../common_lib/include -I/usr/X11R6/include -I. -I. -o v3d_plugin_loader.o ../plugin_loader/v3d_plugin_loader.cpp
> In file included from ../plugin_loader/../3drenderer/v3dr_common.h:265:0,
> from ../plugin_loader/../3drenderer/v3dr_glwidget.h:41,
> from ../plugin_loader/v3d_plugin_loader.cpp:42:
> ../plugin_loader/../3drenderer/../v3d/v3d_core.h:88:27: fatal error: arthurwidgets.h: No such file or directory
> #include "arthurwidgets.h"
> ^
> compilation terminated.
> ...
>
> ============
>
>
> So I tricked the #include "arthurwidgets.h" in 'v3d_core.h' with #include "/my/real/path/to/arthurwidgets.h" as commented in v3d_core.h. The 'No such file or directory' message has been passed. I got a new error complaining as below which might indicate the implementation of arthurwidgets.cpp has not been found. Is it a known issue with a solution?
> =============
>
> lib64 -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lpthread -lGLU -lGL
> v3d_core.o: In function 'XFormView::XFormView(QWidget*)':
> v3d_core.cpp:(.text+0xc430): undefined reference to 'ArthurFrame::ArthurFrame(QWidget*)'
> v3d_core.o: In function 'ArthurFrame::~ArthurFrame()':
> v3d_core.cpp:(.text._ZN11ArthurFrameD2Ev[_ZN11ArthurFrameD5Ev]+0xc): undefined reference to 'vtable for ArthurFrame'
> v3d_core.cpp:(.text._ZN11ArthurFrameD2Ev[_ZN11ArthurFrameD5Ev]+0x14): undefined reference to 'vtable for ArthurFrame'
> v3d_core.o: In function 'ArthurFrame::~ArthurFrame()':
> v3d_core.cpp:(.text._ZN11ArthurFrameD0Ev[_ZN11ArthurFrameD0Ev]+0xc): undefined reference to 'vtable for ArthurFrame'
> v3d_core.cpp:(.text._ZN11ArthurFrameD0Ev[_ZN11ArthurFrameD0Ev]+0x14): undefined reference to 'vtable for ArthurFrame'
> moc_v3d_core.o: In function 'XFormView::qt_metacall(QMetaObject::Call, int, void**)':
> moc_v3d_core.cpp:(.text+0xc3): undefined reference to 'ArthurFrame::qt_metacall(QMetaObject::Call, int, void**)'
>
> =============
>
> Cheers!
>
> Siqi
>
Following your helpful hints, I have successfully built v3d on ubuntu by manually tweaking the Makefile with adding '-I//usr/local/Trolltech/Qt-4.7.3/demos/shared' and '-L/usr/local/Trolltech/Qt-4.7.3/demos/shared -ldemo_shared'
Future discussions will be tracked in the forum instead.
Regards,
Siqi
On 25/11/14 12:35, Hanchuan Peng wrote:
> Siqi,
>
> From qt 4.7.3, did you build the demos? arthurwidgets.h is part of the demo code.
>
> Please also try to track these tech problems at our discussion forum
>
> http://www.nitrc.org/forum/forum.php?for...
>
> -Hanchuan
>
>
> On Mon, Nov 24, 2014 at 5:24 PM, Siqi Liu wrote:
>
> Dear Hanchuan,
>
> I am trying to compile the latest source of v3d on ubuntu 14. Following the compiling tutorial and the previous posts in FAQ. I installed qt4.7.3 from source.
>
> The message 'fatal error: arthurwidgets.h: No such file or directory' is still there.
> ============
> ...
>
> /QtGui -I/usr/local/Trolltech/Qt-4.7.3/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.3/include/QtXml -I/usr/local/Trolltech/Qt-4.7.3/include/QtSvg -I/usr/local/Trolltech/Qt-4.7.3/include -I. -I../common_lib/include -I/usr/bin/../demos/shared -I/usr/lib64/qt4/demos/shared -I../common_lib/include -I/usr/X11R6/include -I. -I. -o basic_4dimage_create.o ../basic_c_fun/basic_4dimage_create.cpp
> g++ -c -m64 -pipe -DWITH_NONAMESPACES -DWITH_PURE_VIRTUAL -O2 -D_REENTRANT -w -D__NAWEBSERVICE__ -D_ALLOW_WORKMODE_MENU_ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.3/mkspecs/linux-g++-64 -I. -I/usr/local/Trolltech/Qt-4.7.3/include/QtCore -I/usr/local/Trolltech/Qt-4.7.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.7.3/include/QtGui -I/usr/local/Trolltech/Qt-4.7.3/include/QtOpenGL -I/usr/local/Trolltech/Qt-4.7.3/include/QtXml -I/usr/local/Trolltech/Qt-4.7.3/include/QtSvg -I/usr/local/Trolltech/Qt-4.7.3/include -I. -I../common_lib/include -I/usr/bin/../demos/shared -I/usr/lib64/qt4/demos/shared -I../common_lib/include -I/usr/X11R6/include -I. -I. -o v3d_plugin_loader.o ../plugin_loader/v3d_plugin_loader.cpp
> In file included from ../plugin_loader/../3drenderer/v3dr_common.h:265:0,
> from ../plugin_loader/../3drenderer/v3dr_glwidget.h:41,
> from ../plugin_loader/v3d_plugin_loader.cpp:42:
> ../plugin_loader/../3drenderer/../v3d/v3d_core.h:88:27: fatal error: arthurwidgets.h: No such file or directory
> #include "arthurwidgets.h"
> ^
> compilation terminated.
> ...
>
> ============
>
>
> So I tricked the #include "arthurwidgets.h" in 'v3d_core.h' with #include "/my/real/path/to/arthurwidgets.h" as commented in v3d_core.h. The 'No such file or directory' message has been passed. I got a new error complaining as below which might indicate the implementation of arthurwidgets.cpp has not been found. Is it a known issue with a solution?
> =============
>
> lib64 -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore -lpthread -lGLU -lGL
> v3d_core.o: In function 'XFormView::XFormView(QWidget*)':
> v3d_core.cpp:(.text+0xc430): undefined reference to 'ArthurFrame::ArthurFrame(QWidget*)'
> v3d_core.o: In function 'ArthurFrame::~ArthurFrame()':
> v3d_core.cpp:(.text._ZN11ArthurFrameD2Ev[_ZN11ArthurFrameD5Ev]+0xc): undefined reference to 'vtable for ArthurFrame'
> v3d_core.cpp:(.text._ZN11ArthurFrameD2Ev[_ZN11ArthurFrameD5Ev]+0x14): undefined reference to 'vtable for ArthurFrame'
> v3d_core.o: In function 'ArthurFrame::~ArthurFrame()':
> v3d_core.cpp:(.text._ZN11ArthurFrameD0Ev[_ZN11ArthurFrameD0Ev]+0xc): undefined reference to 'vtable for ArthurFrame'
> v3d_core.cpp:(.text._ZN11ArthurFrameD0Ev[_ZN11ArthurFrameD0Ev]+0x14): undefined reference to 'vtable for ArthurFrame'
> moc_v3d_core.o: In function 'XFormView::qt_metacall(QMetaObject::Call, int, void**)':
> moc_v3d_core.cpp:(.text+0xc3): undefined reference to 'ArthurFrame::qt_metacall(QMetaObject::Call, int, void**)'
>
> =============
>
> Cheers!
>
> Siqi
>
Nov 27, 2014 10:11 AM | Linus Manubens-Gil - CRG
RE: building Vaa3d on Ubuntu
Thank you Hanchuan and Siqi,
This tweak also worked nicely for me :)
Now I only have some residual errors in the compilation of some plugins.
Best regards,
Linus
This tweak also worked nicely for me :)
Now I only have some residual errors in the compilation of some plugins.
Best regards,
Linus
Sep 5, 2016 12:09 PM | David Dreher - University of Zurich
RE: building Vaa3d on Ubuntu
Dear all,
I'm getting the exact same error messages. I build QT from Source but still getting these error messages.
Which makefile exactly did you tweak? I tried to include the folder in the .includes file but this doesn't solve the problem.
I also tried adding the path in the topmost CMAKE file but also this did not solve the issue.
I checked the example files are there, they are just not getting included.
Thanks for your help
I'm getting the exact same error messages. I build QT from Source but still getting these error messages.
Which makefile exactly did you tweak? I tried to include the folder in the .includes file but this doesn't solve the problem.
I also tried adding the path in the topmost CMAKE file but also this did not solve the issue.
I checked the example files are there, they are just not getting included.
Thanks for your help
