calcMassFlow with OF15-debian-package
Hi all together,
I switched back vom jaunty to intrepid and for installation of OpenFoam and Paraview I used the packages on the following site: http://www.cfd-online.com/Forums/ope...ntu-810-a.html All works fine. But I´m not able to compile calcMassFlow anymore. You need the src-folder with the files of OpenFOAM to compile it and in the package-Version, this files are missing. Can someone help me? Thanks a lot ff23 |
Quote:
Obviously the packager had the good intention to not give the sources to "regular users", the way usual packages do. Maybe he had the good sense to roll an additional package openfoam-devel or similar that adds the sources. Look for that |
Thank you Bernd for your answer! At first, it was not the answer, I hoped for. But than I found the package you talked about! Now I have the src-folder!
But I have already a problem installing calcMassFlow: OF is not installed in the home-directory, but in the path usr/lib/OpenFoam-1.5! When I copy the files of calcMassFlow to /home/<User>/OpenFOAM/<user>-1.5/applications/calcMassFlow, i get the following error while using wmake: g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/usr/lib/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/usr/lib/OpenFOAM-1.5/src/meshTools/lnInclude -IlnInclude -I. -I/usr/lib/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/usr/lib/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC Make/linux64Gcc/calcMassFlow.o -L/usr/lib/OpenFOAM-1.5/lib \ -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/sebastian/OpenFOAM/sebastian-1.5/applications/bin/calcMassFlow /usr/bin/ld: cannot find -liberty collect2: ld gab 1 als Ende-Status zurück make: *** [/home/sebastian/OpenFOAM/sebastian-1.5/applications/bin/calcMassFlow] Fehler 1 How can I fix this error? |
Quote:
Bernhard |
At first: sorry for confusing Bernd with Bernhard!
I am using Ubuntu 8.10 and after installing the package binutils-dev, the compilation worked fine! Thank you for the tip! |
Quote:
Bernhard |
All times are GMT -4. The time now is 15:42. |