how to compile ASL (boost based Adobe C++ gui library) on windows 7?

前端 未结 1 1208
臣服心动
臣服心动 2020-12-11 11:01

So I am triing to compile ASL on windows 7.

  • I got Adobe C++ Library files, docs and examples from here to %ASL%
  • I have downloaded and co
相关标签:
1条回答
  • 2020-12-11 11:22

    I was unable to build asl using .bat script shipped with library, but direct using of bjam did the job.

    • download and install boost libraries (version 1.45), intel tbb libraries (last version), apl and asl (last versions)

    • compile or download pre-compilled bjam and put it on %PATH%

    • unpack downloaded libraries to disk using next layout:

    \%PROJ_ROOT%
        \boost_libraries (put contents of archive_file/boost_1_45_0 here)
        \intel_tbb_libraries
        \platform_release (put contents of apl archive here)
        \adobe_source_libraries (put contents of asl/source_release archive here)
    

    • In next step we need to fix %PROJ_ROOT%\platform_release\jamroot.jam file project entry in next way:
    
      project
       : requirements
         $(DARWIN_APL_REQUIREMENTS)
         <include>. # we should add this line because compiler 
                    # can't find include files during compiling tests
       : default-build
         <link>static
         <threading>multi
         <preserve-test-targets>on
    
       : build-dir
          $(TOP)/../built_artifacts
       ;
    
    • start Visual Studio Command Prompt

    • cd to %PROJ_ROOT%\adobe_source_libraries and invoke bjam

    • cd to %PROJ_ROOT%\platform_release and invoke bjam

    Done ! )

    P.S. I have Visual C++ 2010 Express, but I think that this guide should work for VS2008 too.

    0 讨论(0)
提交回复
热议问题