[Gmsh] building of gmsh on mingw64
walter
steffe at tiscali.it
Tue Sep 22 20:31:50 CEST 2020
I am sorry, I made a mistake. The correct patch to find OCC libraries on MINGW64 should be:
line 12179 to 1273
if(ENABLE_OCC_STATIC)
set(LIBNAME lib${OCC}.a)
else()
set(LIBNAME ${OCC})
endif()
is replaced by:
if(ENABLE_OCC_STATIC)
if(MINGW)
set(LIBNAME lib${OCC}.dll.a)
else()
set(LIBNAME lib${OCC}.a)
endif()
else()
set(LIBNAME ${OCC})
endif()
line 1284 to 1285:
find_library(OCC_LIB ${LIBNAME} HINTS ENV CASROOT PATH_SUFFIXES
lib ${OCC_SYS_NAME}/lib ${OCC_SYS_NAME}/vc8/lib)
replaced by:
find_library(OCC_LIB ${LIBNAME} HINTS ENV CASROOT PATH_SUFFIXES
lib ${OCC_SYS_NAME}/lib ${OCC_SYS_NAME}/vc8/lib ${OCC_SYS_NAME}/gcc/lib ${OCC_SYS_NAME}/gcc/bin)
line 1306 to 1307:
find_library(OCC_CAF_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES
lib ${OCC_SYS_NAME}/lib ${OCC_SYS_NAME}/vc8/lib)
replaced by:
find_library(OCC_CAF_LIB ${OCC} HINTS ENV CASROOT PATH_SUFFIXES
lib ${OCC_SYS_NAME}/lib ${OCC_SYS_NAME}/vc8/lib ${OCC_SYS_NAME}/gcc/lib ${OCC_SYS_NAME}/gcc/bin)
More information about the gmsh
mailing list