From: Elisha B. <e....@co...> - 2006-09-22 01:39:18
|
I am trying to build the ASL using VC8 and so far I don't see how to do it. The build.bat is set for use with VC71 and when I change the settings for VC8 it builds the bjam executable and then dies. So what changes are needed to build using VC8? And the directory of VC8 projects what are they good for if they are in disrepair? Thanks, Elisha Berns |
From: Mat M. <mm...@em...> - 2006-09-22 01:59:55
|
> -----Original Message----- > From: ado...@li... > [mailto:ado...@li...] On > Behalf Of Elisha Berns > Sent: Thursday, September 21, 2006 6:39 PM > To: ado...@li... > Subject: [Adobe-source-devel] How to build ASL with VC8 > > I am trying to build the ASL using VC8 and so far I don't see > how to do it. > The build.bat is set for use with VC71 and when I change the > settings for > VC8 it builds the bjam executable and then dies. > > So what changes are needed to build using VC8? I'm sorry to hear that you are having difficulties. I wouldn't suggest trying to manually hack build.bat. Instead you could start here: <http://opensource.adobe.com/asl_readme.html#building_automatically> > And the directory of VC8 projects what are they good for if > they are in disrepair? Please let us know what problems you are having with the VC8 projects. We use them on a daily basis and are not aware of any issues at present. > Thanks, > > Elisha Berns > - Mat |
From: Mat M. <mm...@em...> - 2006-09-22 02:15:42
|
> > -----Original Message----- > > From: ado...@li... > > [mailto:ado...@li...] > On Behalf Of > > Elisha Berns > > Sent: Thursday, September 21, 2006 6:39 PM > > To: ado...@li... > > Subject: [Adobe-source-devel] How to build ASL with VC8 > > > > I am trying to build the ASL using VC8 and so far I don't > see how to > > do it. > > The build.bat is set for use with VC71 and when I change > the settings > > for > > VC8 it builds the bjam executable and then dies. > > > > So what changes are needed to build using VC8? On further examination I see that the build.bat file has fallen out of date. Sorry about that. Here is a replacement version that should work with VC8. Please let me know if it works for you. - Mat --------------------------------------------- @ECHO OFF rem ### This will make the current directory to be that of the build script PUSHD %~dp0 set BOOST_JAM_TOOLSET=vc80 set TOOLS=vc80 if EXIST "%ProgramFiles%\Microsoft Visual Studio 8\VC\" ( set BOOST_JAM_TOOLSET_ROOT=%ProgramFiles%\Microsoft Visual Studio 8\VC\ set VC80_ROOT=%BOOST_JAM_TOOLSET_ROOT% ) if "_%BOOST_JAM_TOOLSET_ROOT%_" == "__" ( echo ### echo ### Your installation of MSVC is not in a default location. echo ### You must set environment variable "BOOST_JAM_TOOLSET_ROOT" before you can continue. echo ### You can either do this by typing at the command line: echo ### "set BOOST_JAM_TOOLSET_ROOT=C:\Directory\Path\To\VC80" echo ### or by setting it as an environment variable in your Windows echo ### system settings control panel. echo ### Don't forget the final backslash! echo ### goto :Error ) echo ### echo ### Found %TOOLS% at %BOOST_JAM_TOOLSET_ROOT% echo ### rem ### This will set up required MSVC.NET environment variables. if EXIST "%BOOST_JAM_TOOLSET_ROOT%bin\VCVARS32.BAT" ( call "%BOOST_JAM_TOOLSET_ROOT%bin\VCVARS32.BAT" ) rem ### We now go into building the bjam executable straight from source. rem ### Assuming the client only needs to run this once, we always build bjam if EXIST "bjam.exe" ( DEL bjam.exe ) PUSHD ..\..\third_party\boost_tp\boost\tools\build\jam_src\ DEL *.obj DEL *.pdb CALL build.bat msvc @ECHO OFF rem ### The call to Boost's build.bat turns echo on, so the previous line redisables it. if ERRORLEVEL 1 ( echo ### Error : %ERRORLEVEL% EXIT /B %ERRORLEVEL% ) copy bin.ntx86\bjam.exe ..\..\..\..\..\..\adobe\tools POPD set TEMP_HOME=C:\TEMP\adobe-source if "_%HOME%_" == "__" ( set HOME=%TEMP_HOME% ) if NOT EXIST "%HOME%" ( MkDir %HOME%\ ) echo HOME directory found at "%HOME%"... if NOT EXIST "%HOME%\user-config.jam" ( echo import msvc-config ; > %HOME%\user-config.jam ) if "_%HOME%_" == "_%TEMP_HOME%_" ( echo import msvc-config ; > %HOME%\user-config.jam ) if ERRORLEVEL 1 ( echo ### Error : %ERRORLEVEL% EXIT /B %ERRORLEVEL% ) PUSHD ..\..\ adobe\tools\bjam.exe -v adobe\tools\bjam.exe debug adobe\tools\bjam.exe release if ERRORLEVEL 1 ( echo ### Error : %ERRORLEVEL% EXIT /B %ERRORLEVEL% ) rem ### Restore old working directory POPD POPD EXIT /B 0 |