CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

my_basicKinematicCloud.H: No such file or directory

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 10, 2011, 09:53
Default my_basicKinematicCloud.H: No such file or directory
  #1
New Member
 
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 6
catapult is on a distinguished road
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
catapult is offline   Reply With Quote

Old   June 10, 2011, 10:40
Default
  #2
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 397
Rep Power: 12
marupio is on a distinguished road
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).
marupio is offline   Reply With Quote

Old   June 10, 2011, 10:42
Default
  #3
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 386
Rep Power: 15
deepsterblue will become famous soon enough
You need to add a EXE_INC entry in Make/options which points to the header file:

my_basicKinematicCloud.H
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Old   June 14, 2011, 02:52
Default It works. Thanks
  #4
New Member
 
Gregory
Join Date: Nov 2010
Location: Dresden
Posts: 14
Rep Power: 6
catapult is on a distinguished road
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
catapult is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 10:50
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
ParaView 33 canbt open OpenFoam file hariya03 OpenFOAM Paraview & paraFoam 7 September 25, 2008 17:33
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00


All times are GMT -4. The time now is 00:38.