游戏开发论坛

 找回密码
 立即注册
搜索
查看: 6850|回复: 6

编译出来了hl2.exe,可是有问题

[复制链接]

18

主题

135

帖子

143

积分

注册会员

Rank: 2

积分
143
发表于 2004-10-7 18:42:00 | 显示全部楼层 |阅读模式
看看
sf_2004107184218.jpg

18

主题

135

帖子

143

积分

注册会员

Rank: 2

积分
143
 楼主| 发表于 2004-10-7 18:43:00 | 显示全部楼层

Re: 编译出来了hl2.exe,可是有问题

一点就报错,如下:
sf_200410718437.jpg

18

主题

135

帖子

143

积分

注册会员

Rank: 2

积分
143
 楼主| 发表于 2004-10-7 18:45:00 | 显示全部楼层

Re: 编译出来了hl2.exe,可是有问题

上面的图贴错了
应该是:
sf_200410718453.jpg

18

主题

135

帖子

143

积分

注册会员

Rank: 2

积分
143
 楼主| 发表于 2004-10-7 18:46:00 | 显示全部楼层

Re:编译出来了hl2.exe,可是有问题

这是编译的时候出的错

Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

D:\Documents and Settings\lai>c:

C:\>cd hl2

C:\HL2>cd src_main

C:\HL2\src_main>build_hl2.bat

C:\HL2\src_main>set PATH=D:\Program Files\Microsoft Visual Studio\VC98\Bin

C:\HL2\src_main>set BUILD_ERROR=

C:\HL2\src_main>del build.log
找不到 C:\HL2\src_main\build.log

C:\HL2\src_main>call vcvars32
Setting environment for using Microsoft Visual C++ tools.
--------------------Configuration: tier0 - Win32 Release--------------------
Publishing to target directory (..\..\bin\)...
已复制         1 个文件。
已复制         1 个文件。

tier0.dll - 0 error(s), 0 warning(s)
--------------------Configuration: vstdlib - Win32 Release--------------------
Publishing to target directory (..\..\bin\)...
已复制         1 个文件。
已复制         1 个文件。
已复制         1 个文件。

vstdlib.dll - 0 error(s), 0 warning(s)
--------------------Configuration: unitlib - Win32 Release--------------------
Publishing to target directory (..\..\bin) ...
已复制         1 个文件。
已复制         1 个文件。
已复制         1 个文件。

unitlib.dll - 0 error(s), 0 warning(s)
--------------------Configuration: vtf - Win32 Release--------------------
Compiling...
imageloader.cpp
vtf.cpp--------------------Configuration: shaderlib - Win32 Release-------------
-------
Compiling...
BaseShader.cpp
ShaderDLL.cpp
Generating Code...
Creating library...
Publishing to target directory (..\lib\public\)...
已复制         1 个文件。

shaderlib.lib - 0 error(s), 0 warning(s)
--------------------Configuration: stdshader_dbg - Win32 Release----------------
----
Compiling...
BaseVSShader.cpp
debugbumpedlightmap.cpp
debugbumpedvertexlit.cpp
debugfbtexture.cpp
debuglightingonly.cpp
debuglightmap.cpp
debugluxel.cpp
debugmodifyvertex.cpp
debugnormalmap.cpp
debugsoftwarevertexshader.cpp
debugtangentspace.cpp
debugunlit.cpp
debugvertexlit.cpp
fillrate.cpp
fillrate_dx6.cpp
mathlib.cpp
vmatrix.cpp
stdshader_dbg.cpp
Generating Code...
fatal error C1600: unsupported data type
Error executing cl.exe.

stdshader_dbg.dll - 1 error(s), 0 warning(s)
--------------------Configuration: stdshader_dx6 - Win32 Release----------------
----
Compiling...
basetimesmod2xenvmap.cpp
cloud.cpp
decalbasetimeslightmapalphablendselfillum.cpp
decalmodulate.cpp
eyeball.cpp--------------------Configuration: stdshader_dx7 - Win32 Release-----
---------------
Compiling...
shatteredglass_dx7.cpp
vertexlitgeneric_dx7.cpp
Generating Code...
Linking...
   Creating library Release_dx7/stdshader_dx7.lib and object Release_dx7/stdshad
er_dx7.exp
LINK : warning LNK4089: all references to "vstdlib.dll" discarded by /OPT:REF
Publishing to target directory (..\..\..\bin\)...
已复制         1 个文件。

0

主题

5

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2004-10-10 21:07:00 | 显示全部楼层

Re:编译出来了hl2.exe,可是有问题

你的VC没有打VCPP5补丁(在说明文件里有介绍的),打完补丁或许就会好的。

0

主题

5

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2004-10-10 21:17:00 | 显示全部楼层

Re:编译出来了hl2.exe,可是有问题

你的VC还没有打VC SP4补丁(在说明文件里有介绍的),打完补丁或许就会好的。

11

主题

162

帖子

189

积分

注册会员

Rank: 2

积分
189
QQ
发表于 2004-11-5 17:27:00 | 显示全部楼层

Re:编译出来了hl2.exe,可是有问题

装 DirectX9 试一下
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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

GMT+8, 2025-6-16 12:11

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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