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":
Quote:
-lOpenFOAM -ltriSurface -lmeshTools -lfiniteVolume -o /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so
/usr/bin/ld: cannot open output file /home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so: 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/libmyBoundaryConditions.so' failed
make: *** [/home/jling/OpenFOAM/jling-4.1/platforms/linux64GccDPInt32Opt/lib/libmyBoundaryConditions.so] Error 1
|
"files"
Quote:
fsiCouple/fsiCoupleFvPatchFields.C
LIB = $(FOAM_USER_LIBBIN)/libmyBoundaryConditions
|
"options"
Quote:
EXE_INC = \
-I$(LIB_SRC)/triSurface/lnInclude \
-I$(LIB_SRC)/meshTools/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude \
LIB_LIBS = \
-lOpenFOAM \
-ltriSurface \
-lmeshTools \
-lfiniteVolume
|
|