From e8e9a2f891b756df5b5250a0e7ad4bbdac6eed73 Mon Sep 17 00:00:00 2001 From: Mike Kremer Date: Mon, 9 Feb 2009 11:42:40 +0000 Subject: [PATCH] Updated compiling instructions for Darwin and Unix git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@47 fdac6126-5c0c-442c-9429-916003d36597 --- Doc/misc.docu | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Doc/misc.docu b/Doc/misc.docu index e0819a23..1bce9a40 100644 --- a/Doc/misc.docu +++ b/Doc/misc.docu @@ -61,13 +61,17 @@ gcc 4.0
\section sec_compiling_unix Unix -Download and install the Qt4 framework from Trolltech.
+Install the following external libraries / frameworks:

+ + + + +
OpenGLhttp://www.opengl.org
Qt4http://www.qtsoftware.com/downloads
GLEWhttp://glew.sourceforge.net/


In order to compile and install OpenMesh, enter following commands in OpenMesh's root directory:

qmake             ## Generates the appropriate Makefiles
make              ## Builds the project (use 'make debug' to build debug version)
-sudo make install ## Install OpenMesh (as root) -


+
When using the \c qmake command, make sure to use Qt version 4 (some linux distributions
use the link \c qmake-qt4 against the executable). @@ -79,11 +83,19 @@ the predefined solution file Core/OpenMesh_Core.vcproj and Tools/Op \section sec_compiling_macosx MacOSX Download and install the Qt4 framework from Trolltech.
+Because some of the examples depend on the glew library, it's recommended to install glew via the darwin portage +system fink.
+If you have not installed fink yet, follow the instructions given on their site in order to install it.
+Type + +sudo fink install glew + +to install glew headers and libraries. ( Fink usually installs header files to \c /sw/include and libraries to \c /sw/lib. ) +
In order to compile and install OpenMesh, open a Terminal window and enter following commands in OpenMesh's root directory:

qmake -macx       ## Generates the appropriate Makefiles
make release      ## Builds the project (use 'make debug' to build debug version)
-sudo make install ## Install OpenMesh (as root)
-- GitLab