CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

How do I link header files

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 3, 2014, 02:21
Default How do I link header files
  #1
New Member
 
Marvin
Join Date: Jan 2014
Posts: 11
Rep Power: 12
Marvin_Rauch is on a distinguished road
I've been trying to compile viscosityModel in the User folder.

typing wmake it couldn't find one header file. viscosityModel.H includes viscosityLaw.H.

I added the path in the include: #include "/home/marvin/OpenFOAM/marvin-2.1.1/src/transportModels/viscoelastic/viscoelasticLaws/viscoelasticLaw/viscoelasticLaw.H"

Then it began compiling. No error any more about that error. Later another header file wasn't found.
Message:
viscoelasticLaws/viscoelasticLaw/newViscoelasticLaw.C:28:31: schwerwiegender Mistake: viscoelasticModel.H: File or Path not found. End of compiling
make: *** [Make/linux64GccDPOpt/newViscoelasticLaw.o] Mistake 1

(Translated to English)

I believe I don't need that long path name. My Problem is, that I didn't get so far how wmake knows how to find the header files correctly and I don't know what that all has to do with "files" and "options" in the Make-directory.

If anyone has a clue I would be very grateful.
Marvin_Rauch is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 13:39
[GAMBIT] Error message: Cannot link faces due to all loops of edges not being specified Aerogirl ANSYS Meshing & Geometry 4 February 19, 2012 08:21
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
Problems with result files Kasper CFX 5 December 14, 2006 02:41


All times are GMT -4. The time now is 09:35.