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

foam-extend-3.2: issue compiling new libraries on Windows

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   January 29, 2016, 04:34
Default foam-extend-3.2: issue compiling new libraries on Windows
  #1
New Member
 
Join Date: Sep 2010
Posts: 7
Rep Power: 15
guest1044 is on a distinguished road
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!!
guest1044 is offline   Reply With Quote

 


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
[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


All times are GMT -4. The time now is 12:24.