CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] installation Problems with v1.1.1 and OpenFOAM 3.0.1

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2016, 18:21
Default installation Problems with v1.1.1 and OpenFOAM 3.0.1
  #1
New Member
 
Join Date: Jun 2016
Posts: 6
Rep Power: 9
astronauti is on a distinguished road
Hi,

I tried to install cfMesh on Ubuntu 16.04 and OpenFoam 3.0.1, but there is a problem while installing it. I don't understand the error message:
Code:
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -DUSE_OMP -fopenmp -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/triSurface/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/edgeMesh/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -IlnInclude -I. -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude   -fPIC -c utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C -o Make/linux64GccDPInt64Opt/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.o
In file included from lnInclude/DynList.H:233:0,
                 from lnInclude/VRWGraph.H:42,
                 from lnInclude/meshSubset.H:40,
                 from lnInclude/polyMeshGenPoints.H:42,
                 from lnInclude/polyMeshGenFaces.H:40,
                 from lnInclude/polyMeshGenCells.H:40,
                 from lnInclude/polyMeshGen.H:39,
                 from utilities/meshes/polyMeshGenModifier/polyMeshGenModifier.H:40,
                 from utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.C:28:
lnInclude/DynListI.H: In instantiation of ‘Foam::DynList<T, staticSize>::DynList(const ListType&) [with ListType = int; T = long int; long int staticSize = 16l]’:
lnInclude/helperFunctionsTopologyManipulationI.H:491:34:   required from here
lnInclude/DynListI.H:136:12: error: request for member ‘size’ in ‘l’, which is of non-class type ‘const int’
     setSize(l.size());
            ^
lnInclude/DynListI.H:138:32: error: subscripted value is neither array nor pointer
         this->operator[](i) = l[i];
                                ^
lnInclude/DynListI.H: In instantiation of ‘Foam::DynList<T, staticSize>::DynList(const ListType&) [with ListType = int; T = Foam::Vector2D<double>; long int staticSize = 6l]’:
lnInclude/helperFunctionsGeometryQueriesI.H:1059:37:   required from here
lnInclude/DynListI.H:136:12: error: request for member ‘size’ in ‘l’, which is of non-class type ‘const int’
     setSize(l.size());
            ^
lnInclude/DynListI.H:138:32: error: subscripted value is neither array nor pointer
         this->operator[](i) = l[i];
                                ^
/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/wmake/rules/General/transform:8: die Regel für Ziel „Make/linux64GccDPInt64Opt/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.o“ scheiterte
make: *** [Make/linux64GccDPInt64Opt/utilities/meshes/polyMeshGenModifier/polyMeshGenModifierAddBufferCells.o] Fehler 1
make[1]: Verzeichnis „/home/sebastian/cfMesh-v1.1.1/executables/cartesian2DMesh“ wird betreten
Making dependency list for source file cartesian2DMesh.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/triSurface/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/finiteVolume/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude   -fPIC -c cartesian2DMesh.C -o Make/linux64GccDPInt64Opt/cartesian2DMesh.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/triSurface/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/finiteVolume/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/edgeMesh/lnInclude -I../../meshLibrary/lnInclude -IlnInclude -I. -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt64Opt/cartesian2DMesh.o -L/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt64Opt/lib \
    -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh -L/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/lib -lmeshLibrary -lOpenFOAM -ldl  \
     -lm -o /home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/cartesian2DMesh
/usr/bin/ld: cannot find -lmeshLibrary
collect2: error: ld returned 1 exit status
/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/wmake/Makefile:138: die Regel für Ziel „/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/cartesian2DMesh“ scheiterte
make[1]: *** [/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/cartesian2DMesh] Fehler 1
make[1]: Verzeichnis „/home/sebastian/cfMesh-v1.1.1/executables/cartesian2DMesh“ wird verlassen
/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/wmake/MakefileApps:39: die Regel für Ziel „cartesian2DMesh“ scheiterte
make: *** [cartesian2DMesh] Fehler 2
make[1]: Verzeichnis „/home/sebastian/cfMesh-v1.1.1/utilities/FLMAToSurface“ wird betreten
Making dependency list for source file FLMAToSurface.C
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I../../meshLibrary/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/triSurface/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/edgeMesh/lnInclude -IlnInclude -I. -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude   -fPIC -c FLMAToSurface.C -o Make/linux64GccDPInt64Opt/FLMAToSurface.o
g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3  -DNoRepository -ftemplate-depth-100 -I../../meshLibrary/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/triSurface/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/meshTools/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/edgeMesh/lnInclude -IlnInclude -I. -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OpenFOAM/lnInclude -I/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt64Opt/FLMAToSurface.o -L/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt64Opt/lib \
    -ltriSurface -L/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/lib -lmeshLibrary -lmeshTools -ledgeMesh -lOpenFOAM -ldl  \
     -lm -o /home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/FLMAToSurface
/usr/bin/ld: cannot find -lmeshLibrary
collect2: error: ld returned 1 exit status
/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/wmake/Makefile:138: die Regel für Ziel „/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/FLMAToSurface“ scheiterte
make[1]: *** [/home/sebastian/OpenFOAM/sebastian-3.0.1/platforms/linux64GccDPInt64Opt/bin/FLMAToSurface] Fehler 1
make[1]: Verzeichnis „/home/sebastian/cfMesh-v1.1.1/utilities/FLMAToSurface“ wird verlassen
/home/sebastian/OpenFOAM/OpenFOAM-3.0.1/wmake/MakefileApps:39: die Regel für Ziel „FLMAToSurface“ scheiterte
make: *** [FLMAToSurface] Fehler 2
E// It seems like you can not compile it with OpenFOAM 3.0.x, so I installed OF2.4 and now it works, so this thread can be closed.

Last edited by astronauti; June 17, 2016 at 18:42. Reason: e
astronauti is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 06:15
[OpenFOAM.org] OpenFOAM 3.0.0 Installation - from source code fazalhaq OpenFOAM Installation 15 July 7, 2016 20:09
Critical errors during OpenFoam installation in OpenSuse 11.0 amscosta OpenFOAM 5 May 1, 2009 14:06
Installation problems shellbell1999 OpenFOAM Installation 9 April 6, 2006 13:29


All times are GMT -4. The time now is 07:53.