Download INSTALLATION GUIDE
Transcript
A2 - 5 CalculiX • cgx Installation Guide Mac OS X • Appendix 2 $ “tcl_install_path”/lib/Togl1.7 <return> # Goto directory Togl1.7. $ ln -s libTogl1.7.dylib libTogl.dylib <return> # Create link Note on link. For build of Netgen the library libTogl.dylib is required, the library libTogl1.7.dylib for execution of Netgen. Before re-compilation use command: $ make distclean <return>, then re-configure. For more details consider README provided for Togl. INSTALL NETGEN WITH GUI • Installation path and installation of Netgen files. Follow steps 1 to 4 of the installation instructions in Section 7.7. Installation path, therefore (cf. step 1 in Section 7.7): “netgen_install_path”. • Install Netgen with GUI according to step 5.2 in Section 7.7. Use Terminal commands (don’t type in comments): $ cd “netgen_install_path”/Netgen-5.1 <return> # Goto directory Netgen-5.1. # Configure, i.e. create Makefile: $ ./configure --prefix=“netgen_install_path” --with-tcl=“netgen_install_path”/lib --with-tk=“netgen_install_path”/lib --with-togl=“netgen_install_path”/lib/Togl1.7 CPPFLAGS="-I/usr/X11/include" LDFLAGS="-L/usr/X11/lib -lGLU" <return> $ make <return> # Build Netgen. $ sudo make install <return> # Install Netgen. Before re-compilation use command: $ make distclean <return>, then re-configure. For more details consider README provided for Netgen. The Netgen-binaries (executable "netgen", “ng_vol” etc.) are installed under path: “netgen_install_path”/bin. • Set environment variables. Set variables in your .bash_profile as follows: $ cd ~ <return> # Goto directory of .bash_profile (located in your home directory ~). $ open -e .bash_profile <return> # Opens .bash_profile in TextEdit. Next, insert the following three lines starting with “export” at the end of your .bash_profile without comments: export PATH=$PATH:”netgen_install_path”/bin # Sets path to executable "netgen" of netgen, # so you may invoke netgen from your # working directories. Prepared: B. Graf Installation Guide CalculiX Graphical Pre- and Postprocessor cgx 2.8 on Mac OS X Mavericks February 10, 2015