|
[Sponsors] |
my_basicKinematicCloud.H: No such file or directory |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 10, 2011, 09:53 |
my_basicKinematicCloud.H: No such file or directory
|
#1 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Hi there,
I compiled successfully a modifed library called "my_basicKinematicCloud.so" using wmake libso now i want to link it to a solver but i get the following error: mySimpleFoam.C:35: fatal error: my_basicKinematicCloud.H: No such file or directory I believe i have problems in my Make file. I tried this: EXE_LIBS = \ -L$(HOME)/gl/OpenFOAM/gl-1.7.1/lib/linuxGccDPOpt but in vain. I don t know how to solve this. Any hint will be appreciated! thanks a lot in advance! Gregory |
|
June 10, 2011, 10:40 |
|
#2 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 21 |
The error you are getting is not associated with linking - it isn't complaining that it can't find the .so file (actually it would complain that it can't find the implementation of the functions). It is complaining that it can't find the header file - a compile error.
Did you include the path to the header file in your mySimpleFoam application? It could also have to do with the lnInclude directory needs to be updated - do you see the my_basicCloud....H file in its associated lnInclude directory? The last thing I can think of is circular dependency... but I doubt it (never seen it before when compiling an application). |
|
June 10, 2011, 10:42 |
|
#3 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
You need to add a EXE_INC entry in Make/options which points to the header file:
my_basicKinematicCloud.H |
|
June 14, 2011, 02:52 |
It works. Thanks
|
#4 |
New Member
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 15 |
Thank you very much for your replies!
I got it working now. I added the following path to the EXE_INC as follows: ------------------------------------- EXE_INC = \ -I/home/user/OpenFOAM/gl-1.7.1/myKinematicCloud/lnInclude ------------------------------------- It compiled like a charm |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
1.7.x Environment Variables on Linux 10.04 | rasma | OpenFOAM Installation | 9 | July 30, 2010 04:43 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 09:50 |
Statically Compiling OpenFOAM Issues | herzfeldd | OpenFOAM Installation | 21 | January 6, 2009 09:38 |
[OpenFOAM] ParaView 33 canbt open OpenFoam file | hariya03 | ParaView | 7 | September 25, 2008 17:33 |
[blockMesh] Axisymmetrical mesh | Rasmus Gjesing (Gjesing) | OpenFOAM Meshing & Mesh Conversion | 10 | April 2, 2007 14:00 |