Build VirtualBox-4.3.26 x64 on Windows 7 x64

Discussions related to using the OSE version of VirtualBox.

Build VirtualBox-4.3.26 x64 on Windows 7 x64

Postby batyr » 29. Apr 2015, 17:37

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/openwatcom/files/current-build/
Please help me with this issue.
batyr
 
Posts: 13
Joined: 14. Aug 2014, 16:17

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Postby wu330 » 6. May 2015, 09:21

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"
wu330
 
Posts: 1
Joined: 6. May 2015, 09:18

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Postby Magikus » 3. Jun 2015, 07:31

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   Expand viewCollapse view
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
Magikus
 
Posts: 3
Joined: 2. Jun 2015, 09:17

Re: Build VirtualBox-4.3.26 x64 on Windows 7 x64

Postby DevJackson » 30. Jun 2015, 23:44

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   Expand viewCollapse view
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
DevJackson
 
Posts: 6
Joined: 30. Jun 2015, 23:03


Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 4 guests