CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

How do I link header files

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

LinkBack Thread Tools Display Modes
Old   February 3, 2014, 03:21
Default How do I link header files
New Member
Join Date: Jan 2014
Posts: 11
Rep Power: 5
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.
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


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
UDF issue MASOUD Fluent UDF and Scheme Programming 14 December 6, 2012 14:39
[GAMBIT] Error message: Cannot link faces due to all loops of edges not being specified Aerogirl ANSYS Meshing & Geometry 4 February 19, 2012 09: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 14:43
Problems with result files Kasper CFX 5 December 14, 2006 03:41

All times are GMT -4. The time now is 10:13.