CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF 14 Compilation error SuSE 102 64bit (https://www.cfd-online.com/Forums/openfoam-installation/57544-14-compilation-error-suse-102-64bit.html)

alberto May 9, 2007 08:00

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.

lr103476 May 9, 2007 08:10

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

alberto May 9, 2007 08:52

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.

lr103476 May 9, 2007 09:01

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

alberto May 9, 2007 09:09

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.

mattijs May 15, 2007 03:27

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.