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

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.




你可能感兴趣的:(JRTPLIB在WINDOWS下的编译及相关错误调试)