Windows Server 2003 Standard Edition SP2
Visual Studio 2005 Professional Edition with service pack 1
Windows Platform SDK
Windows Server 2003 R2 Platform SDK
Windows Driver Development Kit
Windows Server 2003 SP1 DDK
DirectX SDK
Microsoft DirectX SDK (November 2008)
MingW
gcc-core-3.3.1-20030804-1.tar.gz
gcc-g++-3.3.1-20030804-1.tar.gz
mingw-runtime-3.8.tar.gz
w32api-3.5.tar.gz
binutils-2.13.90-20021006-2.tar.gz
SDL
SDL-devel-1.2.13-VC8.zip
QT
qt-win-opensource-src-4.4.3.zip
python
python-2.6.1.msi
cd E:\z_Build2\VirtualBox-2.2.0_OSE
env.bat
set PATH=%PATH%;E:\z_Build2\mingw\bin;
set PATH=%PATH%;E:\z_Build2\qt-win-opensource-src-4.4.3\bin;
kmk > E:\z_Build2\VirtualBox-2.2.0_OSE.build.log 2>&1
First, thank you for all the guides you posted about building VBox OSE on Windows, it's very helpful. I try to build the 2.2.2 version, I use the same directory as you did, and the same versions of gcc, QT, DirectX SDK... I don't use Win 2003 Server though, but Windows XP (SP3, 32 bits).
Well, the building of Qt succeeded, the configure of VBox too. I encountered the same errors as you did for another version (__readdr and __writedr in asm.h).
This error resolved, I started the build again and a few time later, I met this new error :
D:\zBuild\VirtualBox-2.2.2_OSE\src\VBox\Runtime\r3\win\fileio-win.cpp(287) : error C2664: 'CreateFileW': impossible de convertir le paramètre 1 de 'PRTUTF16' en 'LPCWSTR'
It's a problem of cast. I tried to make the cast manually by adding (LPCWSTR) before the variable ; it worked but the same error is returned in many other files. I guess I miss some version of a header of a library ? I didn't found this error on the forum and I hope somebody will be able to help me.
Sorry for my english and ask me if you need more information ! Thanks.
Rankin wrote:
D:\zBuild\VirtualBox-2.2.2_OSE\src\VBox\Runtime\r3\win\fileio-win.cpp(287) : error C2664: 'CreateFileW': impossible de convertir le paramètre 1 de 'PRTUTF16' en 'LPCWSTR'
Your error was caused by __DOXYGEN__ .
__DOXYGEN__ is defined in VirtualBox-2.2.2_OSE\src\VBox\Runtime\Doxyfile .
Maybe your build environment is broken.
D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Main/webservice/Makefile.kmk:99: VBOX_PATH_GSOAP not found...
kBuild: Pass - Build Programs
kmk.exe[1]: Entering directory `D:/zBuild/VirtualBox-2.2.2_OSE'
D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Main/webservice/Makefile.kmk:99: VBOX_PATH_GSOAP not found...
kmk.exe[2]: Entering directory `D:/zBuild/VirtualBox-2.2.2_OSE'
D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Main/webservice/Makefile.kmk:99: VBOX_PATH_GSOAP not found...
kmk.exe[2]: Nothing to be done for `pass_bldprogs_doit'.
kmk.exe[2]: Leaving directory `D:/zBuild/VirtualBox-2.2.2_OSE'
kmk.exe[1]: Leaving directory `D:/zBuild/VirtualBox-2.2.2_OSE'
kBuild: Pass - Libraries
kmk.exe[1]: Entering directory `D:/zBuild/VirtualBox-2.2.2_OSE'
D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Main/webservice/Makefile.kmk:99: VBOX_PATH_GSOAP not found...
kmk.exe[2]: Entering directory `D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Devices/PC/Etherboot-src'
kmk.exe[2]: Nothing to be done for `pass_libraries'.
kmk.exe[2]: Leaving directory `D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Devices/PC/Etherboot-src'
kmk.exe[2]: Entering directory `D:/zBuild/VirtualBox-2.2.2_OSE'
D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Main/webservice/Makefile.kmk:99: VBOX_PATH_GSOAP not found...
kBuild: Compiling RuntimeR3 - D:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Runtime/r3/win/fileio-win.cpp
clÿ: Ligne de commande warning D9035ÿ: l'option 'Og' est d‚sapprouv‚e et sera supprim‚e dans une version ult‚rieure
fileio-win.cpp
D:\zBuild\VirtualBox-2.2.2_OSE\src\VBox\Runtime\r3\win\fileio-win.cpp(287) : error C2664: 'CreateFileW'ÿ: impossible de convertir le paramŠtre 1 de 'PRTUTF16' en 'LPCWSTR'
Les types point‚s n'ont aucun rapport entre euxÿ; conversion n‚cessitant reinterpret_cast, cast de style C ou cast de style fonction
D:\zBuild\VirtualBox-2.2.2_OSE\src\VBox\Runtime\r3\win\fileio-win.cpp(304) : error C2664: 'SetFileAttributesW'ÿ: impossible de convertir le paramŠtre 1 de 'PRTUTF16' en 'LPCWSTR'
Les types point‚s n'ont aucun rapport entre euxÿ; conversion n‚cessitant reinterpret_cast, cast de style C ou cast de style fonction
D:\zBuild\VirtualBox-2.2.2_OSE\src\VBox\Runtime\r3\win\fileio-win.cpp(785) : error C2664: 'DeleteFileW'ÿ: impossible de convertir le paramŠtre 1 de 'PRTUTF16' en 'LPCWSTR'
Les types point‚s n'ont aucun rapport entre euxÿ; conversion n‚cessitant reinterpret_cast, cast de style C ou cast de style fonction
kmk.exe[2]: *** [D:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release/obj/RuntimeR3/r3/win/fileio-win.obj] Error 2
The failing command:
@ D:/UTILIT~1/PROGRA~1/MICROS~3/VC/bin/cl.exe -c -TP -c -nologo -O2 -Zi -Zl -GR- -EHsc -GF -W3 -wd4065 -wd4244 -Ogitb2 -Oy- -MT -ID:/zBuild/VirtualBox-2.2.2_OSE/src/VBox/Runtime/include -ID:/zBuild/VirtualBox-2.2.2_OSE/src/libs/zlib-1.2.1 -ID:/zBuild/VirtualBox-2.2.2_OSE/src/libs/liblzf-1.51 -ID:/UTILIT~1/PROGRA~1/MICROS~1/Include -ID:/UTILIT~1/PROGRA~1/MICROS~1/Include -ID:/WINDDK/3790~1.183/inc/ddk -ID:/WINDDK/3790~1.183/inc/ddk/wnet -ID:/WINDDK/3790~1.183/inc/wnet -ID:/WINDDK/3790~1.183/inc/ddk/wdm/wnet -ID:/zBuild/VirtualBox-2.2.2_OSE/include -ID:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release -ID:/UTILIT~1/PROGRA~1/MICROS~3/VC/include -ID:/UTILIT~1/PROGRA~1/MICROS~3/VC/atlmfc/include -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_WINDOWS -D__WIN__ -DRT_ARCH_X86 -D__X86__ -D__WIN32__ -D_X86_ -DIN_RING3 -DHC_ARCH_BITS=32 -DGC_ARCH_BITS=64 -DIN_RT_R3 -DIN_SUP_R3 -DLDR_WITH_NATIVE -DLDR_WITH_ELF32 -DLDR_WITH_PE -DRT_WITH_VBOX -DRT_NO_GIP -FdD:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release/obj/RuntimeR3/r3/win/fileio-win-obj.pdb -FD -FoD:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release/obj/RuntimeR3/r3/win/fileio-win.obj D:\\zBuild\\VirtualBox-2.2.2_OSE\\src\\VBox\\Runtime\\r3\\win\\fileio-win.cpp
kmk.exe[2]: *** [D:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release/obj/RuntimeR3/r3/win/fileio-win.obj] Deleting file `D:/zBuild/VirtualBox-2.2.2_OSE/out/win.x86/release/obj/RuntimeR3/r3/win/fileio-win-obj.idb'
kmk.exe[2]: Leaving directory `D:/zBuild/VirtualBox-2.2.2_OSE'
kmk.exe[1]: *** [pass_libraries_this] Error 2
kmk.exe[1]: Leaving directory `D:/zBuild/VirtualBox-2.2.2_OSE'
kmk: *** [pass_libraries_order] Error 2
I guess there is a problem with VBOX_PATH_GSOAP too, but I don't know what exactly to install, I found the error on another topic but I think there are 2 different problems... What do you think about it ?
Rankin wrote:I guess there is a problem with VBOX_PATH_GSOAP too, but I don't know what exactly to install, I found the error on another topic but I think there are 2 different problems... What do you think about it ?
Sorry, I don't know how to fix "VBOX_PATH_GSOAP not found" error.
PATH_TOOL_VCC70 is VS2003.
PATH_TOOL_VCC80 is VS2005.
You are using not VS2005 but VS2003 ?
If you are using VS2005 , please check output of your configure.vbs .
And please try command line option of configure.vbs .
I use VS2005. I found the error in configure.vbs, I changed the first "Version 14." which doesn't correspond with my language, but haven't seen the second that didn't output an error. My Autoconfig.kmk contains now