游戏开发论坛

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

用Cmake构建OGRE源码目录总是找不到RenderSystem_Direct3D9

[复制链接]

1

主题

5

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2012-9-19 13:07:00 | 显示全部楼层 |阅读模式
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
DirectX_DXERR_LIBRARY (ADVANCED)
    linked by target "RenderSystem_Direct3D9" in directory F:/OGRE/OGRE_Source/ogre_src_v1-7-4/RenderSystems/Direct3D9

听网上的人说可以添加DXSDK_DIR环境变量,也可以在Cmake里添加dx的目录,但是我两样都试过了都不行:

0

主题

1

帖子

3

积分

新手上路

Rank: 1

积分
3
发表于 2012-12-5 09:26:00 | 显示全部楼层

Re:用Cmake构建OGRE源码目录总是找不到RenderSystem_Direct3D9

把源码编程成功后的bin目录设置到path内,就可以了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-6-10 14:03

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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