|
[Sponsors] |
February 3, 2014, 02:21 |
How do I link header files
|
#1 |
New Member
Marvin
Join Date: Jan 2014
Posts: 11
Rep Power: 12 |
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. |
|
|
|
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 |