HOW TO SET UP TAG IN VISUAL C++ 6.0 Version 1.0 -------------------------------------------------------------------------------- DOWNLOADING THE NECESSARY SOURCES ================================= You need to download the dependencies separately: FLAC Source: Direct : http://prdownloads.sourceforge.net/flac/flac-1.1.2.tar.gz?download Website : http://flac.sourceforge.net/ ID3LIB (includes ZLIB): Direct : http://prdownloads.sourceforge.net/id3lib/id3lib-3.8.3.zip?download Website : http://id3lib.sourceforge.net/ VORBIS: Direct : http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.zip Website : http://www.xiph.org/ OGG: Direct : http://downloads.xiph.org/releases/ogg/libogg-1.1.3.zip Website : http://www.xiph.org/ If you don't have them already, get NASM and UPX, and put them in system32: NASM: Direct : http://prdownloads.sourceforge.net/nasm/nasm-0.98.39-win32.zip?download Website : http://nasm.sourceforge.net/ UPX: Direct : http://upx.sourceforge.net/download/upx125w.zip Website : http://upx.sourceforge.net/ CREATING THE FOLDER STRUCTURE ============================= 1. Download all necessary source bundles and put them into a folder - mine is called "Tag Project" 2a. Extract "id3lib-3.8.3.zip" (Winzip > Extract to here) 2b. Rename the folder "id3lib-3.8.3" to "id3lib" 3a. Extract "flac-1.1.2.tar.gz" (Winzip > Extract to here to extract .tar from .gz then Winzip > Extract to here on .tar) 3b. Rename the folder "flac-1.1.2" to "flac" 4a. Extract "libvorbis-1.1.2" (Winzip > Extract to here) 4b. Rename the folder "libvorbis-1.1.2" to "vorbis" 5a. Extract "libogg-1.1.3.zip" (Winzip > Extract to here) 5b. Rename the folder "libogg-1.1.3" to "ogg" 6. Put the folders "vorbis" and "ogg" in a folder called "ogg" 7a. Extract "tag_2.0.xx_source.zip" (Winzip > Extract to here) 7b. Rename the folder "tag_2.0.xx_source" to "tag" 8. Put the folder "tag" into another called "tag" * You should then have the basic folder strucure: -Tag Project |- flac | |- build | +- doc | .. etc. |- id3lib | |- doc | +- examples | .. etc. |- ogg\ | |- ogg\ | | |- debian | | |- doc | | .. etc. | +- vorbis\ | |- debian | |- doc | .. etc. +- tag\ +- tag\ +- mpc * I don't know why! I keep this setup to conform to Case's 2.0.39 source structure. NB: Most of the problems I initially encountered when trying to compile the project were caused by not having the same folder structure as recorded in the .dsw and .dsp files (so include paths were not found, etc.). A FEW PREDEVELOPMENT REQUIREMENTS ================================= 1. AS PER /flac/README: - a. Load and build win32\ogg_static.dsp b. Copy ogg_static.lib into FLAC's 'obj\release\lib' directory c. Copy the entire include\ogg tree into FLAC's 'include' directory (so that there is an 'ogg' directory in FLAC's 'include' directory with the files ogg.h, os_types.h and config_types.h). 2. AS PER /id3lib/libprj/win32.readme.first.txt: - a. Rename id3lib/config.h.win32 to id3lib/config.h GETTING STARTED WITH TAG ======================== 1. Load C:\C++\Tag\tag\Tag.dsw 2. Set all projects to Multithreaded DLL - a. Select "Project > Settings..." from the menu b. Select the "C/C++" Tab c. Change the "Category" dropwdown to "Code Generation" d. Move through all the projects in the left window, ensure "Use run-time library" dropdown is set to "Multithreaded DLL" 3. Build -- Neil Popham http://www.synthetic-soul.co.uk