|
[Sponsors] |
[waves2Foam] compilation error of waves2Foam postprocessing utilities |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 4, 2023, 11:24 |
compilation error of waves2Foam postprocessing utilities
|
#1 |
New Member
wiki
Join Date: Apr 2017
Posts: 3
Rep Power: 9 |
Hi Guys
I have trying to compile waves2Foam postprocessing utilities, but its giving the following error. any help would be greatly appreciated. wasim$ wmake all g++ -std=c++14 -m64 -pthread -DOPENFOAM=2212 -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/usr/lib/openfoam/openfoam2212/src/OpenFOAM/lnInclude -I/usr/lib/openfoam/openfoam2212/src/meshTools/lnInclude -I/usr/lib/openfoam/openfoam2212/src/finiteVolume/lnInclude -I/home/wasim/OpenFOAM/wasim-v2212/applications/utilities/waves2Foam/src/waves2Foam/src/lnInclude -I/home/wasim/OpenFOAM/wasim-v2212/applications/utilities/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=2212 -DEXTBRANCH=0 -iquote. -IlnInclude -I/usr/lib/openfoam/openfoam2212/src/OpenFOAM/lnInclude -I/usr/lib/openfoam/openfoam2212/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPInt32Opt/postProcessWaves2Foam.o -L/usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib \ -lOpenFOAM -lfiniteVolume -L/home/wasim/OpenFOAM/wasim-v2212/platforms/linux64GccDPInt32Opt/lib -lwaves2Foam -lwaves2FoamProcessing -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl \ -lm -o /home/wasim/OpenFOAM/wasim-v2212/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam /usr/bin/ld: Make/linux64GccDPInt32Opt/postProcessWaves2Foam.o: in function `main': postProcessWaves2Foam.C:(.text.startup+0x9f4): undefined reference to `Foam::postProcessingWaves::New(Foam::Time const&, Foam::dictionary const&, Foam::word const&)' /usr/bin/ld: postProcessWaves2Foam.C:(.text.startup+0xb37): undefined reference to `typeinfo for Foam::postProcessingWaves' collect2: error: ld returned 1 exit status make: *** [/usr/lib/openfoam/openfoam2212/wmake/makefiles/general:170: /home/wasim/OpenFOAM/wasim-v2212/platforms/linux64GccDPInt32Opt/bin/postProcessWaves2Foam] Error 1 openfoam2212:~/OpenFOAM/wasim-v2212/applications/utilities/waves2Foam/applications/utilities/postProcessing/postProcessWaves2Foam/ |
|
July 18, 2023, 05:31 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37 |
Hi,
It has been years since the post processing utilities could be compiled with newer OpenFoam versions. The error is likely related to changes to the runTime selection (see e.g. waveTheories.H). I personally do the processing in Matlab with own tools. Kind regards Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] Waves2Foam postProcessing | Cjyowen1 | OpenFOAM Community Contributions | 0 | February 3, 2020 11:40 |
[OpenFOAM.com] v1606+ no postProcessing utilities | hewei | OpenFOAM Installation | 3 | September 14, 2016 08:38 |
undefined symbol in postProcessing utilities | anishtain4 | OpenFOAM Running, Solving & CFD | 1 | August 11, 2016 11:57 |
Compilation of OpenFOAM utilities in postProcessing/velocityField | julian | OpenFOAM Bugs | 2 | April 15, 2009 01:07 |