Windows Server 2003 Web Edition SP2
Visual Studio 2005 Professional Edition with service pack 1
Windows Platform SDK
(come with Visual Studio 2005)
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
libxml2 and libxslt1 libraries
libxml2-sources-2.7.3.tar.gz
libxslt-1.1.24.tar.gz
QT
qt-win-opensource-src-4.4.3.zip
dir /X "D:\Program Files"
02/15/2009 02:43 PM <DIR> MI5881~1 Microsoft DirectX SDK (November 2008)
02/17/2009 11:16 AM <DIR> MICROS~1 Microsoft Visual Studio 8
Edit D:\z_Build2\VirtualBox-2.1.4_OSE\AutoConfig.kmk
Add to the bottom
cd D:\z_Build2\VirtualBox-2.1.4_OSE
env.bat
set PATH=%PATH%;D:\z_Build2\mingw\bin;
set PATH=%PATH%;D:\z_Build2\qt-win-opensource-src-4.4.3\bin;
kmk > D:\z_Build2\build.vbox.log 2>&1
So, I'm working through the build doc and am getting hung up right off the bat. It says to download gcc-G++ 3.3.1. Problem is, that is such an old version it isn't even available on the website anymore. I can get 3.3.3 or up. Since I don't have all the files, is it easy to simply edit particular files for the newer version?
Alternativley
1) Where can I get a copy of gcc-g++ 3.3.1?
2) Can I download a compiled copy of OSE for Windows from someone or is that against the rules?
Thank you for the binary!!! I will promptly test tomorrow morning.
The reason I asked about the gcc-g++ download location is because the link on the Build Page is non-functional. It looks like the build doc hasn't been updated in some time.
That link takes you to where you have to select GCC 2, 3 or 4. When you select 3, it shows the current version is 3.4.5. Previous versions only go back to 3.3.3, not as far back as 3.3.1.
It now seems the direct link to http://prdownloads.sf.net/mingw/gcc-g++ ... z?download is broken (all others work, even gcc-core). Any suggestions where to go from here? I've googled, but no alternative download found.
It now seems the direct link to http://prdownloads.sf.net/mingw/gcc-g++ ... z?download is broken (all others work, even gcc-core). Any suggestions where to go from here? I've googled, but no alternative download found.
Thought I might share something I got stuck on while following these instructions:
I had cl.exe crashing on me as soon as I tried building anything. A bit of googling led me to this article http://social.msdn.microsoft.com/Forums ... 56a2f14cd/. To use MSVC from outside the IDE one needs to set up the environment with vcvarsall.bat. In my environment it's located in C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat. Maybe mentioning that would be a good addition to the guide, just like it's mentioned how to set up DirectX SDK's environment.
Many thanks for the guide, I'd be dead in the water without it.
AndersKOlsson wrote:Thought I might share something I got stuck on while following these instructions:
I had cl.exe crashing on me as soon as I tried building anything. A bit of googling led me to this article http://social.msdn.microsoft.com/Forums ... 56a2f14cd/. To use MSVC from outside the IDE one needs to set up the environment with vcvarsall.bat. In my environment it's located in C:\Program Files\Microsoft Visual Studio 8\VC\vcvarsall.bat. Maybe mentioning that would be a good addition to the guide, just like it's mentioned how to set up DirectX SDK's environment.
Many thanks for the guide, I'd be dead in the water without it.
I am glad to be able to help you.
Instead of vcvarsall.bat, I opened the Visual Studio 2005 Command Prompt window.(maybe same as 'vcvarsall.bat x86')
I'm pretty close to getting this beast to build, but keep hitting a problem:
When building a cpp-file the make-script fails in finding cc1plus. I've searched, and found that I have it in C:\MinGW\lib\gcc-lib\mingw32\3.3.1\cc1plus.exe. The output I'm getting:
kBuild: Compiling SUPR0IdcClient - D:/Sergey/++Projects/vbox/src/VBox/HostDrivers/Support/win/SUPR0IdcClient-win.c
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8678) : warning C4163: '_InterlockedExchange_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8731) : warning C4163: '_InterlockedExchangeAdd_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8761) : warning C4163: '_InterlockedCompareExchange_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(14841) : warning C4163: '_InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap' : not available as an intrinsic function
SUPR0IdcClient-win.c
D:/Sergey/++Projects/vbox/kBuild/bin/win.x86/kmk_redirect.exe -E 'PYTHONPATH=D:/Sergey/++Projects/vbox/src/VBox/GuestHost/OpenGL/glapi_parser;D:/Sergey/++Projects/vbox/src/VBox/GuestHost/OpenGL/packer;D:/Sergey/++Projects/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib' -o D:/Sergey/++Projects/vbox/out/win.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h -- python-not-found.exe D:/Sergey/++Projects/vbox/src/VBox/GuestHost/OpenGL/spu_loader/dispatchheader.py D:/Sergey/++Projects/vbox/src/VBox/GuestHost/OpenGL/glapi_parser
kmk_redirect.exe: error: _spawnvp(_P_WAIT, "python-not-found.exe", ...) failed: No such file or directory
kmk.exe[2]: *** [D:/Sergey/++Projects/vbox/out/win.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h] Error 1
kmk.exe[2]: *** Deleting file `D:/Sergey/++Projects/vbox/out/win.x86/release/obj/VBoxOGLgen/spu_dispatch_table.h'
kmk.exe[2]: *** Waiting for unfinished jobs....
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8678) : warning C4163: '_InterlockedExchange_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8731) : warning C4163: '_InterlockedExchangeAdd_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(8761) : warning C4163: '_InterlockedCompareExchange_StupidDDKVsCompilerCrap' : not available as an intrinsic function
C:\WINDDK\3790~1.183\inc\ddk\wnet\ntddk.h(14841) : warning C4163: '_InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap' : not available as an intrinsic function
kmk.exe[2]: Leaving directory `D:/Sergey/++Projects/vbox'
kmk.exe[2]: Entering directory `D:/Sergey/++Projects/vbox'
kmk.exe[2]: *** Exiting with status 2
kmk.exe[1]: *** [pass_libraries_this] Error 2
kmk.exe[1]: Leaving directory `D:/Sergey/++Projects/vbox'
kmk: *** [pass_libraries_order] Error 2
Firstly I decided that it needs Python and installed it, but that didn't help.
I also noticed that if I perform build process without cleaning I get following error: