Hi, Micheal.
Took a really long time to think how I would proceed to Integrate SIRRF. I don't want to redo the integration if you improve SIRRF.
So what I've decided to do is create a folder for each "element" that I will use and try to "bind" them.
Anyway my previous code is really awfull (I think it look nice from the outside, but open the "hood" and you'll see a nightmare
)
Once I've got the framework working "basic", I will re-incorporate one by one the features (and ideas) that I have developped and in a cleaner way I hope.
This would take a long time, I think I can use about 10% (optimistic) of the C++ language correctly. I would like to thank "wITTus", for the kick in the butt. We really don't have the same opinions, but I think I should keep my ideas for myself, do it, and then demo it.
I'm really not a coder (I'm a level Designer), but this will improve my C++ skills. And I like the idea that I could call myself a programmer someday.
EDIT: Tried to make a MSVC++ Express project with SirrF. I'm really not used to this and it's doesnt work (At the moment)
It compile but give a linker error as:
Code: Select all
GameManager.obj : error LNK2019: unresolved external symbol __imp__createDevice referenced in the function "public: void __thiscall GameManager::init(void)" (?init@GameManager@@QAEXXZ)
1>C:\Users\Public\IRRlicht\sirrf-0.1.1\src\SirrF\Debug\SirrF.exe : fatal error LNK1120: 1 unresolved external
I've removed the scripting and sound, so it be easier to compile, since I would have to download theses components (angelscript and SFML audio)
Got a error that it did not find the path to:
Siglot. In
dependancy.h
Was like this:
I would like to keep it like that. MSCV tell me if doesnt find it, even if the file is in the project.
Changed it like that:
and adding the path to the project. Now it worked, MSVC found the file, but the source was changed. I would like to keep it as close as possible to the original.
I'm sure it's because I don't know enough MSVC. Someone know of a trick so I will not to change the source and MSVC will find the file correctly?
Got also this on MSVC (Compiler warning)
>c:\users\public\irrlicht\sirrf-0.1.1\src\core\datastack.cpp(177) : warning C4018: '<' : signed/unsigned incompatibility
Here is the line:
Code: Select all
for(unsigned int i = 25; i < fSize; i++)
Perhaps fSize is a Signed Int?
Once I have the MSVC project working, I'll put it online so other will be able to try it out.