CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Compilation of OpenFOAM utilities in postProcessing/velocityField (http://www.cfd-online.com/Forums/openfoam-bugs/63597-compilation-openfoam-utilities-postprocessing-velocityfield.html)

julian April 14, 2009 01:25

Compilation of OpenFOAM utilities in postProcessing/velocityField
 
In version 1.5 the utilities under applications/utilities/postProcessing/velocityField have no main function. From Make/files it is clear that the targets are executables. How will they compile to an executable without main function ?

mbeaudoin April 14, 2009 10:31

The main function is located in postCalc.C. Check out the full the link command.

Martin

Quote:

Originally Posted by julian (Post 212785)
In version 1.5 the utilities under applications/utilities/postProcessing/velocityField have no main function. From Make/files it is clear that the targets are executables. How will they compile to an executable without main function ?


julian April 15, 2009 01:07

Quote:

Originally Posted by mbeaudoin (Post 212846)
The main function is located in postCalc.C. Check out the full the link command.

Martin

Now it's clear. The problem was actually with the linker. Thank you very much.
Julian


All times are GMT -4. The time now is 11:43.