It looks like you're new here. If you want to get involved, click one of these buttons!
1>------ Build started: Project: Project1, Configuration: Debug Win32 ------
1>Compiling...
1>StandAlone.cpp
1>c:orx_msvs_2008-devproject1standalone.cpp(1) : error C2146: syntax error : missing ';' before identifier 'orxFASTCALL'
1>c:orx_msvs_2008-devproject1standalone.cpp(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:orx_msvs_2008-devproject1standalone.cpp(1) : error C2653: 'StandAlone' : is not a class or namespace name
1>c:orx_msvs_2008-devproject1standalone.cpp(1) : error C2146: syntax error : missing ';' before identifier 'Init'
1>c:orx_msvs_2008-devproject1standalone.cpp(1) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:orx_msvs_2008-devproject1standalone.cpp(2) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:orx_msvs_2008-devproject1standalone.cpp(3) : error C3861: 'orxViewport_CreateFromConfig': identifier not found
1>c:orx_msvs_2008-devproject1standalone.cpp(4) : error C3861: 'orxConfig_Load': identifier not found
1>c:orx_msvs_2008-devproject1standalone.cpp(6) : error C3861: 'orxObject_CreateFromConfig': identifier not found
1>c:orx_msvs_2008-devproject1standalone.cpp(8) : error C2065: 'orxStatus_SUCCESS' : undeclared identifier
1>Build log was saved at "file://c:ORX_msvs_2008-devProject1DebugBuildLog.htm"
1>Project1 - 10 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Comments
Well, it looks like some kind of syntax error in your file. It'd be helpful if you could paste the content of your source file here, without that there isn't much we can do.
StandAlone.cpp
That's what the tutorial told me to put, I think.
Also you have no include to a header file that would define your StandAlone C++ class. Right now your compiler has no idea what the StandAlone class is.
I believe Grey's tutorials are iterative and he goes through the class declaration in his tutorial #2.
Not entirely sure how to fix it, I used your suggestions and got this error code:
Code looks like:
StaticScene.ini:
StandAlone.cpp:
EDIT: Holy crap! I didn't realize that the build message was so big!
As Iarwain already said, my tutorials are iterative. You have to have completed tutorial 1 in order to have all the required pieces for tutorial 2, and so on. You cannot simply copy a small chunk of tutorial 3 and expect it to work unfortunately.
Each tutorial builds on a collection of code and ini modifications from the previous tutorial.
The reason your code won't compile, is because you don't have any of the OTHER code that is needed.
Start at tutorial 1, and follow the steps -- that way you will have a -working- example with more and more structure included at the end of each one.
Good luck!
I see now!
Well, thanks all!
:P