Re: [Lapackpp-devel] Help me: syntax errors from "COMPLEX" in Lapack++
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2004-12-14 14:50:38
|
Dear Mohamad, when using Lapack++ and using the complex-valued matrices, you need to define the constant LA_COMPLEX_SUPPORT because otherwise lapack++ would have the complex numbers disabled. Either you insert #define LA_COMPLEX_SUPPORT into your personal source code before including the headers, or you call gcc with -DLA_COMPLEX_SUPPORT. If you want to run the example files, you can have this done automatically by the command "make check". Christian mohamad chaitou schrieb: > HI all, > I'm new to C++. I've just installed Lapackpp-2.0.3. The installation > seems to be fine but when i tried to do a test (i've tried the command > "gcc tEigSolve.cc" under the directory lapackpp-2.0.3/testing) i have > got many syntax errors!!, these errors come from files: vc.h, gmc.h, > lavc.h, blas1pp.h, blaspp.h and blas++.h. Most of these errors claim > about the struct "COMPLEX", when declaring a pointer or a reference to > "COMPLEX" saying that this is a syntax error! > Please give me some feedback, > Thanks in advances! > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > lapackpp-devel mailing list > lap...@li... > https://lists.sourceforge.net/lists/listinfo/lapackpp-devel > |