CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

wallHeatFluxIncompressible compile error under OpenFoam for Windows 16.02

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 7, 2016, 19:21
Default wallHeatFluxIncompressible compile error under OpenFoam for Windows 16.02
  #1
New Member
 
Vilma62
Join Date: Nov 2014
Posts: 9
Rep Power: 4
Vilma62 is on a distinguished road
Hello,

When tried to compile the wallHeatFluxIncompressible utility (OF2.3 release by Bruno Santos), the following error message appears (undefined reference to `Foam::incompressible::turbulenceModel::typeName' collect2: error: ld returned 1 exit status):

Code:
$ wmake
Making dependency files...
x86_64-w64-mingw32-g++ -m64 -Dcygwin64 -DWM_DP -DMSWIN -DLITTLE_ENDIAN -Wall -Wextra -Wno-unused-parameter -Wnon-virtual-dtor -O3 -DNDEBUG  -DNoRepository -ftemplate-depth-100 -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/incompressible/turbulenceModel -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/transportModels -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/transportModels/incompressible/singlePhaseTransportModel -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/MSWindows/lnInclude   -Wl,--enable-auto-import,--enable-auto-image-base,--force-exe-suffix,--strip-all Make/cygwin64mingw-w64DPOpt/wallHeatFluxIncompressible.o -L/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/lib \
     -lincompressibleTransportModels -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lmeshTools  -lOpenFOAM    -lm -o /opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/wallHeatFluxIncompressible.exe
Make/cygwin64mingw-w64DPOpt/wallHeatFluxIncompressible.o:wallHeatFluxIncompressible.C:(.text.startup+0xdd4): undefined reference to `Foam::incompressible::turbulenceModel::New(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::transportModel&, Foam::word const&)'
Make/cygwin64mingw-w64DPOpt/wallHeatFluxIncompressible.o:wallHeatFluxIncompressible.C:(.rdata$.refptr._ZN4Foam14incompressible15turbulenceModel8typeNameE[.refptr._ZN4Foam14incompressible15turbulenceModel8typeNameE]+0x0): undefined reference to `Foam::incompressible::turbulenceModel::typeName'
collect2: error: ld returned 1 exit status
/opt/OpenFOAM/OpenFOAM-2.3.x/wmake/Makefile:155: recipe for target '/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/wallHeatFluxIncompressible.exe' failed
make: *** [/opt/OpenFOAM/OpenFOAM-2.3.x/platforms/cygwin64mingw-w64DPOpt/bin/wallHeatFluxIncompressible.exe] Error 1
Any help would be greatly appreciated.
Thanks in advance.
Vilma62 is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to compile custom solver "turbineALSource" in OpenFOAM 2.2 mohsen.boojari OpenFOAM Programming & Development 1 April 16, 2016 16:35
How to install Overture library and compile it with OpenFOAM sagarg Lounge 0 August 15, 2015 05:20
OpenFoam 2.1.1 not completely works in Debian jessie keepfit OpenFOAM Installation 1 July 18, 2015 17:46
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
How to compile OpenFOAM from scratch bashrc and cshrc danieltourde OpenFOAM Installation 2 December 15, 2006 10:30


All times are GMT -4. The time now is 11:00.