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

[waves2Foam] compilation error of waves2Foam postprocessing utilities

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 4, 2023, 11:24
Default compilation error of waves2Foam postprocessing utilities
  #1
New Member
 
wiki
Join Date: Apr 2017
Posts: 3
Rep Power: 8
waseemsarwardogar is on a distinguished road
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/
waseemsarwardogar is offline   Reply With Quote

Old   July 18, 2023, 05:31
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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.
ngj 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
[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


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