November 11, 2014, 08:20
|
libengrid 1.4 compilation problem on Centos 6.6 - forward declaration?
|
#1
|
Member
Bruno Lebon
Join Date: Dec 2012
Posts: 33
Rep Power: 14
|
While compiling enGrid, I ran into the following error:
Code:
g++ -c -m64 -pipe -Wall -Wno-deprecated -fno-omit-frame-pointer -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include -I.. -I./libengrid-build -I../netgen_svn/netgen-mesher/netgen/nglib -I../netgen_svn/netgen-mesher/netgen/libsrc/general -I/usr/include/vtk -I/usr/X11R6/include -Irelease -I. -o release/createvolumemesh.o createvolumemesh.cpp
createvolumemesh.cpp: In member function ‘void CreateVolumeMesh::computeMeshDensity()’:
createvolumemesh.cpp:208:20: error: incomplete type ‘GuiMainWindow’ used in nested name specifier
createvolumemesh.cpp: In member function ‘virtual void CreateVolumeMesh::operate()’:
createvolumemesh.cpp:387:5: error: incomplete type ‘GuiMainWindow’ used in nested name specifier
createvolumemesh.cpp:390:5: error: incomplete type ‘GuiMainWindow’ used in nested name specifier
createvolumemesh.cpp:392:5: error: incomplete type ‘GuiMainWindow’ used in nested name specifier
createvolumemesh.cpp:397:71: error: invalid use of incomplete type ‘class GuiMainWindow’
In file included from createvolumemesh.h:28:0,
from createvolumemesh.cpp:23:
operation.h:27:7: error: forward declaration of ‘class GuiMainWindow’
make[1]: *** [release/createvolumemesh.o] Error 1
make[1]: Leaving directory `/home/user/apps/engrid/src/libengrid'
make: *** [release] Error 2
I have installed all the dependencies for Fedora.
|
|
|