From ed2793ca4e01d63cf45c4e7af3d542a2e9762a23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Fri, 19 Jun 2015 08:43:33 +0000 Subject: [PATCH] Added hint for -fPIC git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1294 fdac6126-5c0c-442c-9429-916003d36597 --- Doc/misc.docu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/misc.docu b/Doc/misc.docu index d064a8b1..3c568f6a 100644 --- a/Doc/misc.docu +++ b/Doc/misc.docu @@ -110,7 +110,8 @@ There are some additional targets:
doc: Builds the Documentation
doc-install: Builds the Documentation and installs it

-
+\note When you link against the static libraries of OpenMesh and get the error "can not be used when making a +shared object; recompile with -fPIC" you need to add "-fPIC" to the CMAKE_CXX_FLAGS. (This is usually added automatically) \section sec_compiling_windows Windows