⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.w32

📁 MIDI解码程序(用VC编写)
💻 W32
📖 第 1 页 / 共 2 页
字号:
             ./configure_bc --enable-interface=vt100,winsyn,ncurses --enable-network \             --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio            (make)             make3.OpenWatcom C++ in Msys environment(1)OpenWatcom and MSYS    1)Set OpenWatcom(http://www.openwatcom.org)       1-1)Download OpenWatcom, install and configure them       1-2)Download Microsoft Platform SDK install and configure them.            Replace rc.exe of OpenWatom with the one of Platform SDK's one.            (OpenWatcom's rc.exe can't use).  2)Setup Mngw and MSYS (See MingwWiki(http://mingw.sourceforge.net/MinGWiki/))        Remove mingw path from /etc/fstab.        Add fllowing line at the top of Msys.bat and create wcc_env.bat.              call wcc_env.bat        wcc_env.bat is like follow ing            @echo off            set LIB=            set INCLUDE=            call i:\watcom\setvars.bat                 ----               ( setteing of various env. val. s )                  ----(2)Setup needed libraries(The wcc386 option -5s is recomended !! Because of TiMidity++ compatibility.!!)        2-0) make import Libray from dll           mlib -n -b out.lib in.dll        2-1)pdcurses           Get  pdcurses-2.5.0  from GnuWin32(http://sourceforge.net/projects/gnuwin32/)           and make import Libraries from dlls.           "libpdcurses.lib"  is needed (not pdcurses.lib).           Move curses.h to include path and libpdcurses.lib libarary path.        2-2)oggvorbis(http://www.vorbis.com/)           Get OggVorbis-win32sdk-1.0.1.zip and extract it.           Edit include\ogg\os_types.h.              (os_types.h)              29 #  if defined(__WATCOMC__)              30 /* MSVC/Borland */              31 typedef __int64 ogg_int64_t;              32 typedef int ogg_int32_t;              33 typedef unsigned int ogg_uint32_t;              34 typedef short ogg_int16_t;              35 typedef unsigned short ogg_uint16_t;              36 #  else                   -----              52 #  endif           Make inport Libraries from dll           Set environment variables in batch file like this.                REM OggVorbis                set PATH=\usr\local\oggvorbis-win32sdk-1.0.1_wcc\bin;\usr\local\oggvorbis-win32sdk-1.0.1_wcc\lib;%PATH%                set C_INCLUDE_PATH=/usr/local/oggvorbis-win32sdk-1.0.1_wcc/include:%C_INCLUDE_PATH                set LIB=\usr\local\oggvorbis-win32sdk-1.0.1_wcc\lib:%LIB%           Only *.h files are needed for TiMidity++.        2-3)gogo no coder(http://www.marinecat.net/mct_top.htm)           Get gogo.dll from Gogo no Coder(http://www.marinecat.net/cgi/lcount/count.cgi?page=3112&name=wing311.exe&downex=wing311a.exe)            Get gogo.h files from Gogo noCoder source(http://www.marinecat.net/cgi/lcount/count.cgi?page=3111&name=petit311-src.lzh&downex=petit311.lzh)            Move gogo.h gogo\include\gogo            (for timidity gogo.lib not necessary)           Set environment variables in batch file like this.                REM GOGO                set PATH=\usr\local\gogo_wcc\bin;\usr\local\gogo_wcc\lib;%PATH%                set C_INCLUDE_PATH=/usr/local/gogo_wcc/include:%C_INCLUDE_PATH%                set LIB=\usr\local\gogo_wcc\lib:%LIB%           Only *.h files are needed for compiling TiMidity++.        2-5)flac(http://flac.sourceforge.net/)            get flac-1.1.0-win.zip and extract it.            make inport Libraries from dll            set environment variables in batch file like this.                REM FLAC                set PATH=\usr\local\flac-1.1.0-win_wcc\bin;%PATH%                set C_INCLUDE_PATH=/usr/local/flac-1.1.0-win_wcc/include:%C_INCLUDE_PATH%                set LIB=\usr\local\flac-1.1.0-win_wcc\bin:%LIB%           Only *.h files are needed for compiling TiMidity++.        2-6)portaudio(http://www.portaudio.com/)            I don't know how to comple portaudio with OpenWatcom commandline tools.            Only port audio.h is needed for compling TiMidity++.        2-7)portmidi(http://www-2.cs.cmu.edu/~music/portmusic/)            I don't know how to comple portmidi with OpenWatcom commandline tools..(3)Make TiMidity++ binaries        3-0-1)wcc386_w.sh ( it is in scripts/directory )            Wcc386 is not familier to GNU autoconf tools,            Use my wrapper wcc386_w.sh, instead of wcc386.exe        3-1)timw32g.exe            (configure)            CC="wcc386_w.sh" CPP="wcc386_w.sh -p"  CFLAGS="-d0 -obll+riemcht" \           ./configure --enable-network --enable-w32gui \            --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio \            --disable-oggtest --disable-vorbistest --disable-libFLACtest --disable-libOggFLACtest            (make)             make             mv timidity.exe timw32g.exe        3-2)twsyng.exe            (configure)            CC="wcc386_w.sh" CPP="wcc386_w.sh -p"  CFLAGS="-d0 -obll+riemcht" \            ./configure --enable-network --enable-winsyng \            --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio \            --disable-oggtest --disable-vorbistest --disable-libFLACtest --disable-libOggFLACtest             (make)             make             mv timidity.exe twsyng.exe        3-3)twsynsrv.exe            (configure)            CC="wcc386_w.sh" CPP="wcc386_w.sh -p"  CFLAGS="-d0 -obll+riemcht" \            ./configure --enable-network --enable-winsyng \            --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio \            --disable-oggtest --disable-vorbistest --disable-libFLACtest --disable-libOggFLACtest            add config.h following line                #define TWSYNSRV 1             (make)             make             mv timidity.exe twsynsrv.exe        3-4)timidity.exe            (configure)            CC="wcc386_w.sh" CPP="wcc386_w.sh -p"  CFLAGS="-d0 -obll+riemcht" \            ./configure --enable-interface=ncurses,vt100,winsyn --enable-network \            --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio \            --disable-oggtest --disable-vorbistest --disable-libFLACtest --disable-libOggFLACtest            (make)            make4.Visual C++ in Msys environment(1)Setup VisualC++ and MSYS    1)Setup Visual C++        Download            Microsoft Visual C++ Toolkit 2003            Microsoft.NET SDK            Microsoft Platform SDK        install and configure them.======= CAUTION !! ===========If you plan to distribute TiMidity++ binary, use "Visual C++" or "Visual Studio" not "Microsoft Visual C++ Toolkit 2003". because of LICENCE issue. Use -MD option insted of -MT and link msvcrt.lib instead of libcmt.lib.==============================   2)Setup Mngw and MSYS (See MingwWiki(http://mingw.sourceforge.net/MinGWiki/))        Remove mingw path from /etc/fstab.        Add fllowing line at the top of Msys.bat and create bcc_env.bat.              call vc_msys_env.bat        vc_msys_env.bat is like follow ing            @echo off            call i:\"Program Files\Microsoft Visual C++ Toolkit 2003"\vcvars32.bat            call i:\"Program Files\Microsoft SDK"\SetEnv.Bat /RETAIL            call i:\"Program Files\Microsoft.NET\SDK\v1.1\bin"\sdkvars.bat            Set INCLUDE=c:\DXSDK\include;%INCLUDE%            Set LIB=c:\DXSDK\lib;%LIB%                  ----               ( setteing of various env. val. s )                  ----(2)Setup needed libraries        2-1)pdcurses           pdcurses-2.6.0-src.tar.bz2 from Mingw(http://sourceforge.net/project/showfiles.php?group_id=2435)           and make them.           rename pdcurses.lib libpdcurses.lib           move curses.h to include path and libpdcurses.lib libarary path.        2-2)oggvorbis(http://www.vorbis.com/)           get OggVorbis-win32sdk-1.0.1.zip and extract it.           set environment variables in batch file like this.                REM OggVorbis                set PATH=\usr\local\oggvorbis-win32sdk-1.0.1\bin;\usr\local\oggvorbis-win32sdk-1.0.1\lib;%PATH%                set C_INCLUDE_PATH=/usr/local/oggvorbis-win32sdk-1.0.1/include:%C_INCLUDE_PATH                set LIB=\usr\local\oggvorbis-win32sdk-1.0.1\lib:%LIB%        2-3)gogo no coder(http://www.marinecat.net/mct_top.htm)           Get gogo.dll from Gogo no Coder(http://www.marinecat.net/cgi/lcount/count.cgi?page=3112&name=wing311.exe&downex=wing311a.exe)           Get gogo.h files from Gogo noCoder source(http://www.marinecat.net/cgi/lcount/count.cgi?page=3111&name=petit311-src.lzh&downex=petit311.lzh)           Move gogo.h gogo\include\gogo            (for timidity gogo.lib not necessary)           Set environment variables in batch file like this.                REM GOGO                set PATH=\usr\local\gogo\bin;\usr\local\gogo\lib;%PATH%                set C_INCLUDE_PATH=/usr/local/gogo/include:%C_INCLUDE_PATH%                set LIB=\usr\local\gogo\lib:%LIB%        2-5)flac(http://flac.sourceforge.net/)            Set flac-1.1.0-win.zip and extract it.            Set environment variables in batch file like this.                REM FLAC                set PATH=\usr\local\flac-1.1.0-win\bin;;%PATH%                set C_INCLUDE_PATH=/usr/local/flac-1.1.0-win/include:%C_INCLUDE_PATH%                set LIB=\usr\local\flac-1.1.0-win\bin:%LIB%        2-6)portaudio(http://www.portaudio.com/).             I don't know how to comple portaudio with vc commandline tools.            But for compling TiMidity++ only port audio.h is needed.        2-7)portmidi(http://www-2.cs.cmu.edu/~music/portmusic/)            I don't know how to comple portmidi with vc commandline tools..(3)Make TiMidity++ binaries        3-1)timw32g.exe            (configure)             CC="cl" CPP="cl.exe -EP"  CFLAGS="-O2" \            ./configure --enable-network --enable-w32gui \             --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio            (make)            make             mv timidity.exe timw32g.exe        3-2)twsyng.exe            (configure)            CC="cl" CPP="cl.exe -EP"  CFLAGS="-O2" \            ./configure --enable-network --enable-winsyng \             --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio            (make)             make             mv timidity.exe twsyng.exe        3-3)twsynsrv.exe            (configure)             CC="cl" CPP="cl.exe -EP"  CFLAGS="-O2"\             ./configure --enable-network --enable-winsyng \             --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio             add config.h following line                #define TWSYNSRV 1             (make)             make             mv timidity.exe twsynsrv.exe        3-4)timidity.exe            (configure)            CC="cl" CPP="cl.exe -EP"  CFLAGS="-O2" \             ./configure --enable-interface=ncurses,vt100,winsyn --enable-network \             --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio            (make)             make2004.5.28 Keishi Suenaga(skeishi@mutt.freemail.ne.jp)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -