linux安装qt-everywhere-opensource-src-4.8.3,在进行make的时候出现如下错误:
cdsharedmemory/&&make-fMakefilemake[3]:Enteringdirectory`/home/dell/Download/qt-every...
cd sharedmemory/ && make -f Makefile
make[3]: Entering directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc/sharedmemory'
arm-none-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../include/QtCore -I../../../include/QtNetwork -I../../../include/QtGui -I../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/main.o main.cpp
In file included from main.cpp:42:
dialog.h:65: error: 'QSharedMemory' does not name a type
make[3]: *** [.obj/release-shared-emb-arm/main.o] 错误 1
make[3]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc/sharedmemory'
make[2]: *** [sub-sharedmemory-make_default] 错误 2
make[2]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc'
make[1]: *** [sub-ipc-make_default] 错误 2
make[1]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples'
make: *** [sub-examples-make_default-ordered] 错误 2 展开
make[3]: Entering directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc/sharedmemory'
arm-none-linux-gnueabi-g++ -c -pipe -fno-exceptions -O2 -Wall -W -D_REENTRANT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../mkspecs/qws/linux-arm-g++ -I. -I../../../include/QtCore -I../../../include/QtNetwork -I../../../include/QtGui -I../../../include -I.moc/release-shared-emb-arm -I.uic/release-shared-emb-arm -o .obj/release-shared-emb-arm/main.o main.cpp
In file included from main.cpp:42:
dialog.h:65: error: 'QSharedMemory' does not name a type
make[3]: *** [.obj/release-shared-emb-arm/main.o] 错误 1
make[3]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc/sharedmemory'
make[2]: *** [sub-sharedmemory-make_default] 错误 2
make[2]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples/ipc'
make[1]: *** [sub-ipc-make_default] 错误 2
make[1]: Leaving directory `/home/dell/Download/qt-everywhere-opensource-src-4.8.3/examples'
make: *** [sub-examples-make_default-ordered] 错误 2 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询