CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   Errors in compiling library for new BC (

jemling April 15, 2017 13:21

Errors in compiling library for new BC
Good day to one and all.

I am encountering the following error message after following some of the youtube and other compilation documents from various sources. They all follow the same method of creating a new directory, copying a most suitable/similar BC (that one would want to generate), creating a "Make" directory with the "files" and "options" files.

I am intending to modify the "calculated" BC with the thin plate deflection equation, to simulate a FSI simulation, studying the deflection of a membrane with a sinusoidal pressure input into a fluid space.

The error when I input "wmake libso":

-lOpenFOAM -ltriSurface -lmeshTools -lfiniteVolume -o /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/
/usr/bin/ld: cannot open output file /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/ Is a directory
collect2: error: ld returned 1 exit status
/opt/openfoam4/wmake/makefiles/general:156: recipe for target '/home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/' failed
make: *** [/home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/] Error 1


LIB = $(FOAM_USER_LIBBIN)/libmyBoundaryConditions

-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \

-lOpenFOAM \
-ltriSurface \
-lmeshTools \

All times are GMT -4. The time now is 02:33.