Build VirtualBox-4.3.26 x64 on Windows 7 x64

Discussions related to using the OSE version of VirtualBox.
Post Reply
batyr
Posts: 13
Joined: 14. Aug 2014, 16:17

Build VirtualBox-4.3.26 x64 on Windows 7 x64

Post by batyr »

Hello.
I've successfully built VirtualBox-4.3.26 x32 on Windows 7 x32.
I'm trying to build VirtualBox-4.3.26 x64 on Windows 7 x64.
I managed to compile everything without errors.
However at the step of running loadall.cmd I have the following error by Watcom: "The program of feature "\??'C:\WATCOM\BINW\sc.exe" cannot start or run due incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible versions is available".
I've installed and used open-watcom-2_0-c-win-x64.exe from http://sourceforge.net/projects/openwat ... ent-build/
Please help me with this issue.
wu330
Posts: 1
Joined: 6. May 2015, 09:18

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Post by wu330 »

Could you tell me how to build VirtualBox-4.3.26 on Windows 7 X32, I want to do it, but it's always failed. And there will show
"kmk_redirect.exe: error: _spawnvp(_P_WAIT, "windres", ...) failed: No such file"
Magikus
Posts: 3
Joined: 2. Jun 2015, 09:17

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Post by Magikus »

I have also have this error. Check PATH_TOOL_MINGWW64 in AutoConfig.kmk
If this don't help, then set src/recompiler/Makefile.kmk line:
323. $(QUIET)$(REDIRECT) -E 'COMSPEC=$(VBOX_GOOD_COMSPEC_BS)' -- $(TOOL_MINGWW64_PREFIX)windres \
to corect path.

For me that works.

But I have other problem.
When I run compilation when VBox-RT is linked I get unresolved symbols from libcurl.lib. Which wersion of libcurl.lib I have to use?
Or maybe I don't set something?
I run build in this way:

Code: Select all

cscript configure.vbs --with-DDK=C:\WinDDK\7600.16385.1 --with-MinGW-w64=g:\VirtualBox\Ver32\MinGW-w64\mingw64 --with-libSDL=g:\VirtualBox\Ver32\SDL --with-openssl=g:\VirtualBox\Ver32\OpenSSL-Win32 --with-libcurl=g:\VirtualBox\Ver32\curl --with-python=C:\Python27 --with-Qt4=g:\VirtualBox\Ver32\QT4

env.bat

kbuild\envwin.bat --win64

kmk
DevJackson
Posts: 6
Joined: 30. Jun 2015, 23:03

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Post by DevJackson »

Gotta build libcurl from source probably, m8.
Find the source package containing win32build (if you are trying to build on 32 bit) launch MSVS environment with

Code: Select all

call C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvarsall.bat
then read the readme.txt in win32build inside of curl, it will tell you to issue
nmake /f something something
Post Reply