It looks like you're new here. If you want to get involved, click one of these buttons!
1>c:orx_msvs_2008-devprojectsourcemain.cpp(13) : error C3861: 'orxPLUGIN_DECLARE_ENTRY_POINT': identifier not found
1>c:orx_msvs_2008-devprojectsourcemain.cpp(15) : error C2065: 'orxSTATUS_SUCCESS' : undeclared identifier
1>Build log was saved at "file://c:ORX_msvs_2008-devprojectDebugBuildLog.htm"
1>project - 13 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Comments
Can you paste here the code of your main.cpp file ? (at least the 15 first line;))
Maybe it can be more easy to find what's wrong.
There ya go!
Did you take a look at the 01_Object.c file ? (https://orx.svn.sourceforge.net/svnroot/orx/trunk/tutorial/src/01_Object/01_Object.c)
At the begining, there's an include line :
You have to add it in your code, it's not a "comment line".
Lines beginning with "#" are not comment. It's called preprocessor directive, you can read some information here : http://en.wikipedia.org/wiki/C_preprocessor
Without that, the C compiler know nothing about about orx's defines and/or orx's functions.
I suggest you to read some tutorial about C development. To program something with orx it's very essential to know the basics of this language. Without that, it will be very difficult to have some result
Hope that help !
Actually, I didn't notice that part, there's so many lines of comments it's hard to distinguish what's what!
Thanks!
Now I'm really confused!
Well, I added that line and this is the message that I got:
I followed Grey's tutorial and I'm not sure what's wrong!
Anymore help? :S
Well, there's some invalid C code in what you pasted:
ChaoticCactus wrote:
So in the end, it should be something like:
Uhh!
This is frustrating! xD
You'll see, you'll soon get used to it!
Feels to me like you're not building a dynamic library.
Try to right click on the project->properties->configuration properties->general ConfigurationType should be Dynamic Library (.dll) *not* Application (.exe.).
I should really take the time to change the tutorial #1-#9 and make stand alone applications with those, I'm sure they're easier for beginners.
Anyway, I'd really recommend following Grey's tutorials for now as he has nice step-by-step instructions, and you can come back to orx's official ones later, mostly for details about specific features.
I really wrote them while targeting experienced C/C++ users (and it's hence all my fault) while Grey targets a more beginner public.
The hardest part is now, you'll see that things will soon clear up, don't abandon now!
Thanks so much for helping me fix it. You were right, it was set to .exe not .dll, I fixed it and it works properly now.
Thanks again!
--Cactus
But really, using plugins + launcher doesn't bring much now that making stand alones is fairly easy.
It's just that I haven't taken the time to adapt my first 9 tutorials to be stand alone executables since I simplified the stand alone creation.