"no matching function for call to" and templates and old code

Discussion in 'C++' started by H. S., Feb 5, 2005.

  1. H. S.

    H. S. Guest

    Hi,

    I am trying to compile the examples in arpack++ library on x86 Linux
    (flavor of Red Hat) running 2.4.24 kernel and g++ (3.2 20020903 version).


    Here is part of the compiler error I am getting. If needed, I can give
    complete error output:
    #----------------------------------------
    /home/red/include/arpack++/include/arlsnsym.h: In constructor
    `ARluNonSymStdEig<FLOAT>::ARluNonSymStdEig(int,
    ARluNonSymMatrix<TYPE>&,
    char*, int, FLOAT, int, FLOAT*, bool) [with FLOAT = double]':
    /home/red/include/arpack++/examples/areig/areig.h:628: instantiated
    from `int AREig(FLOAT*, FLOAT*, FLOAT*, int, int, FLOAT*, int*, int*,
    int, char*, int, FLOAT, int, FLOAT*, bool) [with FLOAT = double]'
    simple.cc:50: instantiated from here
    /home/red/include/arpack++/include/arlsnsym.h:145: no matching
    function for call to
    `ARluNonSymStdEig<double>::DefineParameters(int, int&,
    ARluNonSymMatrix<double>*, <unknown type>, char*&, int&, double&, int&,
    double*&, bool&)'
    /home/red/include/arpack++/include/arseig.h:139: candidates are:
    void ARStdEig<FLOAT, TYPE, FOP>::DefineParameters(int, int, FOP*, void
    (FOP::*)(TYPE*, TYPE*), char* = "LM", int = 0, FLOAT =
    0x0000000000000000000000000000000000000000, int = 0, TYPE* = 0, bool
    = true)
    [with FLOAT = double, TYPE = double, FOP = ARluNonSymMatrix<double>]
    #----------------------------------------

    I am trying to see what could be going wrong in the source code library
    (which dates to 1997!). Any idea where I should start looking in the
    source code? Or is there a probably cause g++ is failing?

    Thanks a ton,
    ->HS



    --
    (Remove all underscores,if any, from my email address to get the correct
    one. Apologies for the inconvenience but this is to reduce spam.)
     
    H. S., Feb 5, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. JKop
    Replies:
    3
    Views:
    523
  2. Jim Hill
    Replies:
    3
    Views:
    426
    Jim Hill
    Feb 12, 2007
  3. recover
    Replies:
    2
    Views:
    859
    recover
    Jul 25, 2006
  4. *Prot3anThr3ad*

    old repository for old C++ source code

    *Prot3anThr3ad*, Sep 29, 2006, in forum: C++
    Replies:
    6
    Views:
    397
    *Prot3anThr3ad*
    Oct 2, 2006
  5. John Henry
    Replies:
    24
    Views:
    1,041
    alex23
    May 30, 2008
Loading...

Share This Page