Hello I'm having a lot of trouble trying to compile a project. What I need is an IDE that works or a way to generate a Makefile by telling some program what path I have and have it recursively go through the path and add each source.
But, on OS4, we dont seem to have that. CodeBench is nice to use but the current version is buggy and that crashes when I try and add a load of source files. tIDE looked just as good but it too cannot handle nor load sources from a directory and shows bugs. Adding a few dirs of sources broke it with buffer errors.
I can see I am going to end up doing this by hand and write some script myself just to get the job done. Buit I'd prefer not to learn how a Makefile works and then write a huge one. I just want to compile the damn thing!
What I'm trying to compile is Stratagus. Unfortunately they changed the build system to something called CMake. Which makes it just about impossible to compile on OS4. We have a CMake port but its buggy and easily crahses or keeps asking for strange volume names so practically useless to me. And when it does seem to work it just ends up in an error.
I really don't know why they make up these huge build systems. After all, the end result, at least for me, would be a Makefile with some compiler flags, link flags and a list of object files. C'mon, why make a result that simple so damn complicated to produce! :-?
I even got desperate and compiled it in Linux just to get a Makefile but it's too dependant on the host enviroment so not a working solution either.
The only thing that shows promise is Sports SPFD. At least I tested a command that could compile some objects working. And could script it, but it would end up compiling every file each time it ran. Fine if the compile works but if I need to edit a file recompiling the whole lot again isn't suitable.
So, does OS4 have any tools that can help to create a Makefile from multiple souces in a directory tree without crashing or being buggy? I haven't seen it yet!