|
[Sponsors] |
June 17, 2019, 23:35 |
Cannot find -ltriSurface
|
#1 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 6 |
I have tried to install LaminarSMOKE on my system. The system that I'm running on is debian stretch. I have successfully installed of1806+ and ParaView on my system. However, when compiling one of the folders of LaminarSMOKE, I received this error:
Code:
-lOpenFOAM -ltriSurface -lmeshTools -lfiniteVolume -lmeshTools -o /home/hafiz/OpenFOAM/hafiz-v1806/platforms/linux64GccDPInt64Opt/lib/libboundaryConditionsOpenSMOKE++.so /usr/bin/ld: cannot find -ltriSurface collect2: error: ld returned 1 exit status /home/hafiz/OpenFOAM/OpenFOAM-v1806/wmake/makefiles/general:163: recipe for target '/home/hafiz/OpenFOAM/hafiz-v1806/platforms/linux64GccDPInt64Opt/lib/libboundaryConditionsOpenSMOKE++.so' failed make: *** [/home/hafiz/OpenFOAM/hafiz-v1806/platforms/linux64GccDPInt64Opt/lib/libboundaryConditionsOpenSMOKE++.so] Error 1 -hafiz |
|
June 20, 2019, 14:45 |
|
#2 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
Hello Hafiz
Following message means linker cannot find the triSurface library probably because it wasn't compiled properly: Code:
/usr/bin/ld: cannot find -ltriSurface Code:
$ ls $FOAM_LIBBIN/libtriSurface.so -l OF-5x/platforms/linux64Gcc48DPInt32Opt/lib/libtriSurface.so If you have log file from the compilation, take a look at it and see why it failed. To compile triSurface library: Code:
$ grep -irn "libtriSurface" src/* src/triSurface/Make/files:40:LIB = $(FOAM_LIBBIN)/libtriSurface Hope this helps // Fatih |
|
June 27, 2019, 08:57 |
|
#3 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 6 |
The lib was unavailable in OF1812, that’s why I got the error. Anyways, I changed it to OF6 and it was compiled successfully!
|
|
June 27, 2019, 09:08 |
|
#4 |
New Member
Hafiz Ahmad
Join Date: May 2019
Location: Brunei
Posts: 19
Rep Power: 6 |
Well, now I got this error when compiling another solver:
Code:
radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C: In member function ‘Foam::scalar Foam::radiation::radiativeIntensityRay::correct()’: radiationModels/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C:245:9: error: no matching function for call to ‘solve(Foam::fvScalarMatrix&, const char [3])’ ); ^ In file included from /home/hafiz/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/scalarMatrices.H:171:0, from /home/hafiz/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/dimensionSets.H:39, |
|
July 9, 2019, 14:11 |
|
#5 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,686
Rep Power: 40 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] 3.2 Installation in Debian 8.5 | jsm | OpenFOAM Installation | 2 | June 19, 2016 10:53 |
How to make a code parallel? | Bruno Machado | Fluent UDF and Scheme Programming | 15 | May 27, 2016 09:18 |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 00:52 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 06:32 |