Re: [Burrtools-discussion] burrtools lib
Brought to you by:
roever
From: Andreas <ro...@us...> - 2009-03-11 16:15:49
|
Am Mittwoch, 11. März 2009 schrieb M.K...@t-...: > Hello > > Thank you for your answer. > > Now I can compile the development version of the burrtools lib. > Therefore, I import the folder /src/lib into a c++ project in eclipse > and add a c++ file with a main() function (for example burrtxt.cpp). > This works. > I'm not able to use ./configure && make to compile because there is no > conifgure script and I did not succeed in building this script from > configure.ac. wikipedia (http://de.wikipedia.org/wiki/Configure) says > that I can try $ autoreconf but this doesn't work in msys: > > configure.ac:26: required file `admin/compile' not found > configure.ac:26: `automake --add-missing' can install `compile' > configure.ac:11: required file `admin/config.guess' not found > configure.ac:11: `automake --add-missing' can install `config.guess' > configure.ac:11: required file `admin/config.sub' not found > configure.ac:11: `automake --add-missing' can install `config.sub' > configure.ac:17: required file `admin/install-sh' not found > configure.ac:17: `automake --add-missing' can install `install-sh' > configure.ac:17: required file `admin/missing' not found > configure.ac:17: `automake --add-missing' can install `missing' > src/Makefile.am: required file `admin/depcomp' not found > src/Makefile.am: `automake --add-missing' can install `depcomp' > Makefile.am: required file `./INSTALL' not found > Makefile.am: `automake --add-missing' can install `INSTALL' > Makefile.am: required file `./ChangeLog' not found > Makefile.am: required file `./COPYING' not found > Makefile.am: `automake --add-missing' can install `COPYING' > autoreconf: automake failed with exit status: 1 > > How can I do this with msys/mingw? for this the bootstrap script is available. But I'm sorry I don't know if this will work with msys/mingw because you will need all the autoconf and automake and auto-even-more packages for that to work. I don't know what is required for it to work properly, sorry. Probably easies is if you could stay with you eclipse project. If you can compile the library with this, try if you get the GUI done as well, just put all files from all subdirectories except the 2 burrTxt and burrTxt2 into the project and add the include paths and libraries ... > In the last mail you mentioned that there is a kind of piecegenerator in > the development version. I did not find this, neither in the source > files nor in the documentation made with doxygen. Could you please tell > me the name of the .h file or the class where I can find the > piecegenerator? Now well as you cited me correctly I said "kind of". You can find documentation about this piece generator in the GUI documentation (doc_src/userGuide.t2t). It works by first using the normal assembler to find all possible arrangements pieces can have and then converting those assemblies to proper shapes. This is easiest done in the GUI as otherwise quite some programming is required. So it would probably be wise to generate your shapes with the GUI and then later on load a file with those shapes and use them. Andreas |