473,395 Members | 1,379 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

problem with inluding lapackpp

hi all,

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.

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...

Could anybody try to include it (free soft) maybe I have something
wrong in my settings...
thx

Mar 1 '07 #1
12 2210
bu****@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.
Uh... What do you think we can do?
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...
Well, gcc newsgroup is 'gnu.gcc.help' or 'gnu.g++.help'. Borland C++
Builder also has its own newsgroups, 'borland.public.cppbuilder.*'.
Could anybody try to include it (free soft) maybe I have something
wrong in my settings...
Most likely. But we can't help you with those. You need to ask in
the newsgroup dedicated to your compiler.

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Mar 1 '07 #2
Most likely. But we can't help you with those. You need to ask in
the newsgroup dedicated to your compiler.

ok I will try I thought that this library should be independent on
compiler especially gcc so I've posted here

thx

Mar 1 '07 #3
bu****@wp.pl wrote:
>Most likely. But we can't help you with those. You need to ask in
the newsgroup dedicated to your compiler.


ok I will try I thought that this library should be independent on
compiler especially gcc so I've posted here
The library can be independent (or it can be made to work with only
the chosen compilers), but compilation process problems because of
incorrect settings cannot be compiler-independent. I am not sure I
understand the "especially gcc" part. Regardless of the fact that
the library is a GNU project, if your gcc is not set up correctly
or if you don't provide the necessary commands/settings to it when
compiling the library, you're going to have problems, most likely.
And no C++ language feature can help you overcome those.

Good luck!

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Mar 1 '07 #4
bu****@wp.pl wrote:
hi all,

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.

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...

Could anybody try to include it (free soft) maybe I have something
wrong in my settings...
thx
Well I think your problem is that you've said something like

#include "include/lapackpp/lapackpp.h"

instead of telling your compiler to look in the include/lapackpp
directory. If you have done that it would have found all the header
files no problem.

But I'm only guessing since you didn't post any code, or explain what
compiler options you did use.

john

Mar 1 '07 #5
John Harrison wrote:
[.. some good guesses ..]
But I'm only guessing since you didn't post any code, or explain what
compiler options you did use.
Hopefully this is not an invitation to the OP to explain what compiler
options were used. Compiler options are still off-topic here... :)
Mar 1 '07 #6
I am not sure if the problem is in settings because untill today every
program compiles... Also the problem occures in builder. I will try
with #include "include/lapackpp" before it was #include "include/
lapackpp/lapackpp.h"
Could you try too run it on your compiler?

Mar 1 '07 #7
bu****@wp.pl wrote:
I am not sure if the problem is in settings because untill today every
program compiles... Also the problem occures in builder. I will try
with #include "include/lapackpp" before it was #include "include/
lapackpp/lapackpp.h"
Could you try too run it on your compiler?
What would that accomplish?
Mar 2 '07 #8
On Mar 1, 6:51 pm, buf...@wp.pl wrote:
hi all,

I've downloaded (unpack etc) lapckpp library fromhttp://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
Very off-topic:
I might be wrong but I think that Lapackpp requires BLAS, which is a
set of matrix/matrix and matrix/vector operations. Originally written
in Fortran but there are C versions of it (some of which are machine-
translates hence the need for f2c.h (Fortran to C)). Check the
Lapackpp documentation, I expect it to mention something about it.

--
Erik Wikström

Mar 2 '07 #9
bu****@wp.pl wrote:
I am not sure if the problem is in settings because untill today every
program compiles... Also the problem occures in builder. I will try
with #include "include/lapackpp" before it was #include "include/
lapackpp/lapackpp.h"
Could you try too run it on your compiler?
I don't know how much clearer I can be.

You need to use COMPILER SETTINGS to tell your compiler where to find
the files, you don't need to say #include "this" or #include "that".

Sometimes you need different compiler settings to compile different
programs.

john
Mar 2 '07 #10
You need to use COMPILER SETTINGS to tell your compiler where to find
the files, you don't need to say #include "this" or #include "that".
Now it compiles without any code. I've added this directory to
compiler settings.

But still I do not understand to the end why inlcuding FILE from some
directory doesn't work when this FILE needs some other things to work
which are in the same directory as FILE.

thx for help

when I would have problems with using lapckpp where should I post?

Mar 2 '07 #11
bu****@wp.pl wrote:
[..]
when I would have problems with using lapckpp where should I post?
http://sourceforge.net/projects/lapackpp seems to have all the
necessary instructions. Can you not see the "Need Support?" link
on that page?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Mar 2 '07 #12
bu****@wp.pl wrote:
>>You need to use COMPILER SETTINGS to tell your compiler where to find
the files, you don't need to say #include "this" or #include "that".


Now it compiles without any code. I've added this directory to
compiler settings.

But still I do not understand to the end why inlcuding FILE from some
directory doesn't work when this FILE needs some other things to work
which are in the same directory as FILE.
That's just the way that compiler works. It may not coincide with your
expectations but that doesn't mean it is wrong. All this stuff is up to
compiler writers to decide, and different compilers do it differently.
thx for help
No problemo

john
Mar 2 '07 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Kostatus | last post by:
I have a virtual function in a base class, which is then overwritten by a function of the same name in a publically derived class. When I call the function using a pointer to the derived class...
117
by: Peter Olcott | last post by:
www.halting-problem.com
5
by: H W | last post by:
Dear Everyone, I was trying to use Lapack++ v2.2.0 on my Linux (slackware 10) , the command is like this: gcc -o test Mat.o test.o -L/local/d0p1/hw/lapackpp-2.2.0/lib -L/local/d0p1/hw/LAPACK...
18
by: Ian Stanley | last post by:
Hi, Continuing my strcat segmentation fault posting- I have a problem which occurs when appending two sting literals using strcat. I have tried to fix it by writing my own function that does the...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
6
by: Ammar | last post by:
Dear All, I'm facing a small problem. I have a portal web site, that contains articles, for each article, the end user can send a comment about the article. The problem is: I the comment length...
14
by: SStory | last post by:
I am trying to make a splash screen for my vb.net app. It is an mdi app. including the splash code produces wierd results. not inluding makes things fine. Also have tried loading the splash...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
2
by: Mike Collins | last post by:
I cannot get the correct drop down list value from a drop down I have on my web form. I get the initial value that was loaded in the list. It was asked by someone else what the autopostback was...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.