Blitz logo

Blitz Support :

From: Zane Dodson (zdodson_at_[hidden])
Date: 2005-01-21 11:43:37


Hello Jason,

On Fri, Jan 21, 2005 at 10:09:16AM -0600, Jason Dusek wrote:
| Hi,
|
| I have the example file cfd.cpp
| http://www.oonumerics.org/blitz/examples/blitz/cfd.cpp
| on my computer and I am trying to compile it like so:
| ================================================
| g++ -I /usr/local/include/ -L /usr/local/include/ -lblitz -lm cfd.cpp

The text of the compiler/linker error message would also be helpful.
Nevertheless, I think you need to reorder the arguments to g++ in
your compile/link line above and pass -L/usr/local/lib (not
-L/usr/local/include). Using the -v option (verbose) to g++ can
also be helpful in diagnosing these problems. Try the following
command.
  g++ -v -I/usr/local/include cfd.cpp -L/usr/local/lib -lblitz -lm

Best regards,

--
Zane Dodson