|
[Sponsors] |
undefined reference to `Foam::UOPstream::writeQuoted` |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 23, 2018, 05:36 |
undefined reference to `Foam::UOPstream::writeQuoted`
|
#1 |
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 8 |
While using OpenFOAM's toolbox for some CFD implementation the linker complains about a missing reference
Any idea which library is necessary? Many thanks in advance Thomas |
|
March 27, 2018, 09:30 |
solved: undefined reference to `Foam::UOPstream::writeQuoted`
|
#2 |
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 8 |
Since we use '-std=c++11' for our routines, due to some calls using std::string even OpenFOAM's interfaces doesn't fit ...
After recompiling the complete library (using an appropriately modified $WM_DIR/rules/*/c++*) linking succeeded! |
|
February 18, 2019, 06:12 |
similar problem
|
#3 |
New Member
Benjamin
Join Date: Oct 2016
Posts: 2
Rep Power: 0 |
Hallo Pfiffikus,
I think I have the same error. Compiling an openFoam application gives me a similar error message: undefined reference to `Foam::UOPstream::writeQuoted(std::__cxx11::basic_ string<char, std::char_traits<char>, std::allocator<char> > const&, bool)' I would be very thankful if you could explain which libaries you recompiled and where and how I can appropriately modify $WM_DIR/rules/*/c++*. Knowing I ask for a lot I would be utterly thankful!! Best regards, Benjamin |
|
February 20, 2019, 07:27 |
for clarification
|
#4 | |
New Member
Join Date: Jan 2018
Posts: 12
Rep Power: 8 |
Quote:
_all_ referenced is recommended, sometimes necessary; all is useful all these files specify the options for compiler's call, thus file c++ should finally contain `CC = -std=c++11 ...` among other settings Hth Pfiffikus Last edited by Pfiffikus; February 20, 2019 at 07:38. Reason: clarification of which file contains what |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Second Derivative Zero - Boundary Condition | fu-ki-pa | OpenFOAM | 11 | March 27, 2021 04:28 |
LEMOS InflowGenerator | r_gordon | OpenFOAM Running, Solving & CFD | 103 | December 18, 2018 00:58 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 12:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
G95 + CGNS | Bruno | Main CFD Forum | 1 | January 30, 2007 00:34 |