Latest version: erc-0.4.0.tar.bz2
This tool will generate a C++ source file (along with
the corresponding header file) that embeds any given
data file and provides a Resource class which gives
access to this data.
The Resource class can be created in two flavours: one
using STL streams, the other is using WxWidgets streams.
If you know "qtrc" of the famous QT toolkit, then
you know what this tool is doing too.
This tool should run on any system that has a decent C++ compiler.
$ tar xjvf erc-x.x.x.tar.bz2
$ cd erc $ make
$ mv erc ~/binOr, if you wan to make the program available for all users, do this as root:
$ mv erc /usr/local/bin
There is no configuration necessary.
If you are using Makefiles and (at least) a *nix-like environment and have your resources in a subdirectory called say "data", you can do something like this in your Makefile:
all: resources $(PROGRAM) resources: if ! [ -f Resources.cpp ] || [ "`find data/ -newer Resources.cpp`" ]; then erc -f wxWidgets -o Resources `find data/ -type f`; fi
This software is open source, please read the disclaimer.