Description of problem: Installed packages: blitz-0.9-7.fc9, blitz-devel-0.9.7.fc9; attempt to compile produces a blast of compile errors, too long to attach here. Version-Release number of selected component (if applicable): 0.9-7 How reproducible: Every time Steps to Reproduce: 1. Install packages 2. Include <blitz/array> 3. Try to compile Actual results: Many, many compile errors. Expected results: The code compiled fine on my old Fedora version, core 6. So I expected it might compile after upgrading to core 10. Additional info: Uninstalling the packages mentioned above, and installing blitz version 0.9-7 from source, also produces (different) compile errors; but this can be fixed by adding "#include <cstdlib>" to funcs.h and mathfunc.h.
Please check if compiling with $ g++ myprogram.cc `pkg-config blitz --libs --cflags` works
Yep, it does work, like a charm. So I gather that I should generally use that pkg-config trick when compiling against any package, as a general rule? Sorry if I should've known that.
Blitz in fedora is patched to allow multilib installs, see bug #450999 for references. This means that part of the headers are in %libdir/blitz/include. The modified blitz.pc includes this header. You are always safe using pkg-config