[vlc-devel] Re: build VLC using VC++6.0?

Thomas Peng Thomas_Peng at highend.com
Fri Feb 21 18:28:55 CET 2003





Hi, Dear VideoLAN team,

I also want to change VLC and debug it, I met the same problem to build VLC
using VC 6.0. Would you please give us some suggestions?

Thanks.
                                                                            
                                                                            
 Thomas Peng                                                                
                                                                            
 High End Systems, Inc.                                                     
 2217 W. Braker Lane                                                        
 Austin, TX 78758 USA                                                       
 Phone: 512-836-2242, Ext: 399                                              
 Thomas_Peng at highend.com                                                    
                                                                            
                                                                            
         To: <gbazin at netcourrier.com>                                       
         Subject: [vlc-devel] Re: build VLC using VC++6.0 ?                 
         From: Junfeng Bai <Junfeng.Bai at ece.gatech.edu>                     
         Date: Mon, 17 Feb 2003 18:32:34 -0500 (EST)                        
         Cc: <vlc-devel at videolan.org>                                       
         Delivered-to: vlc-devel-archive at via.ecp.fr                         
         Delivered-to: vlc-devel at via.ecp.fr                                 
         Importance: Normal                                                 
         In-reply-to: <200302180010.21034.gbazin at netcourrier.com>           
         References:                                                        
         <49041.216.162.34.163.1042839624.squirrel at secure2.ece.gatech.edu>  
         <p05111b02ba6f3fc25c7a@[62.147.66.95]> <                           
         61043.216.162.34.163.1045514180.squirrel at secure2.ece.gatech.edu> < 
         200302180010.21034.gbazin at netcourrier.com>                         
         Reply-to: vlc-devel at videolan.org                                   
         Sender: vlc-devel-bounce at videolan.org                              
   Dear Gildas,                                                             
                                                                            
   Thanks for your reply!                                                   
                                                                            
   I successfully built VLC (0.5.0) using cygwin and it is great! But now I 
   want to debug and modify some parts of the VLC. (I try to prevent VLC    
   from                                                                     
   dropping whole frame in case of packet loss. And I have no programming   
   experience in Linux.)                                                    
                                                                            
   Yes, I tried the newest version of VLC (0.5.1). Under the root           
   directory,                                                               
   there is a MSVC directory, in which are there *.dsp files and config.h . 
   But none of them automatically load source files into the workspace of   
   VC++. Could you give me some hints of how to use these *.dsp files? And  
   what kind of extra efforts to build VLC using vc++?  Thanks a lot!       
                                                                            
                                                                            
   Junfeng Bai                                                              
                                                                            
                                                                            
                                                                            
                                                                            
   > On Monday 17 February 2003 21:36, Junfeng Bai wrote:                   
   >> Hello!                                                                
   >>                                                                       
   >> I try to build vlc-0.4.6 source files using VC++6.0. I found there    
   are                                                                      
   >> VC++ project files for VLC in VLC4.6 version under "extra/            
   win32_MSVC"                                                              
   >> folder. And I finally successful biult it but I got the error from    
   >> "intf" when debugging.                                                
   >>                                                                       
   >                                                                        
   > I would first strongly advise you to try vlc 0.5.1 instead of the old  
   > 0.4.6  version.                                                        
   >                                                                        
   > As for the intfwin interface, it can't be compiled with VC++ because   
   it                                                                       
   > has  been created with Borland Builder.                                
   > VLC 0.5.1 includes a basic interface designed with wxWindows           
   > (www.wxwindows.org) that should be compilable with VC++ (although I    
   > doubt  it will be straight-forward).                                   
   > You can also use the simpler "dummy" or "rc" interfaces.               
   >                                                                        
   >> "VideoLAN Client - version 0.3.1_2002-05-03 Ourumov - (c) 1996-2002   
   > VideoLAN                                                               
   >>                                                                       
   >> intf error: no suitable intf module                                   
   >> intf error: interface initialization failed                           
   >> "                                                                     
   >>                                                                       
   >> I think I didn't provide the proper "intfwin.so" files in "plugins"   
   to                                                                       
   >> vlc.exe .  But is it possible that I just use "command line" not the  
   >> "interface" at this time (for example  "vlc video.mpg")?              
   >>                                                                       
   >                                                                        
   > You're right, the error comes from not having the intfwin interface.   
   You                                                                      
   > can however force vlc to use the "dummy" interface by using a command  
   > line of the following form: "vlc -I dummy video.mpg" (use "vlc -h" or  
   > "vlc  -H" to obtain a list of the command line options).               
   >                                                                        
   >>                                                                       
   >>                                                                       
   >> I try to use the "intfwin.so" coming with installable VLC application 
   >> (version 0.4.6). But I got the same error from "intf".  After I made  
   >> the following change, I could see the  "intfwin" interface, but the   
   >> program just crashed there.                                           
   >>                                                                       
   >                                                                        
   > This won't work because the plugin entry points won't be the same for  
   a                                                                        
   > released version and a development version.                            
   >                                                                        
   >                                                                        
   > We almost always compile VLC with the gcc compiler, so you might be    
   > better  off using it if you want to do some serious developpment. VLC  
   > compiles  really well under the cygwin environment (www.cygwin.com)    
   and                                                                      
   > the procedure  is described in the INSTALL.win32 file so you might     
   want                                                                     
   > to have a look at  this.                                               
   >                                                                        
   > Regards,                                                               
   >                                                                        
   > --                                                                     
   > Gildas                                                                 
                                                                            
                                                                            
                                                                            
   --                                                                       
   This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/     
   To unsubscribe, please read http://developers.videolan.org/lists.html    
   If you are in trouble, please contact <postmaster at videolan.org>          
                                                                            
                                                                            
   Replies                                                                  
         [vlc-devel] Re: How VLC deal with TS Packet Loss?, Christophe      
         Massiot                                                            
         [vlc-devel] build VLC using VC++6.0 ?, Junfeng Bai                 
         [vlc-devel] Re: build VLC using VC++6.0 ?, Gildas Bazin            
         Prev by sort-type: [vlc-devel] Re: build VLC using VC++6.0 ?       
         Next by sort-type: [vlc-devel] CVS Commit (hartman)                
         Prev by Thread: [vlc-devel] Re: build VLC using VC++6.0 ?          
         Next by Thread: [vlc-devel] Re: How VLC deal with TS Packet Loss?  
         Index(es):                                                         
               Date                                                         
               Thread                                                       
                                                                            
                                                                            


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc-devel mailing list