I succeeded to compile on *Windows* using *MinGW*. And this is what I did:
I opened the makefile.gcc and replaced all the occurrences of *%f * to *%%f
*(added one more percent sign)
And it compiled fine.
*PS:* I have a question myself too. Please answer if you know.
I ran following command:
mingw32-make -f makefile.gcc <myoptions>
I think it compiled successfully.
And I've got bunch of files in the folder named "gcc_release_static" located
in the root.
Then I executed the next command:
mingw32-make -f makefile.gcc <myoptions> install
First it didn't work, complained that "%f was not expected there". After
some work, I found out that all *%f* 's in makefile.gcc should be replaced
wth *%%f*'s.
Next it said it could not find the file dba.lib. I had the VisualStudio
compiled version of debea and there was the file I want: dba.lib. I copied
that file into "gcc_release_static" folder so the compiler could find it. I
had to copy two-three more files in that way. Then the script got completed.
I've got following folders in %DEVEL%:
-- bin [empty]
-- lib [4.53 mb]
-- include [0.25 mb]
-- share [0.04 mb]
Is that the way it is supposed to be?
To test, i tried compiling an example from examples folder.
It is compiling fine in Visual Studio, but in codeblocks I'm getting alot of
errors:
undefined reference to `dba::Storeable::st_getTable()'
undefined reference to `dba::Storeable::sStoreTableList'
...
Please teach me how to fix this.
PPS: More detailed step-by-step guide to get debea working would be
excellent. Developers please improve the installation instructions.