build VBox 7.0.4

Discussions related to using the OSE version of VirtualBox.
Post Reply
naiquan
Posts: 7
Joined: 13. Jan 2023, 09:51

build VBox 7.0.4

Post by naiquan »

Shell inheritance test: OK
Source path: OK
Checking for kBuild...
Target architecture: amd64.
Host architecture: amd64.
Found kBuild: C:/VBoxBuild/vbox/kBuild
Found kBuild binaries: C:\VBoxBuild\vbox\kBuild\bin\win.amd64
Checking for Windows DDK v7.1...
Found Windows DDK v7.1: C:/WinDDK/7600.16385.1
Checking for Visual C++...
error: Cannot find cl.exe (Visual C++) anywhere on your system. Check the build requirements.

The above error occurs after executing cscript configure.vbs. Have you ever encountered it?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: build VBox 7.0.4

Post by scottgus1 »

You're apparently building Virtualbox 7.0.4 on a Windows host. Seems to be a Windows Hosts forum question, not Windows Guests. Moving....

The pre-built installer for Windows says that VC++ 2019 Runtime needs to be installed first. Maybe you need it too?
naiquan
Posts: 7
Joined: 13. Jan 2023, 09:51

Re: build VBox 7.0.4

Post by naiquan »

scottgus1 wrote:You're apparently building Virtualbox 7.0.4 on a Windows host. Seems to be a Windows Hosts forum question, not Windows Guests. Moving....

The pre-built installer for Windows says that VC++ 2019 Runtime needs to be installed first. Maybe you need it too?
Yeah,I installed VS2019 and still get the same error
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: build VBox 7.0.4

Post by BillG »

When this problem has come up before, the 32-bit version of software has been installed. VirtualBox 7.0.4 requires the 64-bit version. Check that you have the 64-bit version.
Bill
fth0
Volunteer
Posts: 5674
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: build VBox 7.0.4

Post by fth0 »

Official information about building VirtualBox on Windows hosts: Windows build instructions.
naiquan
Posts: 7
Joined: 13. Jan 2023, 09:51

Re: build VBox 7.0.4

Post by naiquan »

BillG wrote:When this problem has come up before, the 32-bit version of software has been installed. VirtualBox 7.0.4 requires the 64-bit version. Check that you have the 64-bit version.
No, I don't think it's a configuration issue, I looked up the path in VS2019 and the 64-bit directory is x64, but in the VirtualBox scripts it's all amd64, so I suspect it's a script issue.
Post Reply