Linking (ld) problems (g++)

Discussion in 'Mac Programming' started by joakimk, Jun 25, 2007.

  1. macrumors newbie

    Jun 24, 2007
    Trying to compile a small software package I've downloaded from the web. It uses CBLAS (linear algebra library), which, as I understand, is pre-installed on OSX. Btw, I'm running 10.3.9.

    The package contains .cpp and .h files, but no Makefile. Within my experience with compiling, I've tried to set up a Makefile (see below), but I get problems during linking:
    locate cblas.h gives me
    I've tried changing the include to cblas.h in many possible ways, but (as long as the path to the file cblas.h is valid), I always get the same error.

    Hope someone can help (and that the error is not too obvious) :)
    Here's the Makefile I've made:

Share This Page