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

[waves2Foam] compilation errors with OpenFOAM 2.4.0

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By grazarr
  • 1 Post By palmtop86

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 19, 2017, 20:42
Default compilation errors with OpenFOAM 2.4.0
  #1
New Member
 
Greg Nichols
Join Date: Mar 2017
Posts: 3
Rep Power: 9
GregN is on a distinguished road
Dear waves2Foamers,
I recently downgraded my OF version from 4.0 to 2.4 (on ubuntu 15.04) in order to use the various utilities that are not supported in the later version. Upon attempting to compile waves2Foam I'm receiving the following errors which I've been having difficulty troubleshooting.
Apologies if it is a basic error but I'm still getting to grips with OF and Ubuntu.
Greg

Code:
=====================================
    COMPILE SOLVERS
=====================================
Making dependency list for source file waveFoam.C
SOURCE=waveFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/twoPhaseMixture/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/incompressible/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/interfaceProperties/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/turbulenceModels/incompressible/turbulenceModel -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/fvOptions/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -DXVERSION=0 -DOFPLUSBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveFoam.o
In file included from waveFoam.C:70:0:
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’:
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
 scalar maxDeltaT =
        ^
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/twoPhaseMixture/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/incompressible/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/interfaceProperties/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/turbulenceModels/incompressible/turbulenceModel -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/transportModels/immiscibleIncompressibleTwoPhaseMixture/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/fvOptions/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -DXVERSION=0 -DOFPLUSBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveFoam.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -limmiscibleIncompressibleTwoPhaseMixture -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lfvOptions -lmeshTools -lsampling -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamSampling -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveFoam
/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamSampling
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveFoam' failed
make: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveFoam] Error 1

=====================================
    COMPILE PRE-PROCESSING
=====================================
Making dependency list for source file setWaveField.C
Making dependency list for source file relaxationZoneLayout.C
Making dependency list for source file faceSetToSTL.C
Making dependency list for source file setWaveParameters.C
could not open file foamTime.H for source file setWaveField.C due to No such file or directory
could not open file foamTime.H for source file faceSetToSTL.C due to No such file or directory
could not open file foamTime.H for source file relaxationZoneLayout.C due to No such file or directory
SOURCE=faceSetToSTL.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/triSurface/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faceSetToSTL.o
SOURCE=setWaveParameters.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveParameters.o
SOURCE=setWaveField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/setWaveField.o
SOURCE=relaxationZoneLayout.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/relaxationZoneLayout.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/triSurface/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/faceSetToSTL.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lOpenFOAM -ltriSurface -lfiniteVolume -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/faceSetToSTL
Making dependency list for source file waveGaugesNProbes.C
could not open file foamTime.H for source file waveGaugesNProbes.C due to No such file or directory
SOURCE=waveGaugesNProbes.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/waveGaugesNProbes.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveParameters.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -L/usr/lib64 -lgsl -lgslcblas -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveParameters
/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamProcessing
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveParameters' failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveParameters] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'setWaveParameters' failed
make: *** [setWaveParameters] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude -I/usr/include -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/waveGaugesNProbes.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lOpenFOAM -lfiniteVolume -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -lwaves2FoamProcessing -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes
/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamProcessing
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes' failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/waveGaugesNProbes] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'waveGaugesNProbes' failed
make: *** [waveGaugesNProbes] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/relaxationZoneLayout.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout
/usr/bin/ld: cannot find -lwaves2Foam
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout' failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/relaxationZoneLayout] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'relaxationZoneLayout' failed
make: *** [relaxationZoneLayout] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude -DOFVERSION=240 -DEXTBRANCH=0 -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude -I/usr/include -IlnInclude -I. -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/setWaveField.o -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib -lwaves2Foam -L/usr/lib64 -lgsl -lgslcblas -lOpenFOAM -ldl   -lm -o /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveField
/usr/bin/ld: cannot find -lwaves2Foam
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for target '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveField' failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/setWaveField] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'setWaveField' failed
make: *** [setWaveField] Error 2
make: Target 'application' not remade because of errors.
GregN is offline   Reply With Quote

Old   March 19, 2017, 20:45
Default
  #2
New Member
 
Greg Nichols
Join Date: Mar 2017
Posts: 3
Rep Power: 9
GregN is on a distinguished road
With reference to my preceeding post on waves2Foam compilation errors in OF2.4, here is the continuation of my error log.
Code:
=====================================
    COMPILE POST-PROCESSING
=====================================
Making dependency list for source file surfaceElevation.C
Making dependency list for source file postProcessWaves2Foam.C
could not open file foamTime.H for source file postProcessWaves2Foam.C due to No such file or directory
SOURCE=surfaceElevation.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra  -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3   -DNoRepository -ftemplate-depth-100  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/lagrangian/basic/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/fileFormats/lnInclude  -DOFVERSION=240 -DEXTBRANCH=0  -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude  -I/home/gregn/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include  -IlnInclude -I.  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude    -fPIC -c $SOURCE -o Make/linux64GccDPOpt/surfaceElevation.o
SOURCE=postProcessWaves2Foam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall  -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3   -DNoRepository -ftemplate-depth-100  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude  -I/home/gregn/waves2Foam/src/waves2Foam/src/lnInclude  -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude  -I/usr/include -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I.  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude    -fPIC -c $SOURCE -o Make/linux64GccDPOpt/postProcessWaves2Foam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter  -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository  -ftemplate-depth-100  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/sampling/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/lagrangian/basic/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/fileFormats/lnInclude  -DOFVERSION=240 -DEXTBRANCH=0  -I/home/gregn/waves2Foam/src/waves2Foam/lnInclude  -I/home/gregn/waves2Foam/src/waves2FoamSampling/lnInclude -I/usr/include  -IlnInclude -I.  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude    -fPIC -Xlinker --add-needed -Xlinker --no-as-needed  Make/linux64GccDPOpt/surfaceElevation.o  -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lfiniteVolume -lmeshTools -lsampling -lsurfMesh -llagrangian  -lfileFormats  -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib  -lwaves2Foam -lwaves2FoamSampling -L/usr/lib64 -lgsl -lgslcblas  -lOpenFOAM -ldl   -lm -o  /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/surfaceElevation
/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamSampling
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for  target  '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/surfaceElevation'  failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/surfaceElevation] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'surfaceElevation' failed
make: *** [surfaceElevation] Error 2
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter  -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository  -ftemplate-depth-100  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/meshTools/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/finiteVolume/lnInclude  -I/home/gregn/waves2Foam/src/waves2Foam/src/lnInclude  -I/home/gregn/waves2Foam/src/waves2FoamProcessing/lnInclude  -I/usr/include -DOFVERSION=240 -DEXTBRANCH=0 -IlnInclude -I.  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude  -I/home/gregn/OpenFOAM/OpenFOAM-2.4.0/src/OSspecific/POSIX/lnInclude    -fPIC -Xlinker --add-needed -Xlinker --no-as-needed  Make/linux64GccDPOpt/postProcessWaves2Foam.o  -L/home/gregn/OpenFOAM/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/lib \
     -lOpenFOAM -lfiniteVolume  -L/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/lib  -lwaves2Foam -lwaves2FoamProcessing -L/usr/lib64 -lgsl -lgslcblas  -lOpenFOAM -ldl   -lm -o  /home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam
/usr/bin/ld: cannot find -lwaves2Foam
/usr/bin/ld: cannot find -lwaves2FoamProcessing
collect2: error: ld returned 1 exit status
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/Makefile:149: recipe for  target  '/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam'  failed
make[1]: *** [/home/gregn/OpenFOAM/gregn-2.4.0/platforms/linux64GccDPOpt/bin/postProcessWaves2Foam] Error 1
/home/gregn/OpenFOAM/OpenFOAM-2.4.0/wmake/MakefileApps:39: recipe for target 'postProcessWaves2Foam' failed
make: *** [postProcessWaves2Foam] Error 2
make: Target 'application' not remade because of errors.

=====================================
    COMPILATION DONE
=====================================
GregN is offline   Reply With Quote

Old   March 20, 2017, 12:13
Default
  #3
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,901
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi Greg,

The libraries are not compiled, so I suggest that you inspect compilation errors from that part of the compilation.

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

Old   March 23, 2017, 00:46
Default
  #4
New Member
 
Greg Nichols
Join Date: Feb 2017
Posts: 2
Rep Power: 0
grazarr is on a distinguished road
Dear Jacobsen,
turns out it was a permission error preventing compilation.
Working fine now thanks,
Greg
ms.hashempour likes this.
grazarr is offline   Reply With Quote

Old   February 20, 2019, 21:25
Default
  #5
New Member
 
G
Join Date: Feb 2019
Posts: 1
Rep Power: 0
palmtop86 is on a distinguished road
Quote:
Originally Posted by grazarr View Post
Dear Jacobsen,
turns out it was a permission error preventing compilation.
Working fine now thanks,
Greg
Hello Greg,
I have recently ran into the same error as you while trying to compile waves2foam. Do you think you could go into a bit more detail as to what you mean by a permission error?
Thanks

G
ms.hashempour likes this.
palmtop86 is offline   Reply With Quote

Reply


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
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 03:19
Floating point exception error lpz_michele OpenFOAM Running, Solving & CFD 53 October 19, 2015 02:50
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


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