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

[waves2Foam] Error in compiling waves2foam on Openfoam_v1812

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 17, 2020, 10:25
Default Error in compiling waves2foam on Openfoam_v1812
  #1
New Member
 
milad
Join Date: Jun 2013
Posts: 7
Rep Power: 9
majid_m87 is on a distinguished road
Hi
I am trying to compile Waves2Foam on OpenFoam_v1812, but I got the following error. I will appreciate that if you can help me with that.

COMPILE SOLVERS
=====================================
Making dependency list for source file waveFoam.C
g++ -std=c++11 -m64 -DOPENFOAM=1812 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/../applications/solvers/multiphase/VoF -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/interfaceProperties/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/dynamicFvMesh/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2FoamSamplingNew/lnInclude -I/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/include/gsl -DOFVERSION=1812 -DEXTBRANCH=0 -DOFPLUSBRANCH=1 -DXVERSION=0 -IlnInclude -I. -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c waveFoam.C -o Make/linux64GccDPInt32Opt/waveFoam.o
g++ -std=c++11 -m64 -DOPENFOAM=1812 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/../applications/solvers/multiphase/VoF -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/interfaceProperties/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/dynamicFvMesh/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2FoamSamplingNew/lnInclude -I/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/include/gsl -DOFVERSION=1812 -DEXTBRANCH=0 -DOFPLUSBRANCH=1 -DXVERSION=0 -IlnInclude -I. -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/waveFoam.o -L/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib \
-limmiscibleIncompressibleTwoPhaseMixture -lturbulenceModels -lincompressibleTurbulenceModels -lfiniteVolume -ldynamicFvMesh -lfvOptions -lmeshTools -lsampling -L/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -lwaves2FoamSampling -L/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/lib -lgsl -lgslcblas -lOpenFOAM -ldl \
-lm -o /mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/bin/waveFoam
Make/linux64GccDPInt32Opt/waveFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::storeOldTimes() const':
waveFoam.C:(.text._ZNK4Foam14GeometricFieldIdNS_12 fvPatchFieldENS_7volMeshEE13storeOldTimesEv[_ZNK4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7v olMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveFoam.o: In function `Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>::storeOldTimes() const':
waveFoam.C:(.text._ZNK4Foam14GeometricFieldIdNS_13 fvsPatchFieldENS_11surfaceMeshEE13storeOldTimesEv[_ZNK4Foam14GeometricFieldIdNS_13fvsPatchFieldENS_1 1surfaceMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveFoam.o: In function `Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::storeOldTimes() const':
waveFoam.C:(.text._ZNK4Foam14GeometricFieldINS_6Ve ctorIdEENS_12fvPatchFieldENS_7volMeshEE13storeOldT imesEv[_ZNK4Foam14GeometricFieldINS_6VectorIdEENS_12fvPat chFieldENS_7volMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveFoam.o: In function `Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>::storeOldTimes() const':
waveFoam.C:(.text._ZNK4Foam14GeometricFieldINS_6Ve ctorIdEENS_13fvsPatchFieldENS_11surfaceMeshEE13sto reOldTimesEv[_ZNK4Foam14GeometricFieldINS_6VectorIdEENS_13fvsPa tchFieldENS_11surfaceMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveFoam.o: In function `Foam::GeometricField<Foam::SymmTensor<double>, Foam::fvPatchField, Foam::volMesh>::storeOldTimes() const':
waveFoam.C:(.text._ZNK4Foam14GeometricFieldINS_10S ymmTensorIdEENS_12fvPatchFieldENS_7volMeshEE13stor eOldTimesEv[_ZNK4Foam14GeometricFieldINS_10SymmTensorIdEENS_12 fvPatchFieldENS_7volMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveFoam.o:waveFoam.C:(.text._ZNK4Foam14GeometricF ieldINS_6TensorIdEENS_12fvPatchFieldENS_7volMeshEE 13storeOldTimesEv[_ZNK4Foam14GeometricFieldINS_6TensorIdEENS_12fvPat chFieldENS_7volMeshEE13storeOldTimesEv]+0x56): more undefined references to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const' follow
Make/linux64GccDPInt32Opt/waveFoam.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80): undefined reference to `Foam::UOPstream::writeQuoted(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
collect2: error: ld returned 1 exit status
make: *** [/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/bin/waveFoam] Error 1
Making dependency list for source file waveIsoFoam.C
g++ -std=c++11 -m64 -DOPENFOAM=1812 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/interfaceProperties/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/dynamicFvMesh/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2FoamSamplingNew/lnInclude -I/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/include/gsl -DOFVERSION=1812 -DEXTBRANCH=0 -DOFPLUSBRANCH=1 -DXVERSION=0 -IlnInclude -I. -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -c waveIsoFoam.C -o Make/linux64GccDPInt32Opt/waveIsoFoam.o
g++ -std=c++11 -m64 -DOPENFOAM=1812 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/twoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/interfaceProperties/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/turbulenceModels/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/TurbulenceModels/incompressible/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/finiteVolume/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/dynamicFvMesh/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/meshTools/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/sampling/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2Foam/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/applications/utilities/waves2Foam/src/waves2FoamSamplingNew/lnInclude -I/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/include/gsl -DOFVERSION=1812 -DEXTBRANCH=0 -DOFPLUSBRANCH=1 -DXVERSION=0 -IlnInclude -I. -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OpenFOAM/lnInclude -I/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/waveIsoFoam.o -L/mnt/scratch/users/40218666/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt32Opt/lib \
-limmiscibleIncompressibleTwoPhaseMixture -lturbulenceModels -lincompressibleTurbulenceModels -lfiniteVolume -ldynamicFvMesh -lfvOptions -lmeshTools -lsampling -L/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -lwaves2FoamSampling -L/opt/gridware/local/el7/pkg/libs/gsl/2.4/gcc-4.8.5/lib -lgsl -lgslcblas -lOpenFOAM -ldl \
-lm -o /mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/bin/waveIsoFoam
Make/linux64GccDPInt32Opt/waveIsoFoam.o: In function `Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::storeOldTimes() const':
waveIsoFoam.C:(.text._ZNK4Foam14GeometricFieldINS_ 6VectorIdEENS_12fvPatchFieldENS_7volMeshEE13storeO ldTimesEv[_ZNK4Foam14GeometricFieldINS_6VectorIdEENS_12fvPat chFieldENS_7volMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveIsoFoam.o: In function `Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::storeOldTimes() const':
waveIsoFoam.C:(.text._ZNK4Foam14GeometricFieldIdNS _12fvPatchFieldENS_7volMeshEE13storeOldTimesEv[_ZNK4Foam14GeometricFieldIdNS_12fvPatchFieldENS_7v olMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveIsoFoam.o: In function `Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>::storeOldTimes() const':
waveIsoFoam.C:(.text._ZNK4Foam14GeometricFieldIdNS _13fvsPatchFieldENS_11surfaceMeshEE13storeOldTimes Ev[_ZNK4Foam14GeometricFieldIdNS_13fvsPatchFieldENS_1 1surfaceMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveIsoFoam.o: In function `Foam::GeometricField<Foam::Vector<double>, Foam::fvsPatchField, Foam::surfaceMesh>::storeOldTimes() const':
waveIsoFoam.C:(.text._ZNK4Foam14GeometricFieldINS_ 6VectorIdEENS_13fvsPatchFieldENS_11surfaceMeshEE13 storeOldTimesEv[_ZNK4Foam14GeometricFieldINS_6VectorIdEENS_13fvsPa tchFieldENS_11surfaceMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveIsoFoam.o: In function `Foam::GeometricField<Foam::Tensor<double>, Foam::fvsPatchField, Foam::surfaceMesh>::storeOldTimes() const':
waveIsoFoam.C:(.text._ZNK4Foam14GeometricFieldINS_ 6TensorIdEENS_13fvsPatchFieldENS_11surfaceMeshEE13 storeOldTimesEv[_ZNK4Foam14GeometricFieldINS_6TensorIdEENS_13fvsPa tchFieldENS_11surfaceMeshEE13storeOldTimesEv]+0x56): undefined reference to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const'
Make/linux64GccDPInt32Opt/waveIsoFoam.o:waveIsoFoam.C:(.text._ZNK4Foam14Geom etricFieldINS_6TensorIdEENS_12fvPatchFieldENS_7vol MeshEE13storeOldTimesEv[_ZNK4Foam14GeometricFieldINS_6TensorIdEENS_12fvPat chFieldENS_7volMeshEE13storeOldTimesEv]+0x56): more undefined references to `Foam::string::endsWith(std::__cxx11::basic_string <char, std::char_traits<char>, std::allocator<char> > const&) const' follow
Make/linux64GccDPInt32Opt/waveIsoFoam.o:(.data.rel.ro._ZTVN4Foam8OPstreamE[_ZTVN4Foam8OPstreamE]+0x80): undefined reference to `Foam::UOPstream::writeQuoted(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
collect2: error: ld returned 1 exit status
make: *** [/mnt/scratch/users/40218666/OpenFOAM/40218666-v1812/platforms/linux64GccDPInt32Opt/bin/waveIsoFoam] Error 1
majid_m87 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
[foam-extend.org] Error in Compiling waves2foam with foam-extend4.0 sayed786 OpenFOAM Installation 0 March 14, 2020 04:06
[waves2Foam] Compiling Waves2Foam r2137 error: no matching function for call to ‘exp(Foam::complex Marc_H OpenFOAM Community Contributions 0 March 5, 2020 11:54
[waves2Foam] stuck in compiling the waves2Foam library for OF-v1712 due to MA41 Ya_Squall2010 OpenFOAM Community Contributions 3 April 16, 2019 09:21
waves2foam compiling yapalparvi OpenFOAM Running, Solving & CFD 0 May 9, 2015 22:02
[waves2Foam] Compiling problem for waveDyMFoam of waves2Foam in OF 2.3.0 ashkan OpenFOAM Community Contributions 3 December 13, 2014 01:31


All times are GMT -4. The time now is 04:55.