|
[Sponsors] |
November 16, 2010, 14:38 |
Can libraries be opened?
|
#1 |
Member
|
Hello
I tried to open a library file and my computer returned an error: not able to detect character encoding. Does it mean that libraries can't be opened? I wanted to read one while trying to understand the whole code of a tutorial. All the best |
|
November 17, 2010, 01:53 |
|
#2 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
Hi,
can you tell me the path of the library: Do you try to open a file with some *.so ending? If you tell me which library you are interested, maybe I can tell you how to find it. Best Kathrin |
|
November 17, 2010, 05:47 |
|
#4 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
Hi,
yes they are. If you want to access the sourcecode you have to find the correspondig file in OpenFOAM-1.7.?/src In your case you will find the corresponding source code in fvMotionSolver/fvMotionSolvers/fvMotionSolver/. There are three files which define the class. Best Kathrin |
|
November 17, 2010, 10:45 |
|
#6 |
Senior Member
Kathrin Kissling
Join Date: Mar 2009
Location: Besigheim, Germany
Posts: 134
Rep Power: 17 |
The "corresponding file" is the source code from which th *.so file was build.
so is short for shared object. You might want to check out some literature on compiling. Usually there are some chapters on it in the programming languages books. Best Kathrin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can't profile shared libraries | rsamuel | OpenFOAM Programming & Development | 1 | August 3, 2009 09:58 |
Installation/Tutorial - libraries not found (blockMesh) | bernarde | OpenFOAM | 3 | June 19, 2009 12:36 |
Fortran90 (creating executable by using libraries) | Ravi | Main CFD Forum | 0 | September 27, 2004 22:34 |
help on POOMA/PVM etc. libraries | mayank | Main CFD Forum | 0 | November 14, 2002 23:04 |
More advise on libraries to solve linear system | Ricardo Bonon | Main CFD Forum | 0 | May 18, 2000 18:37 |