VBox needs VS2010 to compile, but Qt doesn't have 5.6.2 64-bit

Discussions related to using the OSE version of VirtualBox.

VBox needs VS2010 to compile, but Qt doesn't have 5.6.2 64-bit

Postby huerr » 22. Jan 2019, 05:38

The virtualbox code needs vs2010 to compile, but the qt official does not have a 5.6.2 64-bit version of the build, so I compiled qt 5.6.2 myself.But the following error occurred when compiling virtualbox。

Code: Select all   Expand viewCollapse view
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/medium/UIMedium.cpp
UIMedium.cpp
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/medium/UIMediumDetailsWidget.cpp
UIMediumDetailsWidget.cpp
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/medium/UIMediumEnumerator.cpp
UIMediumEnumerator.cpp
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/medium/UIMediumManager.cpp
UIMediumManager.cpp
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/objects/UIRichTextString.cpp
UIRichTextString.cpp
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1498) : error C2065: “GL_ALL_ATTRIB_BITS”: Undeclared identifier
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1498) : error C3861: “glPushAttrib”:   Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1499) : error C2065: “GL_PROJECTION”: Undeclared identifier
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1499) : error C3861: “glMatrixMode”: Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1500) : error C3861: “glPushMatrix”:  Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1507) : error C3861: “glPopAttrib”: Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1508) : error C2065: “GL_PROJECTION”: Undeclared identifier
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1508) : error C3861: “glMatrixMode”:  Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1509) : error C3861: “glPopMatrix”: Identifier not found
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1510) : error C2065: “GL_MODELVIEW”:  Undeclared identifier
C:\VBOXTOOL\VirtualBox-5.2.24\src\VBox\Frontends\VirtualBox\src\VBoxFBOverlay.h(1510) : error C3861: “glMatrixMode”:  Identifier not found
kBuild: Compiling VirtualBox - C:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
UIActionPoolRuntime.cpp
kmk: *** [C:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/src/globals/VBoxGlobal.obj] Error 2 (0x2)
The failing command:
@ C:/PROGRA~2/MICROS~2.0/VC/bin/amd64/cl.exe -c -TP -nologo -Zi -O2 -nologo -Zm200 -MD -Zi -EHsc -Zc:wchar_t- -W4 -Wall -wd4065 -wd4996 -wd4127 -wd4706 -wd4201 -wd4214 -wd4510 -wd4512 -wd4610 -wd4514 -wd4820 -wd4365 -wd4987 -wd4710 -wd4061 -wd4986 -wd4191 -wd4574 -wd4917 -wd4711 -wd4611 -wd4571 -wd4324 -wd4505 -wd4263 -wd4264 -wd4738 -wd4200 -wd4371 -wd4242 -wd4244 -wd4481 -wd4625 -wd4626 -wd4640 -wd4350 -wd4371 -wd4121 -wd4718  -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/converter -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/extensions -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/extensions/graphics -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/extradata -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/globals -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/hostnetwork -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/medium -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/objects -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/platform -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/platform/darwin -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/platform/win -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/platform/x11 -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/fullscreen -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/normal -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/scale -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/seamless -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/runtime/information -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/selector -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/selector/graphics/details -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/settings -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/settings/global -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/settings/machine -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/widgets -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/widgets/graphics -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/newvm -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/newvd -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/clonevm -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/clonevd -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/importappliance -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/wizards/firstrun -IC:/VBOXTOOL/VirtualBox-5.2.24/src/VBox/Frontends/VirtualBox/src/net -IC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/include -IC:/VBOXTOOL/VirtualBox-5.2.24/include/VBox/Graphics -IC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/bin/sdk/bindings/mscom/include -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtWinExtras -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtCore -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtGui -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtWidgets -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtPrintSupport -IC:/VBOXTOOL/qt-5.6.2/qtbase/include/QtOpenGL -IC:/VBOXTOOL/qt-5.6.2/qtbase/include -IC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/qtmoc -IC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/qtuic -IC:/PROGRA~2/MICROS~1/Windows/v7.1A/Include -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/WinDDK/7600.16385.1/inc/atl71 -IC:/PROGRA~2/MICROS~1/Windows/v7.1A/Include -IC:/WinDDK/7600.16385.1/inc/api -IC:/WinDDK/7600.16385.1/inc/ddk -IC:/VBOXTOOL/VirtualBox-5.2.24/include -IC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release -IC:/PROGRA~2/MICROS~2.0/VC/include -IC:/WinDDK/7600.16385.1/inc/atl71 -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_REM -DVBOX_WITH_RAW_MODE -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_AMD64 -D__AMD64__ -D__WIN64__ -DVBOX_WITH_DEBUGGER -D_AMD64_ -DAMD64 -D_WIN64 -DIN_RING3 -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DHAVE_CONFIG_H -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=64 -D_WIN32_WINNT=0x0500 -DUNICODE -D_UNICODE -DQT_DLL -D_CRT_SECURE_NO_DEPRECATE -DVBOX_WITH_E1000 -DVBOX_WITH_NETFLT -DVBOX_WITH_UDPTUNNEL -DVBOX_WITH_EXTPACK -DVBOX_WITH_EHCI -DVBOX_WITH_DRAG_AND_DROP -DVBOX_WITH_DRAG_AND_DROP_GH -DVBOX_WITH_CRHGSMI -DVBOX_WITH_VIRTIO -DVBOX_WITH_WDDM -DVBOX_WITH_CROGL -DVBOX_WITH_RAW_MODE -DVBOX_WITH_DEBUGGER_GUI -DVBOX_WITH_VIDEOHWACCEL -DVBOX_GUI_USE_QGL -DVBOX_GUI_WITH_NETWORK_MANAGER -DQT_WINEXTRAS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_WIDGETS_LIB -DQT_PRINTSUPPORT_LIB -DQT_OPENGL_LIB -DVBOX_WITH_MASKED_SEAMLESS -DUNICODE -DQT_DLL -DVBOX_WS_WIN  -FdC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/src/globals/VBoxGlobal-obj.pdb -FoC:/VBOXTOOL/VirtualBox-5.2.24/out/win.amd64/release/obj/VirtualBox/src/globals/VBoxGlobal.obj C:\\VBOXTOOL\\VirtualBox-5.2.24\\src\\VBox\\Frontends\\VirtualBox\\src\\globals\\VBoxGlobal.cpp
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2
huerr
 
Posts: 2
Joined: 14. Jan 2019, 07:30

Re: VBox needs VS2010 to compile, but Qt doesn't have 5.6.2 64-bit

Postby Yurii.Ch » 27. Jan 2019, 04:19

Use 5.6.3. Also, you don't need most of Qt libraries, only GUI-related.
In your case, you try to compile Qt OpenGL ES 2.0, which is not supported
Use my instructions: https://forums.virtualbox.org/viewtopic.php?f=10&t=90552#p438925
Yurii.Ch
 
Posts: 31
Joined: 16. Oct 2018, 08:47
Primary OS: Mac OS X other
VBox Version: OSE self-compiled
Guest OSses: Windows 7-10, Linux


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 3 guests