您的位置:首页 > 编程语言 > PHP开发

JRTPLIB在WINDOWS下的编译及相关错误调试

2012-02-28 15:42 363 查看
error one:

Linking...

LINK : fatal error LNK1117: syntax error in option "subsystem:console/incremental:no"

Error executing link.exe.

test1.exe - 1 error(s), 0 warning(s)

reason:Project--->settings-->Link-->Project options  have " /subsystem:console/incremental:no "

solution:Project--->settings-->Link-->Project options  have " /subsystem:console  /incremental:no "

error two:

Compiling...

example1.cpp

c:\users\administrator\desktop\vc++6.0\example1.cpp(22) : error C2871: 'jrtplib' : does not exist or is not a namespace

Error executing cl.exe.

Test0.exe - 1 error(s), 0 warning(s)

reason:it has"using namespace jrtplib;"in the example.cpp

solution:delete the "using namespace jrtplib;"in the example.cpp

note:but i don't konw that's why yet.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: