MatrixClasses not found

Help
marcaurel
2006-07-20
2013-04-16
  • marcaurel

    marcaurel - 2006-07-20

    Hi all,

    I even can't get a simple example compiled.

    The Code:

    #include "pnl_dll.hpp"
    #include <iostream>

    using namespace std;
    using namespace pnl;

    int main ()
    {
        return 0;  
    }

    And here part of the output:

    make -k all
    Building file: ../sl.cpp
    Invoking: GCC C++ Compiler
    g++ -I"D:\Programme\cygwin\usr\local\include" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"sl.d" -MT"sl.d" -o"sl.o" "../sl.cpp"
    In file included from /usr/local/include/pnlMatrix.hpp:23,
                     from /usr/local/include/pnlDenseMatrix.hpp:19,
                     from /usr/local/include/pnliNumericDenseMatrix.hpp:27,
                     from /usr/local/include/pnlNumericDenseMatrix.hpp:19,
                     from /usr/local/include/pnlConfig.hpp:49,
                     from /usr/local/include/pnl_dll.hpp:19,
                     from ../sl.cpp:1:
    /usr/local/include/pnlMatrixIterator.hpp:140: error: expected `;' before '(' token
    /usr/local/include/pnlMatrixIterator.hpp:157: error: expected `)' before '*' token
    /usr/local/include/pnlMatrixIterator.hpp:167: error: expected `;' before '*' token
    /usr/local/include/pnlMatrixIterator.hpp:168: error: `CxSparseMatIterator' does not name a type
    /usr/local/include/pnlMatrixIterator.hpp:169: error: expected `;' before '*' token
    /usr/local/include/pnlMatrixIterator.hpp:173: error: `pnl::CSparseMatrixIterator<Type>*pnl::CSparseMatrixIterator<Type>::Create' is not a static member of `class pnl::CSparseMatrixIterator<Type>'

    Reviewing the code I suppose the compiler can't find all the matrix-classes like MatrixIterator, SparseMatrix etc.

    Any Ideas?

    Thanks

    marcaurel

     
    • marcaurel

      marcaurel - 2006-07-21

      problem solved - closed!

       
    • usr30

      usr30 - 2008-11-27

      Hi,
      I have the same problem. How did you solve it? Please post.

      Thanks.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks