菜鸟求助
各位好!我刚刚开始学习OBJECTARX2000,我按照书的上练习了一个HELLO实例,但是在用BUILD HELLO。ARX时,有以下错误,是什么原因,并且如何解决啊?
--------------------Configuration: HelloARX - Win32 Debug--------------------<BR>Compiling...<BR>ARXMain.cpp<BR>D:\vc_arx\HelloARX\ARXMain.cpp(6) : error C2001: newline in constant<BR>D:\vc_arx\HelloARX\ARXMain.cpp(7) : error C2143: syntax error : missing ')' before 'return'<BR>D:\vc_arx\HelloARX\ARXMain.cpp(7) : error C2660: 'addCommand' : function does not take 3 parameters<BR>D:\vc_arx\HelloARX\ARXMain.cpp(22) : error C2065: 'pke' : undeclared identifier<BR>D:\vc_arx\HelloARX\ARXMain.cpp(23) : error C2065: 'initApp' : undeclared identifier<BR>D:\vc_arx\HelloARX\ARXMain.cpp(25) : error C2653: 'Acrx' : is not a class or namespace name<BR>D:\vc_arx\HelloARX\ARXMain.cpp(25) : error C2065: 'kUnloadAppmsg' : undeclared identifier<BR>D:\vc_arx\HelloARX\ARXMain.cpp(25) : error C2051: case expression not constant<BR>Hello.cpp<BR>D:\vc_arx\HelloARX\Hello.cpp(8) : error C2065: 'acedGetstringB' : undeclared identifier<BR>D:\vc_arx\HelloARX\Hello.cpp(16) : error C2065: 'acutPring' : undeclared identifier<BR>Error executing cl.exe.
HelloARX.arx - 10 error(s), 0 warning(s)<BR>
好些都是书写错误如acedGetString(),acutPrint()。 你的inc和lib路径没设好,C语言基本功没有过关啊!
页:
[1]