[gambit-list] Linking
Brady McCary
brady.mccary+GAMBIT at gmail.com
Thu Nov 4 16:19:05 EDT 2010
gambit-list,
I had composed a long-winded email about some trouble I was having
linking against ATLAS
http://math-atlas.sourceforge.net/
but I figured it out. Because I am using external C++ dependencies I
compiled gambit using C++. It turns out that I want to use
(c-declare #<<c-declare-end
extern "C"
{
#include <cblas.h>
};
c-declare-end
)
and not
(c-declare "#include <cblas.h>")
This is obvious in retrospect. However I wasted about 90 minutes on
this. Hopefully someone will search for
gambit, linker, link, linking, atlas, blas, lapack, undefined reference
and find this message here.
Brady
More information about the Gambit-list
mailing list