游戏开发论坛

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

程序在连接的时候报错,请大家帮忙 error LNK2019

[复制链接]

35

主题

59

帖子

65

积分

注册会员

Rank: 2

积分
65
发表于 2005-12-2 14:15:00 | 显示全部楼层 |阅读模式

main.obj : error LNK2019: unresolved external symbol _Direct3DCreate9@4 referenced in function "long __cdecl InitD3D(struct HWND__ *)" (?InitD3D@@YAJPAUHWND__@@@Z)
main.obj : error LNK2019: unresolved external symbol _D3DXLoadMeshFromXW@32 referenced in function "long __cdecl InitGeometry(void)" (?InitGeometry@@YAJXZ)
main.obj : error LNK2019: unresolved external symbol _D3DXMatrixPerspectiveFovLH@20 referenced in function "void __cdecl SetupMatrices(void)" (?SetupMatrices@@YAXXZ)
main.obj : error LNK2019: unresolved external symbol _D3DXMatrixLookAtLH@16 referenced in function "void __cdecl SetupMatrices(void)" (?SetupMatrices@@YAXXZ)
C:\Documents and Settings\wpyax\My Documents\Visual Studio 2005\Projects\2\Debug\2.exe : fatal error LNK1120: 4 unresolved externals
Build log was saved at "file://c:\Documents and Settings\wpyax\My Documents\Visual Studio 2005\Projects\2\2\Debug\BuildLog.htm"

30

主题

569

帖子

569

积分

高级会员

Rank: 4

积分
569
发表于 2005-12-2 15:27:00 | 显示全部楼层

Re:程序在连接的时候报错,请大家帮忙 error LNK2019

D3D9.LIB未加入工程。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2026-1-22 19:42

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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