WindowsのQt5.3にQt3Dライブラリをインストールする方法
-
LinuxのQt5.3では問題なくQt3Dライブラリをインストールできましたが、同じQt3DライブラリをWindowsのQt5.3にインストールしようとすると、エラーが出てうまくいきません。
1年くらい前に試したのですが、そのときに参考にしたホームページは無くなっているようです。
当時に出たエラーは以下の通りです。C:\work\Qt3D\qt3d>mingw32-make -j 3 install
cd src\ && ( if not exist Makefile
C:\Qt\Qt5.3.1\5.3\mingw482_32\bin\qmake.exe C
:\work\Qt3D\qt3d\src\src.pro -o Makefile ) && mingw32-make -f Makefile
install
mingw32-make[1]: Entering directory 'C:/work/Qt3D/qt3d/src'
cd threed\ && ( if not exist Makefile
C:\Qt\Qt5.3.1\5.3\mingw482_32\bin\qmake.ex
e C:\work\Qt3D\qt3d\src\threed\threed.pro -o Makefile ) && mingw32-make
-f Makef
ile install
mingw32-make[2]: Entering directory 'C:/work/Qt3D/qt3d/src/threed'
mingw32-make -f Makefile.Release install
mingw32-make -f Makefile.Debug install
mingw32-make[3]: Entering directory 'C:/work/Qt3D/qt3d/src/threed'
g++ -c -pipe -fno-keep-inline-dllexport -msse2 -mstackrealign
-mfpmath=sse -O2 -
fexceptions -mthreads -std=gnu++0x -frtti -Wall -Wextra -DUNICODE
-DQT_BUILD_3D_
LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES
-DQT_NO_CAST_
TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_D
EPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800
-D_SCL_SECURE_NO_WARN
INGS -D_CRT_SECURE_NO_WARNINGS -DQT_NO_EGL -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_WI
DGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I.
-I"....
\include" -I"....\include\Qt3D"
-I"C:\work\Qt3D\qt3d\include\Qt3D\5.3.0" -I"C:
work\Qt3D\qt3d\include\Qt3D\5.3.0\Qt3D" -I"tmp" -I"..\private"
-I"global" -I"pai
nting" -I"arrays" -I"effects" -I"materials" -I"geometry" -I"viewing"
-I"math3d"
-I"scene" -I"scene_ai" -I"....\3rdparty\assimp"
-I"....\3rdparty\assimp\code"
-I"....\3rdparty\assimp\code\BoostWorkaround"
-I"....\3rdparty\assimp\include"
-I"....\3rdparty\assimp\include\Compiler"
-I"....\3rdparty\asmingw32-make[3]:
Entering directory 'C:/work/Qt3D/qt3d/src/threed'
simp\contrib\ConvertUTF" -I"....\3rdparty\assimp\contrib\zlib"
-I"....\3rdpart
y\assimp\contrib\irrXML" -I"....\3rdparty\assimp\contrib\unzip"
-I"scene_bezier
" -I"network" -I"graphicsview" -I"textures" -I"surfaces" -I"api"
-I"C:\Qt\Qt5.3.
1\5.3\mingw482_32\include"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtOpenGL" -I
"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtWidgets"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_
32\include\QtGui\5.3.1"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtGui\5.3.1\QtG
ui" -I"C:\Qt\Qt5.3.1\5.3\mingw48g++ -c -pipe -fno-keep-inline-dllexport
-msse2 -
mstackrealign -mfpmath=sse -g -fexceptions -mthreads -std=gnu++0x -frtti
-Wall -
Wextra -DUNICODE -DQT_BUILD_3D_LIB -DQT_BUILDING_QT
-D_CRT_SECURE_NO_WARNINGS -D
_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
-DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE
=0x040800 -D_SCL_SECURE_NO_WARNINGS -D_DEBUG -D_CRT_SECURE_NO_WARNINGS
-DQT_NO_E
GL -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
-DQT_NETWORK_LIB
-DQT_CORE_LIB -I. -I"....\include" -I"....\include\Qt3D"
-I"C:\work\Qt3D\qt3d
include\Qt3D\5.3.0" -I"C:\work\Qt3D\qt3d\include\Qt3D\5.3.0\Qt3D"
-I"tmp" -I"..
private" -I"global" -I"painting" -I"arrays" -I"effects" -I"materials"
-I"geometr
y" -I"viewing" -I"math3d" -I"scene" -I"scene_ai"
-I"....\3rdparty\assimp" -I"..
..\3rdparty\assimp\code" -I"....\3rdparty\assimp\code\BoostWorkaround"
-I"...
.\3rdparty\assimp\include" -I"....\3rdparty\assimp\include\Compiler"
-I"....\3
rdparty\assimp\c2_32\include\QtGui"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtC
ore\5.3.1" -I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtCore\5.3.1\QtCore"
-I"C:\Q
t\Qt5.3.1\5.3\mingw482_32\include\QtCore"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\inclu
de\QtNetwork" -I".moc\release"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\mkspecs\win32-g+
+" -o .obj\release\qglnamespace.o global\qglnamespace.cpp
ontrib\ConvertUTF" -I"....\3rdparty\assimp\contrib\zlib"
-I"....\3rdparty\assi
mp\contrib\irrXML" -I"....\3rdparty\assimp\contrib\unzip"
-I"scene_bezier" -I"n
etwork" -I"graphicsview" -I"textures" -I"surfaces" -I"api"
-I"C:\Qt\Qt5.3.1\5.3
mingw482_32\include" -I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtOpenGL"
-I"C:\Qt
\Qt5.3.1\5.3\mingw482_32\include\QtWidgets"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\inc
lude\QtGui\5.3.1"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtGui\5.3.1\QtGui" -I
"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtGui"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\i
nclude\QtCore\5.3.1"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtCore\5.3.1\QtCor
e" -I"C:\Qt\Qt5.3.1\5.3\mingw482_32\include\QtCore"
-I"C:\Qt\Qt5.3.1\5.3\mingw48
2_32\include\QtNetwork" -I".moc\debug"
-I"C:\Qt\Qt5.3.1\5.3\mingw482_32\mkspecs
win32-g++" -o .obj\debug\qglnamespace.o global\qglnamespace.cpp
In file included from global\qglnamespace.cpp:42:0:
global\qglnamespace.h:45:29: fatal error: Qt3D/qt3dglobal.h: No such
file or dir
ectory
#include <Qt3D/qt3dglobal.h>
^
compilation terminated.
In file included from global\qglnamespace.cpp:42:0:
global\qglnamespace.h:45:29: fatal error: Qt3D/qt3dglobal.h: No such
file or dir
ectory
#include <Qt3D/qt3dglobal.h>
^
compilation terminated.
Makefile.Debug:2310: recipe for target '.obj/debug/qglnamespace.o' failed
mingw32-make[3]: *** [.obj/debug/qglnamespace.o] Error 1
mingw32-make[3]: Leaving directory 'C:/work/Qt3D/qt3d/src/threed'
Makefile:58: recipe for target 'debug-install' failed
mingw32-make[2]: *** [debug-install] Error 2
mingw32-make[2]: *** Waiting for unfinished jobs....
Makefile.Release:2310: recipe for target '.obj/release/qglnamespace.o'
failed
mingw32-make[3]: *** [.obj/release/qglnamespace.o] Error 1
mingw32-make[3]: Leaving directory 'C:/work/Qt3D/qt3d/src/threed'
Makefile:44: recipe for target 'release-install' failed
mingw32-make[2]: *** [release-install] Error 2
mingw32-make[2]: Leaving directory 'C:/work/Qt3D/qt3d/src/threed'
Makefile:64: recipe for target 'sub-threed-install_subtargets-ordered'
failed
mingw32-make[1]: *** [sub-threed-install_subtargets-ordered] Error 2
mingw32-make[1]: Leaving directory 'C:/work/Qt3D/qt3d/src'
Makefile:55: recipe for target 'sub-src-install_subtargets' failed
mingw32-make: *** [sub-src-install_subtargets] Error 2インストール方法が間違っているのでしょうか?
それとも、Qt3Dライブラリが間違っているのでしょうか?ご教授願います。