[cvs-annodex] commit (/annodex): libannodex/trunk/README.win32
libannodex/trunk/win32/Makefile
silvia
nobody at lists.annodex.net
Fri Sep 24 15:51:20 EST 2004
Update of /annodex (new revision 592)
Modified files:
libannodex/trunk/README.win32
libannodex/trunk/win32/Makefile
Log Message:
fixed makefile and readme for win32 compilation.
Modified: libannodex/trunk/README.win32
===================================================================
--- libannodex/trunk/README.win32 2004-09-24 05:09:14 UTC (rev 591)
+++ libannodex/trunk/README.win32 2004-09-24 05:51:20 UTC (rev 592)
@@ -1,72 +1,80 @@
-The /Win32 directory contains everything necessary to compile libannodex
-under windows and create:
-
-- libannodex.dll
-
-(codec importer plugins)
-- libanx_import_cmml.dll
-- libanx_import_anx.dll
-- libanx_import_ogg.dll
-- libanx_import_sndfile.dll
-
-(annodex read programs)
-- anxrip.exe
-- anxcheck.exe
-- anxinfo.exe
-
-(annodex write programs)
-- anxenc.exe
-- anxed.exe
-
-Building with the Makefile
-==========================
-
-Here's what you need to do:
-
-1) libannodex requires:
- - libogg.dll (http://www.xiph.org/ogg/vorbis/).
- - liboggz.dll (http://www.annodex.net/software/liboggz/).
-
- libanx_import_cmml requires additionally:
- - libcmml.dll (http://www.annodex.net/software/libcmml/).
-
- libanx_import_sndfile requires additionally:
- - libsndfile.dll (http://www.mega-nerd.com/libsndfile/).
-
-2) cd win32 subdirectory
-
-3) Use "nmake" to create libraries and executables.
-
-4) Install libraries and executables, and the
- include files from the /include/annodex/ directory.
-
-
-Visual Studio.NET 2003 Installation
-===================================
-NOTE: For lack of platform, we were not able to keep the solution
-files up-to-date. Please use the Visual Studio Version 6 files
-instead or send us an updated version if you're using these.
-
-IMPORTANT: The solution files were built for VS.NET 2003 and can't be
-opened by VS.NET 2002. If you use VS.NET 2002 you should use the VS6
-workspace files and they will be automatically converted to the new
-format.
-
-Also included in the solution is a setup and deployment project that
-will package and create an installer for the binary output of this
-project.
-
-You will need to install the libannodex library separately. If you wish to
-create a debug build and wish to have the debugger load the symbols
-for this library, you should also include the project source files. By
-default the compiler and linker will look for them in the same parent
-directory as libannodex. However you can install them wherever you choose
-and must modify the include directories for the linker and compiler in
-your projects properties.
-
-
-Visual Studio Version 6 Installation
-====================================
-
-There is also a Visual C++ V 6.0 workspace file in the Win32 directory
-in case you have not upgraded to Visual Studio.NET.
+The /Win32 directory contains everything necessary to compile libannodex
+under windows and create:
+
+- libannodex.dll
+
+(codec importer plugins)
+- libanx_import_cmml.dll
+- libanx_import_anx.dll
+- libanx_import_ogg.dll
+- libanx_import_sndfile.dll
+
+(annodex read programs)
+- anxrip.exe
+- anxcheck.exe
+- anxinfo.exe
+
+(annodex write programs)
+- anxenc.exe
+- anxed.exe
+
+Building with the Makefile
+==========================
+The workspaces are set up such that they compile with the directory
+structure given at http://svn.annodex.net/annodex-core/.
+
+
+Here's what you need to do:
+
+1) libannodex requires:
+ - libogg.dll (http://www.xiph.org/ogg/vorbis/).
+ (or install ogg in a parallel directory under xiph.org)
+ - liboggz.dll (http://www.annodex.net/software/liboggz/).
+ (or install liboggz in a parallel directory)
+
+ libanx_import_cmml requires additionally:
+ - libcmml.dll (http://www.annodex.net/software/libcmml/).
+ (or install libcmml in a parallel directory)
+
+ libanx_import_sndfile requires additionally:
+ - libsndfile.dll (http://www.mega-nerd.com/libsndfile/).
+ (or install libsndfile in a parallel directory)
+
+
+2) cd win32 subdirectory
+
+3) Use "nmake" to create libraries and executables.
+
+4) Install libraries and executables, and the
+ include files from the /include/annodex/ directory.
+
+
+Visual Studio.NET 2003 Installation
+===================================
+NOTE: For lack of platform, we were not able to keep the solution
+files up-to-date. Please use the Visual Studio Version 6 files
+instead or send us an updated version if you're using these.
+
+IMPORTANT: The solution files were built for VS.NET 2003 and can't be
+opened by VS.NET 2002. If you use VS.NET 2002 you should use the VS6
+workspace files and they will be automatically converted to the new
+format.
+
+Also included in the solution is a setup and deployment project that
+will package and create an installer for the binary output of this
+project.
+
+You will need to install the libannodex library separately. If you wish to
+create a debug build and wish to have the debugger load the symbols
+for this library, you should also include the project source files. By
+default the compiler and linker will look for them in the same parent
+directory as libannodex. However you can install them wherever you choose
+and must modify the include directories for the linker and compiler in
+your projects properties.
+
+
+Visual Studio Version 6 Installation
+====================================
+
+There is also a Visual C++ V 6.0 workspace file in the Win32 directory
+in case you have not upgraded to Visual Studio.NET.
Modified: libannodex/trunk/win32/Makefile
===================================================================
--- libannodex/trunk/win32/Makefile 2004-09-24 05:09:14 UTC (rev 591)
+++ libannodex/trunk/win32/Makefile 2004-09-24 05:51:20 UTC (rev 592)
@@ -4,33 +4,37 @@
#
# "C:\Program Files\Microsoft Visual Studio\VC98" will not work.
# "C:\Progra~1\Micros~1\VC98" will work.
-MSVCDir="C:\PROGRA~1\MICROS~1.NET\Vc7"
+# MSVCDir="C:\PROGRA~1\MICROS~1.NET\Vc7"
-# MSVCDir="C:\PROGRA~1\Micros~4\VC98"
+MSVCDir="C:\PROGRA~1\Micros~3\VC98"
CPP=cl.exe
LINK32=link.exe
# libannodex
-LINK32_FLAGS_ANX=ogg.lib liboggz.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libannodex.lib" /machine:I386 /out:".\libannodex.dll"
+LINK32_FLAGS_ANX=/nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /libpath:$(LIBOGGZ_PATH) /libpath:"..\..\xiph.org\ogg\win32\Dynamic_Release" /implib:".\libannodex.lib" /machine:I386 /out:".\libannodex.dll" ogg.lib liboggz.lib
-CFLAGS_ANX=/nologo /MD /W1 /GX /O2 /I"." /I"..\src\libannodex" /I"..\include" /I"$(MSVCDir)\Include" /D "WIN32" /D "_USRDLL" /YX /FD
+CFLAGS_ANX=/nologo /MD /W1 /GX /O2 /I"." /I"..\..\liboggz\include" /I"..\..\xiph.org\ogg\include" /I"..\src\libannodex" /I"..\include" /I"$(MSVCDir)\Include" /D "WIN32" /D "_USRDLL" /YX /FD
# importers
-LINK32_FLAGS_I_CMML=libannodex.lib libexpat.lib libcmml.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_cmml.lib" /machine:I386 /out:".\libanx_import_cmml.dll"
+LIBOGGZ_PATH="..\..\liboggz\win32\Debug"
+LIBCMML_PATH="..\..\libcmml\win32"
+LIBEXPAT_PATH="..\..\expat\libs"
+LIBOGG_PATH="..\..\xiph.org\ogg\win32\Dynamic_Release"
+LINK32_FLAGS_I_CMML=libannodex.lib $(LIBEXPAT_PATH)\libexpat.lib $(LIBCMML_PATH)\libcmml.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_cmml.lib" /machine:I386 /out:".\libanx_import_cmml.dll"
+
LINK32_FLAGS_I_ANX=libannodex.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_anx.lib" /machine:I386 /out:".\libanx_import_anx.dll"
-LINK32_FLAGS_I_OGG=libannodex.lib liboggz.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_ogg.lib" /machine:I386 /out:".\libanx_import_ogg.dll"
+LINK32_FLAGS_I_OGG=libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_ogg.lib" /machine:I386 /out:".\libanx_import_ogg.dll"
-LINK32_FLAGS_I_SNDFILE=libannodex.lib libsndfile.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_sndfile.lib" /machine:I386 /out:".\libanx_import_sndfile.dll"
+LINK32_FLAGS_I_SNDFILE=libannodex.lib ..\..\libsndfile\libsndfile.lib /nologo /dll /incremental:no /libpath:"$(MSVCDir)\Lib" /implib:".\libanx_import_sndfile.lib" /machine:I386 /out:".\libanx_import_sndfile.dll"
-CFLAGS_I=/nologo /MD /W1 /GX /O2 /I"." /I"..\src\importers" /I"..\include" /I"$(MSVCDir)\Include" /D "WIN32" /D "_USRDLL" /YX /FD
+CFLAGS_I=/nologo /MD /W1 /GX /O2 /I"." /I"..\src\importers" /I"..\include" /I"$(MSVCDir)\Include" /I"..\..\libcmml\src" /I"..\..\Expat\source\lib" /I"..\..\liboggz\include" /I"..\..\xiph.org\ogg\include" /I"..\..\libsndfile\src" /D "WIN32" /D "_USRDLL" /YX /FD
# executables
PROG_LINK_FLAGS=/nologo /incremental:no /libpath:"$(MSVCDir)\Lib" /machine:I386 /exetype:dynamic
-
#====================================================================
# Targets
@@ -90,23 +94,23 @@
"anxrip.exe" : ".\common.obj" "..\src\tools\anxrip.c"
$(CPP) $(CFLAGS_ANX) /Fo".\anxrip.obj" /c "..\src\tools\anxrip.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:"anxrip.exe" ".\anxrip.obj" ".\common.obj" libannodex.lib liboggz.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:"anxrip.exe" ".\anxrip.obj" ".\common.obj" libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib
"anxcheck.exe" : ".\common.obj" "..\src\tools\anxcheck.c"
$(CPP) $(CFLAGS_ANX) /Fo".\anxcheck.obj" /c "..\src\tools\anxcheck.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:"anxcheck.exe" ".\anxcheck.obj" ".\common.obj" libannodex.lib liboggz.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:"anxcheck.exe" ".\anxcheck.obj" ".\common.obj" libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib
"anxinfo.exe" : ".\common.obj" "..\src\tools\anxinfo.c"
$(CPP) $(CFLAGS_ANX) /Fo".\anxinfo.obj" /c "..\src\tools\anxinfo.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:"anxinfo.exe" ".\anxinfo.obj" ".\common.obj" libannodex.lib liboggz.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:"anxinfo.exe" ".\anxinfo.obj" ".\common.obj" libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib
"anxenc.exe" : ".\common.obj" "..\src\tools\anxenc.c"
$(CPP) $(CFLAGS_ANX) /Fo".\anxenc.obj" /c "..\src\tools\anxenc.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:"anxenc.exe" ".\anxenc.obj" ".\common.obj" libannodex.lib liboggz.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:"anxenc.exe" ".\anxenc.obj" ".\common.obj" libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib
"anxed.exe" : ".\common.obj" "..\src\tools\anxed.c"
$(CPP) $(CFLAGS_ANX) /Fo".\anxed.obj" /c "..\src\tools\anxed.c"
- $(LINK32) $(PROG_LINK_FLAGS) /out:"anxed.exe" ".\anxed.obj" ".\common.obj" libannodex.lib liboggz.lib
+ $(LINK32) $(PROG_LINK_FLAGS) /out:"anxed.exe" ".\anxed.obj" ".\common.obj" libannodex.lib $(LIBOGGZ_PATH)\liboggz.lib
#====================================================================
--
silvia
More information about the cvs-annodex
mailing list