Re: Problems with CLAPACK SVD routines on OS X



H.S. wrote:
Robert V. wrote:
Hello,

<<--C U T-->>
#include <vecLib/vecLib.h>

I am not familiar with this header file. What does it do and why do you
need it?

So that he does not generate all the error messages below! Obviously, the header file contains needed definitions, in the absence of which compilation will not be successful.

-- mecej4

I wanted to run this code of yours (I have lapack libraries installed on
my Linux system) but I do not have a data file that you are trying to
read. But I couldn't get the program compiled ....


g++ svd_test.cpp -I/usr/local/include -framework vecLib -o svd

... If I try to compile your program, I get (after excluding fstream and
sstream headers):

$> g++ testsvn.cc ~/lib/lapack_LINUX.a -I~/include/ -o testsvd
testsvn.cc:1:27: error: vecLib/vecLib.h: No such file or directory
testsvn.cc: In function ‘int main(int, char**)’:
testsvn.cc:27: error: variable ‘std::ifstream infile’ has initializer
but incomplete type
testsvn.cc:46: error: variable ‘std::istringstream s’ has initializer
but incomplete type
testsvn.cc:85: error: variable ‘std::istringstream s’ has initializer
but incomplete type
testsvn.cc:91: error: statement cannot resolve address of overloaded
function
testsvn.cc:122: error: ‘dgesvd_’ was not declared in this scope


<<--C U T-->>
.



Relevant Pages

  • error C2143
    ... I'm getting these error messages when I try to build. ... header file and don't see anything wrong. ... class errorDialog: public CDialog ... control\errordialog.h: fatal error C1004: unexpected end of file found ...
    (microsoft.public.vc.mfc)
  • Re: Too much encapsulation?
    ... because accessing data of incomplete type is not ... Structs are defined completely in the header file but only ... pointers to functions are used in the function declarations (other ... Encapsulation is independent of language ...
    (comp.lang.c)
  • Re: [PATCH 0/3] vmcoreinfo support for dump filtering
    ... This patch went from Andrew to Linus last night, ... glance to be the reason why the ia64 build is broken this morning ... Here are the error messages: ... `sizeof' to incomplete type `node_memblk_s' ...
    (Linux-Kernel)
  • Re: help me to resolve these errors please
    ... > can any one of u help me in resolving these errors. ... The error messages refer to specific source lines. ... messages were for a header file that you apparently did not post. ... In general, it is better to start with the first error message, since ...
    (comp.programming)
  • [PATCH] make libata for 2.4 compile on alpha
    ... Error messages: ... identifier is reported only once ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)