Does anyone has sucessfully built the OSE 2.0.0 version ?
Posted: 15. Sep 2008, 15:59
I'm currently trying to build it, and I encoutered a lot of problems and bugs, and I'm not sure to be successful in the end.
So I'd like to share experience with others...
Is there a FAQ, a tutorial etc...
Why people do not distribute the binaries they built ?
Karl
Here are some tips/bugs/work-arounds I encountered :
- a lot of default installation paths of required microsoft tools cause problems because they have spaces or others non standards chars. So either install them in simple dirs (e.g d:\visualstudio, or create symbolic links using junction.exe (see sysinternals suite).
- MS Visual Studio 2008 is not supported (as stated in the doc), I tested with the 2003 edition
- run the script Common7\Tools\vsvars32.bat before running the configure.vbs script
- there's a bug in configure.vbs that prevents him from accepting the c++ version :
è bug in configure.vbs around lines 980 : it checks for “Version” instead of “version”
replace line
if (InStr(1, g_strShellOutput, "Version 13.10") <= 0) _
by
if (InStr(1, g_strShellOutput, "version 13.10") <= 0) _
- the options --with-qt3 as output by configure.vbs --help does not exist. It is actually --with-qt
- to get rid of the xerces requirement use the --internal option
- I used all the --with options, so for my example my final cmd line is :
cscript configure.vbs --with-VC=d:\VS\vc7 --with-SDK=d:\MSDK
--with-DXSDK=d:\DXSDK --with-libSDL=d:\SDL-1.2.13 --internal --with-qt=d:\qt-3.
3.x-p8
- bug : the env.bat does not work, it looks for "env.cmd" in tools that does not exist
At this point, when I cd into the src/ dir, qnd type kmk, I get :
Makefile.kmk:38: D:/VirtualBox-2.0.0/src/VBox/Devices/Storage/VBoxHDDFormats/Makefile.kmk: No such file or directory
Makefile.kmk:41: D:/VirtualBox-2.0.0/src/VBox/Devices/PC/PXE/Makefile.kmk: No su
ch file or directory
and there's no VBoxHDDFormats dir in D:/VirtualBox-2.0.0/src/VBox/Devices/Storage, so I'm stuck here....
So I'd like to share experience with others...
Is there a FAQ, a tutorial etc...
Why people do not distribute the binaries they built ?
Karl
Here are some tips/bugs/work-arounds I encountered :
- a lot of default installation paths of required microsoft tools cause problems because they have spaces or others non standards chars. So either install them in simple dirs (e.g d:\visualstudio, or create symbolic links using junction.exe (see sysinternals suite).
- MS Visual Studio 2008 is not supported (as stated in the doc), I tested with the 2003 edition
- run the script Common7\Tools\vsvars32.bat before running the configure.vbs script
- there's a bug in configure.vbs that prevents him from accepting the c++ version :
è bug in configure.vbs around lines 980 : it checks for “Version” instead of “version”
replace line
if (InStr(1, g_strShellOutput, "Version 13.10") <= 0) _
by
if (InStr(1, g_strShellOutput, "version 13.10") <= 0) _
- the options --with-qt3 as output by configure.vbs --help does not exist. It is actually --with-qt
- to get rid of the xerces requirement use the --internal option
- I used all the --with options, so for my example my final cmd line is :
cscript configure.vbs --with-VC=d:\VS\vc7 --with-SDK=d:\MSDK
--with-DXSDK=d:\DXSDK --with-libSDL=d:\SDL-1.2.13 --internal --with-qt=d:\qt-3.
3.x-p8
- bug : the env.bat does not work, it looks for "env.cmd" in tools that does not exist
At this point, when I cd into the src/ dir, qnd type kmk, I get :
Makefile.kmk:38: D:/VirtualBox-2.0.0/src/VBox/Devices/Storage/VBoxHDDFormats/Makefile.kmk: No such file or directory
Makefile.kmk:41: D:/VirtualBox-2.0.0/src/VBox/Devices/PC/PXE/Makefile.kmk: No su
ch file or directory
and there's no VBoxHDDFormats dir in D:/VirtualBox-2.0.0/src/VBox/Devices/Storage, so I'm stuck here....