danharibo
24-03-2006 19:38:09
when i try to complie an app using ogrenewt it comes up with:
------ Build started: Project: dropshipdemo, Configuration: Debug Win32 ------
Compiling...
dropshipdemo.cpp
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(67) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C2143: syntax error : missing ';' before '*'
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\pro.com\my documents\visual studio 2005\projects\dropshipdemo\dropshipdemo\include\dropshipdemo.h(88) : Build log was saved at "file://c:\Documents and Settings\pro.com\My Documents\Visual Studio 2005\Projects\dropshipdemo\dropshipdemo\obj\Debug\BuildLog.htm"
dropshipdemo - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
the only time i call ogrenewt is with:
OgreNewt::World();
OgreNewt::Body::Body(getWorld(),OgreNewt::CollisionPrimitives::Box,0);
if there is a problem with my code plz tell me
------ Build started: Project: dropshipdemo, Configuration: Debug Win32 ------
Compiling...
dropshipdemo.cpp
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(67) : warning C4067: unexpected tokens following preprocessor directive - expected a newline
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C2143: syntax error : missing ';' before '*'
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\ogrenewt\ogrenewt_main\inc\ogrenewt_debugger.h(70) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
c:\documents and settings\pro.com\my documents\visual studio 2005\projects\dropshipdemo\dropshipdemo\include\dropshipdemo.h(88) : Build log was saved at "file://c:\Documents and Settings\pro.com\My Documents\Visual Studio 2005\Projects\dropshipdemo\dropshipdemo\obj\Debug\BuildLog.htm"
dropshipdemo - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
the only time i call ogrenewt is with:
OgreNewt::World();
OgreNewt::Body::Body(getWorld(),OgreNewt::CollisionPrimitives::Box,0);
if there is a problem with my code plz tell me