Win. 32. Compile. MSYSOld - Video. LAN Wiki. This page is obsolete and kept only for historical interest. It may document features that are obsolete, superseded, or irrelevant. Do not rely on the information here being up- to- date. Additional information: Use Win. Compile. MSYSNew. MSYS/Min. GW environment for Windows from http: //developers. Introduction. MSYS/Min. GW environment. Setting up a working MSYS/Min. GW environment requires the following. MSYS installation. MSYS DTK (Developer Tool Kit). Updating bash (shell). . update Mingw GCC to 4.4.0 by downloading http:// if it's Option f. MAKENSIS $(win32_destdir)/vlc.win32. To download a copy of Win32++ proceed to the project's hosting at SourceForge here. Win32++ supports all Windows operating systems. VideoLAN is happy to celebrate with you the 15th anniversary of the birth of VideoLAN and VLC as open source projects! More News. it's been over one year I've. Re: {UPDATE} VLC media player 1.1.1. > http:// Re: {UPDATE} VLC media player 1.1.1: s|b: 7. Min. GW installation. Configuration of fstab. Creation of home folder. Note that the following generic resource locations were used to download the appropriate packages (and more recent versions might be obtained from here). MSYS/Min. GW relatednasm. SDLzippkg- configsed. Http S Sourceforge Net Project Vlc Win32 CompileHttp:// win32-zip. Fails on: sed -i 's%share/osdmenu%osdmenu. a make package-win32-zip, it will fail to compile VLC source. Official page for VLC media player, the Open Source video. Projects. DVBlast; x264; x262. VLC, VLC media player and x264 are trademarks internationally. Minimal SYStem (MSYS) installationhttp: //prdownloads. MSYS- 1. 0. 1. 1- 2. Perform a basic installation into C: \msys. . from the system's start. the best documentations for Open Source Projects like libusb and libusb-win32. libusb(http://sourceforge.net/projects. . (O.S.D.) * Frontpage movies. * JuceVLC application uses regular VLC core libraries/plugins. Get project updates, sponsored content from our select partners. Do not continue with the post install (this will be done later). Update MSYSUpdate MSYS to a more recent version. MSYS- 1. 0. 1. 1- 2. Extract the . tar. VLC media player The best free media player for video and DVDs. VLC’s versatility. this isn't a SourceForge project! Home » Freeware » VLC Media Player updated to Version 1.1. VLC Media Player to version 1.1.10. It’s because. http: //sourceforge.net/projects/vlc/files/1. Copy the files to. This will overwrite/update the version(s) used in MSYS. MSYS DTK (Developer Tool Kit)http: //prdownloads. DTK- 1. 0. 1. exe. Perform a basic installation into C: \msys. Updating BASHhttp: //prdownloads. MSYS- 1. 0. 1. 1- snapshot. Extract the . tar. Copy the files to. This will overwrite/update the sh. MSYS. Min. GWhttp: //prdownloads. Min. GW- 5. 0. 3. Select the download option. Do not install with "Current" Min. GW packages but select "Candidate". Select the following components to install. Min. GW base tools (autoselected). Then installation will finish downloading automatically. Run Min. GW- 5. 0. Selet "Candidate" still and select the same components to install. Perform the installation into the default destination. The following versions (or possibly newer) of the candidate packages will be. It is also possible to get these packages seperately and extract them to C: \msys\mingw). Configuring fstab. The folder C: \msys\etc contains the following file. Copy the file to. Open the file with a text editor and change the path value for the mingw mount point from. Starting MSYSThe first time MSYS is started, a "home" folder is created, for example. C: \msys\home\Administrator. Installing additional packages. The following packages are required for building VLC. WGet. Wget is required for building from the "extras/contrib" or mingw. PORT packages. http: //prdownloads. PORT. tar. bz. 2Although this is a mingw. PORT package it already has a precompiled wget on board. Extract the . tar. It contains the following file in the bin subfolder. Copy the file to. C: \msys\mingw\bin. Iconv (GNU libiconv)http: //prdownloads. Perform a basic installation into the default destination Folder. Updating Iconvhttp: //prdownloads. PORT. tar. bz. 2Extract the . Copy the contents into your home folder in MSYS. C: \msys\home\Administrator (example). Start the MSYS shell and do the following commands. PORT/libiconv- 1. PORT. mkdir - p /usr/src/libiconv- 1. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into c: /msys/mingw/lib. NOTE: For some unknown reason usage of Iconv fails when 1. Gettexthttp: //downloads. Untar both of these packets and copy the files in the subdirectories under gettext- 0. C: \msys\mingw. copy gettext- 0. C: \msys\mingw\lib\. C: \msys\mingw\bin\. The latest VLC from svn requires gettext- 0. Min. GW Utils. The unix. VLC for some conversion of txt files. Extract the . tar. Copy the file to. C: \msys\mingw\bin. Libtoolhttp: //prdownloads. PORT. tar. bz. 2Extract the . Copy the contents into your home folder in MSYS. C: \msys\home\Administrator (example). Start the MSYS shell and do the following commands. PORT/libtool- 1. 5. PORT. mkdir - p /usr/src/libtool- 1. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into c: /msys/mingw/lib. Autoconfhttp: //prdownloads. PORT. tar. bz. 2Extract the . Copy the contents into your home folder in MSYS. C: \msys\home\Administrator (example). Start the MSYS shell and do the following commands. PORT/autoconf- 2. PORT. mkdir - p /usr/src/autoconf- 2. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into c: /msys/mingw/lib. Updating autoconf from contrib. VLC 0. 8. 6 and later (including 0. If during the configure process the following msg appears it's time to update. Hey, your autoconf is quite old. Update it". Open your MSYS shell. Automakehttp: //prdownloads. PORT. tar. bz. 2Extract the . Copy the contents into your home folder in MSYS. C: \msys\home\Administrator (example). Start the MSYS shell and do the following commands. PORT/automake- 1. PORT. mkdir - p /usr/src/automake- 1. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into c: /msys/mingw/lib. Zip. Zip is required for making . WIN3. 2/zip. 23. 2x. N. zip. Extract the . It contains the following file in the bin subfolder. Copy the file to. Coreutils. The whoami tool from this package is required for "svn builds". MSYS- 1. 0. 1. 1- snapshot. Extract the . tar. Copy the file to. C: \msys\mingw\bin. Optional packages. GDB (optional)GDB is used for debugging purposes. Perform an installation into the folder. ZLib (optional)Zlib is a required package in combination with the Gpac package for . PORT- 1. tar. bz. Extract the . tar. Copy the contents into your home folder in MSYS. C: \msys\home\Administrator (example). Start the MSYS shell and do the following commands. PORT/zlib- 1. 2. 3/mingw. PORT. mkdir - p /usr/src/zlib- 1. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into c: /msys/mingw. Updating SDL from mingw. PORT (optional)SDL support is required when building ffplay from the FFmpeg package. SDL- 1. 2. 8- mingw. PORT. tar. bz. 2Extract the . Copy the contents into your home folder in MSYS. C: \msys\home\SDL- 1. PORT (example). Start the MSYS shell and do the following commands. SDL- 1. 2. 8- minw. PORT/SDL- 1. 2. 8/mingw. PORT. mkdir - p /usr/src/SDL- 1. PORT. sh. Follow the default installation. If all went well all the appropriate libraries should be installed/built and placed into /usr/local/lib. Updating SDL (optional)http: //www. SDL- 1. 2. 1. 1. tar. Extract the . tar. Copy the contents into your home folder in MSYS. C: \msys\home\SDL- 1. Start the MSYS shell and do the following commands. If all went well all the appropriate libraries should be installed/built and placed into /usr/local/lib. Nasm (optional)The Netwide assembler (nasm) is required for building the x. Download the latest win. Extract the . zip. It contains the following file in the bin subfolder. Rename the file to nasm. C: \msys\mingw\bin. GPAC (optional)GPAC is required for building the x. Start the MSYS shell and do the following commands. P gpac. This will download the latest GPAC version from CVS. TODO: copy GPAC files to appropriate folder automagically. Start the MSYS shell and do the following commands. For generic purposes. This will copy the appropriate libs and . VLC for building the contrib. For compiling "stand- alone with mp. GPAC). ./configure - -enable- mp. If you wish to compile FFmpeg stand- alone with x. This will copy the appropriate libs and . FFmpeg (optional)Start the MSYS shell and do the following commands. For generic purposes. For compiling with x. This assumes you did a "make install" for x. I/usr/local/include \. L/usr/local/lib \. For compiling into VLC. This does not need x. FFmpeg since VLC uses that directly, also prefix and extra flags are used to point to the "contrib" folder). I/usr/win. 32/include \. L/usr/win. 32/lib \. This will copy all the appropriate libs and . VLC compilation. FAQVarious troubleshooting issues.. Administrator/vlc- trunk/./extras/contrib/src/mpeg. Administrator/vlc- trunk/./extras/contrib/src/mpeg. Workaround: configure with. Make package- win. Fails on. sed - i 's%share/osdmenu%osdmenu%g' ./vlc- 0. Workaround: compile sed 4. ONLY use the 4. 0. VLC source. (so after it finishes, you have to copy the old version back again). So in conclusion. E. sed 4. 1. 0+ requires glib. Warnings during configure. Using contrib from 2. WARNING: libshout library not found. WARNING: Music. Brainz library not found. WARNING: CD Reading and information library not found. WARNING: VCD information library not found. WARNING: new enough libcddb not found. CDDB access disabled. WARNING: only static linking is available, you must provide a gme- tree. WARNING: Probe disc disabled because ok libcdio library not found. WARNING: VCD information on Probe disc disabled because ok. WARNING: QT4 library not found. WARNING: DAAP library not found. WARNING: avahi- client library not found. Can not write to output file with unix. AUTHORS. txt to DOS format .. AUTHORS. txt. unix. MAINTAINERS. txt to DOS format .. THANKS. txt to DOS format .. Load file in emacs and do. M- x set- buffer- file- coding- system RET undecided- dos. C- x RET f undecided- dos. C- x C- s). Version 2. Initial version. 2. Reworked layout. 2. Added troubleshooting section. Added FFmpeg and x. Removed unicode warning from troubleshooting. Wiki / Home libusb- win. Bug- Fix- Only maintenance mode. It is recommended new project should migrate to libusb- 1. API and use libusb Windows (http: //libusb. For Windows only project, you can also look at libusb. K below (http: //libusbk. Usb. K3/index. html) libusb- win. USB library libusb 0. Microsoft Windows operating systems (Windows 2. Windows XP, Windows Vista and Windows 7; Windows 9. SE and Windows ME for versions up to 0. The library allows user space applications to access many USB device on Windows in a generic way without writing any line of kernel driver code. Vista/7/2. 00. 8/2. R2 6. 4 bit are supported from version 1. Microsoft KMCS accepted digital signature is embedded in the kernel driver libusb. Features: Can be used as a filter driver for existing, already installed devices. This feature allows libusb- win. USB device. Starting with v. GUI (filter wizard) is provided and it is only to attach the filter driver to particular USB device of interests. So this should be safer to use than the older behavior which tries to attach the filter to all USB device (acting as class filters to all possible device class). It is still possible to do that by using the console version of install- filter. BSODs. When you use the device filter mode using the Filter Wizard GUI, you may have to repeat the process if you unplug the device and plug it back in a different port. Can be used as a normal device driver for devices for which no driver exists (self build/developed USB hardware, etc). You can also replace the existing device driver with libusb- win. This is the preferred way to use libusb- win. When you use the Inf- Wizard GUI to replace a device with inbox driver (like HID or USB Mass Storage Device), you may need to repeat the process if you plug in a same device but with different serial number. This is because Windows prefers inbox driver (signed) and ranks it higher than the libusb- win. The two methods described above can be used in parallel. However, the device driver mode is the preferred way to use libusb- win. The class filter driver is not recommended to be used. API and functional compatible with the libusb 0. Supports all USB transfer: Control, Bulk, Interrupt and Isochronous transfers. Take note the libusb 0. OS (Linux, Mac OS X, BSDs, etc) does not support Isochronous Transfer. API which is not available to libusb- 0. Linux or other OS. Supports all Standard Device Requests (control messages) described in chapter 9 of the USB specification. Supports vendor specific control messages. License The library (DLL and import lib, examples, installers) is distributed under the terms of the GNU Lesser General Public License (LGPL http: //www. LGPL). Take note the installers in the older versions of libusb- win. GPL, not LGPL. The driver portion (libusb. GNU General Public License (GPL http: //www. GPL). This license combination explicitly allows the use of this library in commercial, non- Open- Source applications. Read the licenses carefully and apply all of their requirements before including this library in a commercial application! In the future the project administrators will add a New BSD option to the license to address the WHQL Licensing issue. Support If something isn't working as expected, make sure that you have installed the the latest version of libusb- win. OS before requesting for any support. Available Support Options: A mailing list (https: //sourceforge. It is the preferred support channel. Please subscribe (http: //lists. The project page offers different forms which can be filled out to get support, to report bugs, or to request new features. Please describe your problems and your system as precise as possible (OS, service packs, version of libusb- win. This will make solving problems a lot easier. Debug version of the libusb- win. Together with Microsoft Debug. View http: //technet. You should also read the FAQ (Frequently Asked Questions) Wiki Page https: //sourceforge. Faq/. Download Source code and binary packages can be downloaded from the project download site https: //sourceforge. Source code is also available via anonymous Subversion checkout https: //sourceforge. HEAD/tree/. Installation '''Installation''''''Filter Driver Installation'''Please use the latest release version. Versions up until 0. Vista and Windows 7 and some XP installations. Please use later versions (1. For 6. 4bit Windows Vista/7/2. R2, the version should be 1. We always recommend users to use the latest release version available. The filters driver is installed by a user friendly GUI installer which makes the install and uninstall process easier and more secure. Starting with 1. 2. GUI for installing the filter driver (Filter Wizard) is the preferred way to use the filter. It only tries to attach the filter driver to a particular USB device. You can still use the command line install- filter. But it is not recommended. Log in as a user with administrator privileges. Download (https: //sourceforge. Close all applications which use USB devices before installing. Run the installer, and follow its instructions. Do not run the installer from an USB storage device, this is especially important for versions prior to 1. Run the test program (testlibusb- win. This program will verify the correct installation and print the descriptors of the USB devices accessible by the library. A reboot may not be necessary but is recommended.'''Device Driver Installation'''Please use the latest release version. The device driver is distributed as a separate package which includes everything to use libusb- win. The installation of the filter driver is not necessary any more! Log in as a user with administrator privileges. Download (https: //sourceforge. Extract it to a temporary directory. Use the INF- Wizard program to generate the INF file (modify the vendor and product IDs, strings etc). Create different inf- files to install different types of devices (devices with different IDs). Unplug the device(s) from the system. This is optional. Open the Windows Device Manager and remove all incorrectly installed USB devices (device entries with a yellow exclamation mark). This is optional. Reconnect the device(s) to the system. When Windows asks for a driver, choose the inf- file(s) created above. Windows will warn that the driver is is not 'digitally signed'. Ignore this message and continue with the installation. Since version 1. 2. AMD/Intel x. 86_6. Windows so that the users can install the driver as well under 6. Windows Vista/7/2. R2. Please read more about the Microsoft Kernel Mode Code Signing (KMCS)(http: //www. Open the Windows Device Manager to verify that the device is installed correctly. Run the test program (testlibusb- win. It should print out the descriptors of your device(s). A reboot isn't necessary. Starting from version 1. Removing'''Removing the Filter Driver To remove device filter driver, run the GUI filter driver wizard to remove it. To remove the class filter driver open the Control Panel, open 'Software', choose the 'Lib. Usb- Win. 32- x. x. Take note class filter driver is not recommended to be used. A reboot isn't necessary. If the above failed, you can manually run "install- filer - u" as admin. After that you can remove the other relevant files. Again, take note class filter driver is not recommended to be used. Removing the Device Driver'''Updating'''Updating the Filter Driver. Remove the old version first (see above). This is the recommended method even though it is not strictly necessary. Install the new version as described above. Updating the Device Driver. Download (https: //sourceforge. Modify the inf- file as described in the Installation section. Open the Device Manager and select the device you want to update. Choose 'Properties- > Driver- > Update'. Disable the automatic installation and select the new inf- file manually. Since 1. 2. 1. 0, inf- wizard. Development '''Requirements to build libusb- win. A Win. XP or later system. The Windows WDK 6. You can get WDK from Microsoft (http: //www. WDKpkg. mspx) . From 1. WDK will be the official tools to build the kernel driver files since it is the primary tools Windows driver developers use. It will be the official tools to build the release packages as well. Min. GW and Min. GW- w. Even if they can build the driver from the source codes, the resultant libusb. Min. GW/Msys (http: //www. It is required if you want to build the Min. GW GCC import library to work with the libusb. It can also be used to build the test programs. Min. GW- w. 64 (http: //mingw- w. Windows. Cygwin (http: //sources. Cygwin. Please upgrade to the latest version (1. Cygwin package which may lead to BSODs or USB lockups. Borland C++ 5. 5 (https: //downloads. Borland C++. Borland C++ is no longer supported so YMMV with the import library. Inno Setup 5 or above (http: //www. Build Process'''Until 0. Makefile under Min. GW/MSys. Starting from version 1. Min. GW/MSys can only be used to to build 3. Download the latest source code. From a Msys shell run the command "make" to build the library and test programs. Starting from version 1. DDK_MAKE directory will be the main tools to build the driver, library, and distribution packages. Download the latest source code. Edit make. cfg according to your particular setup (WDK directory, locations of Min. GW, Borland C++, Inno Setup, etc). Use the provided batch files to the build the 3. Please refer to the output of "make. To build the distribution archives and the installer run "make. Please refer to the output of "make. For developers who want to use libusb- win. To use libusb- win. GCC, BCC, and MSVC 3. To avoid any version conflicts, DO NOT include the DLL libusb. The DLL is part of the driver and installed automatically to the Windows system directory. If you are porting a libusb 0. Unix style systems to Windows, please take note that libusb- win. IN Endpoints and OUT Endpoints. So IN Endpoint 1 is 0x. OUT Endpoint 1 is 0x. One more difference is that you need to call usb_set_configuration() before usb_claim_interface(). This is especially for the filter drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
September 2016
Categories |