if test "x$Netgen_ok" == xno ; then
AC_MSG_RESULT(no)
- AC_MSG_ERROR(Netgen is not properly installed)
+ AC_MSG_ERROR(Netgen is not properly installed. Read NETGENPLUGIN_SRC/src/NETGEN/ReadMeForNgUsers for details.)
fi
NETGEN_LIBS="-L${NETGEN_LIBS_DIR} -lnglib"
1. How to build Netgen for Netgen Plugin
------------------------------
-1.1. Download Netgen archive (here netgen-4.9.11.tar.gz) and unpack it
+1.1. Download Netgen archive (here netgen-4.9.12.tar.gz) and unpack it
1.2. Configure the netgen compilation. The "good" options are
- ../netgen-4.9.11/configure \
+ ../netgen-4.9.12/configure \
--prefix=THE_INSTALLATION_PATH \
- --enable-occ --enable-nglib --with-occ=${CASROOT} \
- CXXFLAGS="-DOCCGEOMETRY -I${CASROOT}/inc -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_LIMITS_H -DHAVE_IOMANIP -I${TOGL_HOME}/include" \
+ --with-occ=${CASROOT} \
+ CXXFLAGS="-I${TOGL_HOME}/include" \
LDFLAGS="-L${TOGL_HOME}/lib/Togl1.7"
1.3. Compile the netgen product