X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=docs-mini%2FREADME.MSVC;h=e1b41ea0898fa1dd6e4b17e3f07f1f73688abfeb;hb=979ad55c61b9bbacafeb59bbff8fe1de0c035020;hp=17e79095ccca2c74fb56280524487e676e9b75a1;hpb=9197057784f8f68e83fca30a234630dc3ccf4422;p=flightgear.git diff --git a/docs-mini/README.MSVC b/docs-mini/README.MSVC index 17e79095c..e1b41ea08 100644 --- a/docs-mini/README.MSVC +++ b/docs-mini/README.MSVC @@ -1,11 +1,11 @@ Use FlightGear.sln to compile fgfs executable for Win32 or x64 architectures with Visual Studio 2008. Previous versions of Visual Studio are not officially supported anymore. -Precompiled librairies and headers for compiling x64 executables with VS2008 : -ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/fgfs-x64-VS90-3rdParty+OSG-20100501.zip - Precompiled librairies and headers for compiling Win32 executables with VS2008 : -ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/fgfs-win32-VS90-3rdParty+OSG-20100501.zip +ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/fgfs-win32-VS90-3rdParty+OSG-20110703.zip + +Precompiled librairies and headers for compiling x64 executables with VS2008 : +ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/MSVC/fgfs-x64-VS90-3rdParty+OSG-20110703.zip The VS2008 / v9.0 project files assume the directory layout below : @@ -15,8 +15,9 @@ Win32 build : bin / include / lib / - boost_1_39_0 / + boost_1_44_0 / boost / + lib / source / ( Flightgear CVS directory - It can also be renamed FlightGear or anything else src / projects / @@ -37,7 +38,7 @@ Win32 build : projects / VC90 / -3rdParty, boost_1_39_0 and install/msvc90 are included in the Win32 3rdParty archive. +3rdParty, boost_1_44_0 and install/msvc90 are included in the Win32 3rdParty archive. x64 build : * any_directory_on_any_drive / @@ -45,8 +46,9 @@ x64 build : bin / include / lib / - boost_1_39_0 / + boost_1_44_0 / boost / + lib64 / source / ( Flightgear CVS directory - It can also be renamed FlightGear or anything else src / projects / @@ -67,7 +69,7 @@ x64 build : projects / VC90 / -3rdParty.x64, boost_1_39_0 and install/msvc90-64 are included in the x64 3rdParty archive. +3rdParty.x64, boost_1_44_0 and install/msvc90-64 are included in the x64 3rdParty archive. Typical setup should decompose into the following steps : @@ -91,8 +93,8 @@ Typical setup should decompose into the following steps : It is also possible to compile a Debug version. This is only useful when hacking the code because a Debug version is way slower than the Release one. -The 64bit build is only available to people having the Professional edition of Visual Studio 2008. In that case, 14. above should be : - 14. Add /install/msvc90-64/OpenSceneGraph/bin and /3rdParty.x64/bin to your PATH environment variable +The 64bit build is only available to people having the Professional edition of Visual Studio 2008. In that case, 15. above should be : + 15. Add /install/msvc90-64/OpenSceneGraph/bin and /3rdParty.x64/bin to your PATH environment variable When the manual build works, it is possible to start it from the command line. This is useful when setting up a build server or automating the process of retrieving the code and building @@ -104,6 +106,9 @@ it in a scheduled task. To do that : 64bit environment (Vista 64-bit or Windows7 64-bit) You should see : "Setting environment for using Microsoft Visual Studio 2008 x86 tools." printed in the console + ( To start 64-bit build, the right environment is set with : + "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" amd64 + ) 3. cd to the FlightGear project directory : D: cd \FGFSDevel\FlightGear\projects\VC90 (for example) @@ -113,3 +118,9 @@ it in a scheduled task. To do that : msbuild FlightGear.sln /p:Configuration=Debug /m That's all... + +Note: you may experience the error below running the msbuild command : +FlightGear\projects\VC90\FlightGear.sln : error MSB4018: The "ResolveVCProjectOutput" task failed unexpectedly. +...(lots of additionnal messages) + +In that case, remove the /m switch from the command line.