By the wayā¦ How is that includes are platform specific? I see CBattleAnimations.h included in CBattleInterface.h ā why is it needed?
Iām not sure if it belongs there, it is r3019, not the actual VCMI 0.9. Besides, Iām not sure how to label it or whether it needs some additional instructions.
How about creating a wiki page āInstallation on OS Xā with download link and instructions just like we have wiki.vcmi.eu/index.php?title=Ins ā¦ n_on_Linux ? [Or, if thereās little difference, we could make it a single page for both Linux/OS X.]
You can edit vcmi wiki after signing in with your forum account.
To tell the truth I donāt know myself Maybe itās a sign of Clang immaturity. Maybe something else. But in some places forward declarations havenāt worked so I replaced them with direct includes.
Iāve already have draft āBuilding VCMI on OS Xā but Iām waiting for my new SSD to arrive soon. Iām going to install fresh system on it anyway so it would be a great possibility to check everything one more time on a clean system.
What about end-user installing itās really dead simple. Every OS X user will do it. The only problem is game data which anyway should be obtained separately and placed to ā~/.vcmiā. Iām a bit concerned about it because for myself I installed Heroes3 + WoG on Windows machine, compressed to zip archive and copied to Mac. Not sure itās a good solution because some people donāt have second computer with Windows. We have the same problem on Linux so maybe we need shared āPreparing game data on non-Windows systemā page. Any ideas? Because Wine based manual is not very best solution from my point of view.
Strange thing is that I use clang as well. And I donāt need those includes.
The only difference I can think of is standard library (libstdc++ for me, libc++ on Mac) but it shouldnāt affect includes either.
Will commit the script to svn today so you can check how it works on Mac. Shouldnāt be a problem - it requires bash itself + some optional utilites to extract data (wget, unzip, unshield, innoextract).
Yep, Iām using libc++ because libstdc++ on OS X is way outdated (from gcc 4.2). And I canāt use libstdc++ from newer gcc installed from MacPorts because of portability.
Yeah, unshield install seems to be working fine after some patches to unshield itself. Can anyone provide me iso with InnoSetup install to test innoextract?
Nevertheless vcmibuilder script seems to be working on OS X itās probably not a best option because you still need to compile from source both unshiled and InnoExtract (for some reason there is no InnoExtract in MacPorts, and unshield in MacPorts is too outdated). So Iāve decided to create a nice gui version of vcmibuilder script with prebuilt unshield and innoextract for OS X to make things as simple as possible once again. Here is patch for it: dl.dropbox.com/u/1777581/vcmi/o ā¦ lder.patch
It seems that I will eventually need more OS X specific files than just osx-vcmibuilder dir.
Taking this into account what about organizing all packaging folders like debian, rpm and osx into some packaging folder instead of placing everything on root level?
Yes. Note that in most cases package maintainer is not a part of development team so this directory is stored separately as a āpatchā.
This is not true for VCMI so storing it directly in trunk is easier.
Just wanted to say thank you to stopiccot for all the work heās done with the OS Xbuild. Setting up the workspace was a breeze thanks to him. Now I am starting to hunt bugs.