Changeset 2234

Show
Ignore:
Timestamp:
2006-05-04 17:58:04 (3 years ago)
Author:
cchiu
Message:

Updated set-up guide for VLC compilation and debugging.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AnnodexFirefoxExtension/trunk/Docs/DevDoc_MediaEngineAddendum.html

    r2233 r2234  
    6666  <li>Setup the latest win32 pre-assembled libraries for VLC by extracting the  
    6767  archive and copying to <font face="Courier New">/cygwin</font> directory. 
    68   <br>The archive can be found in the following directory: <a href="http://download.videolan.org/pub/testing/win32/">http://download.videolan.org/pub/testing/win32/</a> 
     68  <br>The archive can be found in the following directory: 
     69  <a href="http://download.videolan.org/pub/testing/win32/contrib-20060428-win32-bin-gcc-3.4.5-only.tar.bz2"> 
     70  http://download.videolan.org/pub/testing/win32/contrib-20060428-win32-bin-gcc-3.4.5-only.tar.bz2</a> 
    6971  <br>Further information on development and common issues can be found here: <a href="http://www.firstmiletv.nl/vlc/developers/howto.txt">VLC Developer's Guide</a></li><br> 
     72  <br> 
    7073  <li>In the <font face="Courier New">/MediaEngines/VLC</font> directory run the script: <font face="Courier New">./Patch</font></li> 
    7174</ol> 
     
    7780  Build<br> 
    7881  Configure.cygwin</font><br> 
    79   <b>&nbsp;&nbsp;&nbsp; Optional:</b> It is safe to remove the 
     82  <b><br> 
     83  Optional:</b> It is safe to remove the 
    8084  <font face="Courier New">/MediaEngines/VLC/build</font> directory after step 1  
    8185  is completed.<br> 
     
    8892  Replace Line 17: Set the Gecko-SDK directory location to be absolute path, for  
    8993  example:<br> 
    90   <b>&nbsp;&nbsp;&nbsp; Example:</b> <font face="Courier New">--enable-mozilla  
     94  <b>Example:</b> <font face="Courier New">--enable-mozilla  
    9195  --with-mozilla-sdk-path=/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32  
    92   \</font><br> 
     96  \<br> 
     97  <br> 
     98  </font>Add the following after Line 11 (Please take note of the respective  
     99  drive of your Cygwin installation and the drive in which it is located):<font face="Courier New"><br> 
     100  <br> 
     101  export CPPFLAGS=&quot;-I/usr/win32/include -I/usr/win32/include/ebml -I/cygdrive/C/Cygwin/usr/win32/gecko-sdk/include&quot;<br> 
     102  export LDFLAGS=&quot;-L/usr/win32/lib -L/cygdrive/C/Cygwin/usr/win32/gecko-sdk/lib&quot;<br> 
     103  XPIDL=/cygdrive/C/Cygwin/usr/win32/gecko-sdk/bin/xpidl.exe<br> 
     104  XPIDL_INCL=&quot;-Ic:\Cygwin/usr/win32/gecko-sdk/idl&quot;<br> 
     105  <br> 
     106  </font><b>Optional: </b>You can remove the old <font face="Courier New"> 
     107  CPPFLAGS</font> and <font face="Courier New">LDFLAGS</font> constants in line  
     108  7 and 8 once step 2 is completed.<br> 
    93109&nbsp;</li> 
    94110  <li>Modify <font face="Courier New">/MediaEngines/VLC/src/Build</font> as  
     
    102118  Replace Line 4127: Set the Gecko-SDK directory location to be absolute path,  
    103119  for example:<br> 
    104   <b>&nbsp;&nbsp;&nbsp; Example:</b> <font face="Courier New">real_mozilla_sdk=&quot;/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32&quot;<br> 
     120  <b>Example:</b> <font face="Courier New">real_mozilla_sdk=&quot;/cygdrive/c/Cygwin/Annodex/trunk/MediaEngines/GeckoSDK/gecko-sdk-win32&quot;<br> 
    105121&nbsp;</font></li> 
    106122  <li>Modify <font face="Courier New">/MediaEngines/VLC/src/mozilla/Makefile.am</font>  
     
    110126  location to be absolute path (i.e. forward slash for drive, back slash for  
    111127  subdirectories):<br> 
    112   <b>&nbsp;&nbsp;&nbsp; Example:</b> <font face="Courier New">VLCIDL_FILE = &quot;c:\Cygwin/Annodex/trunk/MediaEngines/VLC/src/mozilla/vlcintf.idl&quot;</font><br> 
     128  <b>Example:</b> <font face="Courier New">VLCIDL_FILE = &quot;c:\Cygwin/Annodex/trunk/MediaEngines/VLC/src/mozilla/vlcintf.idl&quot;</font><br> 
    113129  Replace the string in Line 89: <font face="Courier New">$(srcdir)/vlcintf.idl  
    114130  --to--&gt; $(VLCIDL_FILE)</font><br> 
     
    116132  --to--&gt; $(VLCIDL_FILE)</font><br> 
    117133&nbsp;</li> 
    118   <li>Modify <font face="Courier New">/MediaEngines/GeckoSDK/gecko-sdk-win32/xpcom/include/nslSupportsUtils.h</font>  
     134  <li>Modify <font face="Courier New">/usr/win32/gecko-sdk/include/nslSupportsUtils.h</font>  
    119135  as follows:<br> 
    120136  <br> 
    121   Replace line 246: <font face="Courier New">template &lt;&gt;<br> 
     137  Replace line 205: <font face="Courier New">template &lt;&gt;<br> 
    122138&nbsp;</font></li> 
    123139  <li>In the <font face="Courier New">/MediaEngines/VLC/src</font> directory run