游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1120|回复: 1

用DXUT出现的问题

[复制链接]

21

主题

109

帖子

127

积分

注册会员

Rank: 2

积分
127
发表于 2006-10-14 21:39:00 | 显示全部楼层 |阅读模式
我学DXUT,程序只写了一句:

#include "dxstdafx.h"

INT WINAPI WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
{
        DXUTCreateWindow( L"My New Game" );
}

就报错,无法解析的外部符号 _DirectSoundCreate8@12,该符号在函数 "public: long __thiscall CSoundManager::Initialize(struct HWND__ *,unsigned long)" (?Initialize@CSoundManager@@QAEJPAUHWND__@@K@Z) 中被引用

我已经输入了这么多库:
dxerr.lib dxguid.lib d3dx9d.lib d3d9.lib winmm.lib comctl32.lib d3dxof.lib

3

主题

121

帖子

121

积分

注册会员

Rank: 2

积分
121
QQ
发表于 2006-10-14 22:08:00 | 显示全部楼层

Re:用DXUT出现的问题

再加入dsound.lib
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2026-1-25 15:28

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表