directx 9.0 software development kit update (summer 2003)
gnu c compiler compatibility patch
===============================================
this patch has been tested with:
gcc v3.2.3
gcc v3.3.3
gcc v3.4.1 (linux->win32 cross compiler)
msc v6.0 + sp5 + pp
I) Applying the patch
------------------
1. Install the directx sdk update to /c/DX90SDK (to match default
Makefile variable values) or to any other dir. From now on, the
sdk install directory will be called ${SDKDIR}.
dx90updatesdk.exe
size: 190,991,976 bytes
md5: ed328da4033e18124801265ee91f690e
2. cd ${SDKDIR}
3. patch -p0 --dry-run < /path/to/dx90sdk-update-gcc.patch
(if all goes well, no rejects... else read the special notes)
patch -p0 < /path/to/dx90sdk-update-gcc.patch
--
Special notes for cross compilation on GNU/Linux systems (or any
supported platform for wine):
- You can install the DX SDK using the wine win32 API emulation
layer. The unzipping stage of the install will succeed, it's
all that is required to continue. So don't panic if the install
program breaks/crashes after the self unzip did succeed.
- Then depending on your cvs program, you may require to unix'ify
the endlines of all sources in the SDK before applying the patch.
That can be required CVS uses to expand/replace endlines according
to the host platform type, so it's very likely that if you do
extract the xvidcore sources from a windows box, this step isn't
mandatory, but if you're using a unix box (even cygwin), you may
be obliged to proceed with:
find ${SDKDIR} -name "*.cpp" -exec dos2unix {} \;
find ${SDKDIR} -name "*.h" -exec dos2unix {} \;
II) building strmbase.lib
-------------------------
1. cd ${SDKDIR}/Samples/C++/Directshow/BaseClasses
2. make
(this should output strmbase.lib)
--
Special notes for people cross compiling, or people who installed
the SDK elsewhere than /c/DX90SDK:
- you can overide Makefile defaults in the make command line,
just use something like this command line (adapt according to
your build environment):
make \
CXX=/opt/mingw32-cross/bin/i386-mingw32-g++ \
RANLIB=/opt/mingw32-cross/bin/i386-mingw32-ranlib \
DXTREE=${SDKDIR}
III) Building your own apps
---------------------------
These variables should be defined in your Makefiles:
DXTREE=${SDKTREE}
DXBASECLASSES=$(DXTREE)/Samples/C++/DirectShow/BaseClasses
CXXFLAGS += -DRELEASE \
-I$(DXTREE)/Include \
-I$(DXBASECLASSES) \
-include $(DXTREE)/mingw_dshow_port.h
LDFLAGS += -L$(DXTREE)/Lib -lstrmiids \
$(DXBASECLASSES)/strmbase.lib \
-lole32 -loleaut32 -lstdc++
So it's now time to build the XviD Dshow filter (the xvidcore
source dir is supposed to be ${xvidcore}):
1. cd ${xvidcore}/dshow
2. make
(should output a xvid.ax file in a =build dir by default)
--
Notes for people using a cross compiler, or people who did install
the SDK elsewhere than /c/DX90SDK:
- you can overide Makefile variables from the make command line,
a fairly complete command could look like this, adapt to your
build environment:
make \
CC=/opt/mingw32-cross/bin/i386-mingw32-gcc \
CXX=/opt/mingw32-cross/bin/i386-mingw32-g++ \
WINDRES=/opt/mingw32-cross/bin/i386-mingw32-windres \
DXTREE=/mnt/data/windows/dx9sdk
NB: with some win32-api headers from mingw.org, you may suffer
multiple QACONTAINERFLAGS definitions. In that case you need
to manually edit ${mingw_install}/include/ocidl.h; Search for
QACONTAINERFLAGS. It should look like this:
enum tagQACONTAINERFLAGS
{
...
} QACONTAINERFLAGS;
Then change this to that:
typedef enum tagQACONTAINERFLAGS
{
...
} QACONTAINERFLAGS;
Noticed the additional typedef ? that's the point !
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
xvidcore源码1.1.2版 (238个子文件)
ChangeLog-1.0 213KB
simple_idct_mmx.asm 42KB
idct_3dne.asm 31KB
interpolate8x8_mmx.asm 27KB
qpel_mmx.asm 26KB
quantize_h263_mmx.asm 23KB
idct_mmx.asm 23KB
qpel_mmx.asm 23KB
reduced_mmx.asm 22KB
quantize_mpeg_xmm.asm 22KB
quantize_mpeg_xmm.asm 22KB
quantize_h263_3dne.asm 21KB
quantize_mpeg_mmx.asm 20KB
interpolate8x8_xmm.asm 19KB
fdct_sse2_skal.asm 18KB
idct_mmx.asm 18KB
fdct_mmx_skal.asm 16KB
interpolate8x8_xmm.asm 15KB
fdct_mmx_skal.asm 14KB
sad_mmx.asm 14KB
interpolate8x8_mmx.asm 14KB
quantize_h263_mmx.asm 14KB
interpolate8x8_3dne.asm 13KB
colorspace_rgb_mmx.asm 13KB
mem_transfer_mmx.asm 12KB
fdct_mmx_ffmpeg.asm 12KB
idct_sse2_dmitry.asm 11KB
interpolate8x8_3dn.asm 11KB
mem_transfer_3dne.asm 11KB
sad_3dne.asm 10KB
mem_transfer_mmx.asm 9KB
colorspace_yuyv_mmx.asm 9KB
sad_xmm.asm 9KB
sad_xmm.asm 9KB
colorspace_yuv_mmx.asm 7KB
interlacing_mmx.asm 6KB
interlacing_mmx.asm 6KB
cpuid.asm 5KB
sad_3dn.asm 5KB
cpuid.asm 5KB
sad_sse2.asm 4KB
sad_mmx.asm 4KB
cbp_mmx.asm 4KB
postprocessing_sse2.asm 4KB
cbp_sse2.asm 3KB
cbp_3dne.asm 3KB
postprocessing_mmx.asm 3KB
AUTHORS 1KB
XviD_logo.bmp 5KB
XviD_logo.bmp 5KB
cactus.pgm.bz2 78KB
config.c 83KB
encoder.c 57KB
plugin_2pass2.c 56KB
xvid_bench.c 56KB
mbcoding.c 55KB
decoder.c 54KB
bitstream.c 43KB
qpel.c 42KB
mbtransquant.c 40KB
xvid_encraw.c 37KB
estimation_bvop.c 34KB
interpolate8x8.c 34KB
estimation_rd_based.c 33KB
codec.c 32KB
estimation_pvop.c 31KB
image.c 29KB
xvid.c 26KB
interpolate8x8_altivec.c 22KB
colorspace_altivec.c 22KB
estimation_rd_based_bvop.c 21KB
xvid_decraw.c 20KB
estimation_common.c 19KB
colorspace.c 17KB
estimation_gmc.c 16KB
mbprediction.c 15KB
quant_h263_altivec.c 14KB
motion_comp.c 14KB
qpel_altivec.c 13KB
postprocessing.c 13KB
gmc.c 12KB
status.c 12KB
fdct.c 11KB
mem_transfer_altivec.c 10KB
idct.c 10KB
config.c 9KB
quant_mpeg_altivec.c 9KB
plugin_single.c 8KB
sad_altivec.c 8KB
plugin_lumimasking.c 8KB
driverproc.c 8KB
vop_type_decision.c 8KB
font.c 7KB
plugin_fixed.c 7KB
plugin_2pass1.c 7KB
mem_transfer.c 7KB
sad.c 7KB
simple_idct.c 7KB
timer.c 7KB
idct_altivec.c 7KB
共 238 条
- 1
- 2
- 3
markt
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现本份代码能对图像进行gabor滤波处理,结合指纹方向图以及指纹沟壑频率特性,对指纹图像进行增强.rar
- 基于matlab实现RBM神经网络实现了手写数字体识别的GUI程序.rar
- 基于matlab实现蝙蝠算法优化相关向量机建模对数据进行建模和预测.rar
- 基于matlab实现编写的禁忌搜索算法,解决了TSP问题,对初学者有重要的参考价值.rar
- 基于matlab实现SOH关于IMU进行姿态求解的C代码,里面包含了两套代码,分别是重力约束法求解和梯度下降法求解.rar
- 1_简单电子邮件客户端.zip
- 基于matlab实现powell优化搜索算法,适合于多参数优化且目标函数中不包含参数的情况.rar
- 基于matlab实现PID神经网络前向和反向学习算法的matlab的原程序代码.rar
- 基于matlab实现nsga-2的多目标优化算法,有注解.rar
- AIR-AP1815-K9-ME-8-5-182-0.zipFor 1815 1830 1840 1850 2700 3700
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0