|
[Sponsors] |
[OpenFOAM.org] compiling a library: cannot find files recipe for target error |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 22, 2020, 15:01 |
compiling a library: cannot find files recipe for target error
|
#1 |
Senior Member
Josh McCraney
Join Date: Jun 2018
Posts: 220
Rep Power: 8 |
Hi all
I'm working on OpenFOAM 4.x, and am trying to compile a custom solver. Since I think the lnInclude link is broken, I am trying to build the required libraries from scratch by first deleting the lnInclude and compiler (in my case linux64GccDPInt32Opt) subdirectories. Then I execute Allwmake and get the error Code:
/usr/bin/ld: cannot find -ltwoPhaseMixture /usr/bin/ld: cannot find -lfiniteVolume collect2: error: ld returned 1 exit status /home/josh/of4x/OpenFOAM-4.x/wmake/makefiles/general:156: recipe for target '/home/josh/OpenFOAM/josh-4.x/platforms/linux64GccDPInt32Opt/lib/libinterfacePropertiesSmoothed.so' failed make: *** [/home/josh/OpenFOAM/josh-4.x/platforms/linux64GccDPInt32Opt/lib/libinterfacePropertiesSmoothed.so] Error 1 /home/josh/of4x/ThirdParty-4.x/interFoamKistlerLiquidSmoothed_v0.2/transportModels To me, it looks like from the error highlited in red the compilation process is trying to talk to the wrong folder. Anyone have any ideas on what to do here? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ERROR: unable to find library | HJH | CFX | 6 | February 26, 2019 06:52 |
Errors in compiling library for new BC | jemling | OpenFOAM Programming & Development | 0 | April 15, 2017 13:21 |
Compiling library and linking it to a solver | criolla | OpenFOAM | 2 | July 27, 2016 03:13 |
Compiling a porousZone-like library | Hisham | OpenFOAM Programming & Development | 1 | March 8, 2012 09:49 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |