While recompiling OF 1.4 on op
While recompiling OF 1.4 on openSUSE 10.2 64 bit, using the compiler provided with OF, I got this error:
make[3]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/vtkFoam' + cd PVFoamReader + mkdir -p Make/linux64Gcc4DPOpt + cd Make/linux64Gcc4DPOpt + cmake ../.. -- Check for working C compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/gcc -- Check for working C compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/gcc -- works -- Check size of void* -- Check size of void* - done -- Check for working CXX compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/g++ -- Check for working CXX compiler: /home/alberto/OpenFOAM/linux64/gcc-4.1.2/bin/g++ -- works CMake Error: Error in cmake code at /home/alberto/OpenFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cm ake:29: INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linux64Gcc4DPOpt/Para ViewLibraryDepends.cmake Current CMake stack: /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt;/usr/share/cmake/Modules/CMakeCInfor mation.cmake;/usr/share/cmake/Modules/CMakeCXXInformation.cmake;/home/alberto/Op enFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake;/home/dm2/he nry/OpenFOAM/linuxSrc/paraview-2.4.4/platforms/linux64Gcc4DPOpt/ParaViewLibraryD epends.cmake CMake Error: Error in cmake code at /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt:38: INCLUDE Could not find include file: /home/dm2/henry/OpenFOAM/linuxSrc/paraview-2.4.4/ParaViewUse.cmake Current CMake stack: /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt;/usr/share/cmake/Modules/CMakeCInfor mation.cmake;/usr/share/cmake/Modules/CMakeCXXInformation.cmake;/home/alberto/Op enFOAM/linux64/paraview-2.4.4/lib/paraview-2.4/ParaViewConfig.cmake;/home/dm2/he nry/OpenFOAM/linuxSrc/paraview-2.4.4/ParaViewUse.cmake CMake Error: Error in cmake code at /home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graphi cs/PVFoamReader/PVFoamReader/CMakeLists.txt:56: Unknown CMake command "VTK_WRAP_ClientServer". -- Configuring done + make make[3]: Entering directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/Make/linux64Gcc4DPOpt' make[3]: *** No targets specified and no makefile found. Stop. make[3]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics/PVFoamReader/PVFoamReader/Make/linux64Gcc4DPOpt' make[2]: *** [PVFoamReader] Error 2 make[2]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing/graph ics' make[1]: *** [graphics] Error 2 make[1]: Leaving directory `/home/alberto/OpenFOAM/OpenFOAM-1.4/applications/utilities/postProcessing' make: *** [postProcessing] Error 2 + '[' 0 = 1 -a '' = doc '] The compiler looks for files in not existing positions. Regards, A. |
I got the same problem. The Al
I got the same problem. The Allwmake is not present in the solvers and utility directories...
Just compile the utilities and applications that you need by yourself. Regards, Frank |
Hello Frank,
I need to recomp
Hello Frank,
I need to recompile the whole OF 1.4 due to the bugs in the backward scheme. Does this mean I've to manually recompile the whole set of utilities and solvers? Regards, A. |
Yes, or you have to write a sc
Yes, or you have to write a script that executes Allwmake or wmake in every solver / utility subdirectory.....or someone can put the usual scripts here...
Btw, why don't you only recompile the libfiniteVolume.so, since that library included the backward scheme?? Frank |
Thanks Frank,
but the PVFoamR
Thanks Frank,
but the PVFoamReader utility can't be recompiled anyway because it looks for a file which is not there. Yes, I'll recompile the libfiniteVolume alone. Forgot this possibility http://www.cfd-online.com/OpenFOAM_D...lipart/sad.gif Regards, A. |
to build all subdirectories :
to build all subdirectories : wmake all. I put up a page on the OpenFOAM wiki with some more tips about wmake.
|
All times are GMT -4. The time now is 05:57. |