|
[Sponsors] |
foam-extend-3.2: issue compiling new libraries on Windows |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2016, 04:34 |
foam-extend-3.2: issue compiling new libraries on Windows
|
#1 |
New Member
Join Date: Sep 2010
Posts: 7
Rep Power: 15 |
Hi,
I installed foam-extend-3.2 on Windows, following the instructions from the homepage. Everything seems to run smoothly, so far so good. I was now trying to add a new library and for that purpose I started with copying and renaming an existing one. When I tried to compile (the basically unchanged) code, the new library would only bild with the following "undefined reference" error: myTurbulenceModel.o:myTurbulenceModel.C.rdata$.r efptr._ZN4Foam5debug18debugSwitchValues_B5cxx11E[.refptr._ZN4Foam5debug18debugSwitchValues_B5cxx11E]+0x0): undefined reference to `Foam::debug::debugSwitchValues_[abi:cxx11]' myLaminar.o:myLaminar.C.rdata$.refptr._ZN4Foam5d ebug25optimisationSwitchValues_B5cxx11E[.refptr._ZN4Foam5debug25optimisationSwitchValues_B 5cxx11E]+0x0): undefined reference to `Foam::debug:ptimisationSwitchValues_[abi:cxx11]' collect2.exe: error: ld returned 1 exit status make: *** [/c/Users/alice/Git/alice-3.2/lib/mingwGccDPOpt/libmyIncompressibleTurbulenceModel.dll] Error 1 I tried to compile the code both in the user directory and the directory where the original library had been compiled (really bad style, I know, but I wanted to make sure that no path etc was missing...). Any help would be appreciated!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 17:22 |
Release of foam-extend-3.2 | fguibault | OpenFOAM Announcements from Other Sources | 15 | November 2, 2016 15:12 |
channelFoam for a 3D pipe | AlmostSurelyRob | OpenFOAM | 3 | June 24, 2011 13:06 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
[Gmsh] Import problem | ARC | OpenFOAM Meshing & Mesh Conversion | 0 | February 27, 2010 10:56 |