Changes between Version 19 and Version 20 of CompilingGuide


Ignore:
Timestamp:
Jan 14, 2013 1:56:44 PM (4 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CompilingGuide

    v19 v20  
    11= Getting the source code =
    22
    3 The source code is stored using Subversion and the read-only repository is at !http://svn.leocad.org/. You can download the trunk version for the latest but unstable changes or the official releases using the leocad-0.73, leocad-0.75, etc tags. '''Please use one of the release tags unless you plan to be a developer.'''
     3The source code is available as an archive from the [http://leocad.org/files/ downloads page] or from the Subversion server at !http://svn.leocad.org/. You can download the trunk version for the latest but unstable changes or the official releases using the leocad-0.73, leocad-0.75, etc tags. '''Please use one of the release tags unless you plan to be a developer.'''
    44
    55Typing this would download the latest revision to a directory called 'leocad' on your computer:
     
    99}}}
    1010
    11 Or if you want to get the source code for version 0.77 you would type:
     11Or if you want to get the source code for version 0.79 you would type:
    1212
    1313{{{
    14 C:\>svn co http://svn.leocad.org/tags/leocad-0.77 leocad
     14C:\>svn co http://svn.leocad.org/tags/leocad-0.79 leocad
    1515}}}
    1616
    17 If you are new to Subversion you may want to read [http://svnbook.red-bean.com/en/1.1/index.html Version Control with Subversion] (CVS users will find a good comparison between CVS and Subversion in [http://svnbook.red-bean.com/en/1.1/apa.html Appendix A]), and download a free Subversion client from [http://subversion.tigris.org here].
     17If you are new to Subversion you may want to read [http://svnbook.red-bean.com/en/1.1/index.html Version Control with Subversion] and download a free Subversion client from [http://subversion.tigris.org here].
    1818
    1919You can receive notifications of source code changes by subscribing to the rss feed at the bottom of the [http://trac.gerf.org/leocad/timeline Timeline] page.
     20
     21= Required Libraries =
     22
     23You'll need to download a copy of the [http://www.zlib.net/ zlib] library to compile LeoCAD. Windows users should extract it to the {{{ leocad\win\zlib }}} folder while Linux users should just install it like other libraries in their system.
    2024
    2125= Optional Libraries =
     
    2428
    2529 * [http://www.ijg.org/ jpeglib]
    26  * [http://www.zlib.net/ zlib]
    2730 * [http://www.libpng.org/ libpng]
    2831
     
    6063}}}
    6164
    62 If you don't get any errors you should have a new executable in the {{{ bin }}} directory.
     65If you don't get any errors you should have a new executable in the 'bin' directory. Finally, build the 'install' target as root to copy the support files to the right places in your system:
     66
     67{{{
     68$ sudo make install
     69}}}
    6370
    6471
    6572= Compiling the Windows Version =
    6673
    67 If you downloaded the [wiki:CompilingGuide#OptionalLibraries optional libraries] extract them to the {{{ leocad\win }}} folder, or open {{{ config.h }}} in that same folder and comment out the #define LC_HAVE_XXX at the bottom of the file for the libraries that you don't have installed.
     74If you downloaded the [wiki:CompilingGuide#OptionalLibraries optional libraries] extract them to the {{{ leocad\win }}} folder, or open {{{ lc_config.h }}} in that same folder and comment out the #define LC_HAVE_XXX at the bottom of the file for the libraries that you don't have installed.
    6875
    6976LeoCAD 0.77 requires Visual Studio 2010 to compile.
    70 
    71 
    72 = Compiling the iPhone Version =
    73 
    74 Extract the Pieces Library to the iphone directory then open LeoCAD.xcodeproj, select the target configuration and compile.
    75 
    76 You will need the official iPhone SDK to compile and a developer certificate to run it on a phone, both can be obtained directly from Apple.
    77