How do I link header files
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:confused:. 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.:confused: If anyone has a clue I would be very grateful. |
All times are GMT -4. The time now is 00:19. |