help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with inluding lapackpp


From: Ulrich Eckhardt
Subject: Re: problem with inluding lapackpp
Date: Sat, 03 Mar 2007 11:23:24 +0100
User-agent: KNode/0.10.4

bufu18@wp.pl wrote:
> I've downloaded (unpack etc) lapckpp library from
> http://sourceforge.net/projects/lapackpp/ 
> 
> I want to use it but I have problems with including it.
> 
> I have included main file     \include\lapackpp\lapackpp.h
> but compiler says that there is no files aversion.h, f2c.h,
> lafnames.h  which are in the same directory like lapackpp.h and what
> is more funny there are more files which have to be included from the
> same place but compiler says about only these 3.

Generally, it would be better if you posted a snippet of code, the
commandline you tried and the result instead. I can guess what's wrong
though: In order to add include files for compilation, you need to tell
the compiler where to find them (see the -I switch) and then #include
them.
Note: in order to link to a library, you also need to tell the linker where
to find it and which library to include. Further, to run a dynamically
linked binary, you will have to tell the runtime linker where to find it.

> I'm using Code::Blocks and I've tried to change compiler from gcc into
> another but the problem is the same. I've checked it in Builder and
> the same...

You shouldn't be using gcc in the first place, but rather g++....

Uli

-- 
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]