Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/common/common.pro.sharedlib meshlab-1.3.2/meshlab/src/common/common.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/common/common.pro.sharedlib	2012-07-30 23:42:56.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/common/common.pro	2013-02-26 09:43:25.574027223 -0700
Eric Smith ae955ef
@@ -1,9 +1,6 @@
Eric Smith ae955ef
 include (../general.pri)
Eric Smith ae955ef
 EXIF_DIR = ../external/jhead-2.95
Eric Smith ae955ef
 
Eric Smith ae955ef
-
Eric Smith ae955ef
-GLEWCODE = $$GLEWDIR/src/glew.c
Eric Smith ae955ef
-
Eric Smith ae955ef
 win32-msvc2005:DESTDIR = ../distrib
Eric Smith ae955ef
 win32-msvc2008:DESTDIR = ../distrib
Eric Smith ae955ef
 win32-msvc2010:DESTDIR = ../distrib
Eric Smith ae955ef
@@ -52,8 +49,7 @@ echo "linked shader dir"; \
Eric Smith ae955ef
 fi;\
Eric Smith ae955ef
 "
Eric Smith ae955ef
 INCLUDEPATH *= ../.. \
Eric Smith ae955ef
-    $$VCGDIR \
Eric Smith ae955ef
-    $$GLEWDIR/include
Eric Smith ae955ef
+    $$VCGDIR
Eric Smith ae955ef
 TEMPLATE = lib
Eric Smith ae955ef
 linux-g++:CONFIG += dll
Eric Smith ae955ef
 linux-g++:DESTDIR = ../distrib
Eric Smith ae955ef
@@ -75,7 +71,6 @@ QT += script
Eric Smith ae955ef
 TARGET = 
Eric Smith ae955ef
 DEPENDPATH += .
Eric Smith ae955ef
 INCLUDEPATH += . $$EXIF_DIR
Eric Smith ae955ef
-DEFINES += GLEW_STATIC
Eric Smith ae955ef
 win32-msvc2005:DEFINES += _CRT_SECURE_NO_WARNINGS
Eric Smith ae955ef
 win32-msvc2008:DEFINES += _CRT_SECURE_NO_WARNINGS
Eric Smith ae955ef
 
Eric Smith ae955ef
@@ -106,7 +101,6 @@ SOURCES += filterparameter.cpp \
Eric Smith ae955ef
 	mlapplication.cpp \
Eric Smith ae955ef
 	scriptsyntax.cpp \
Eric Smith ae955ef
 	searcher.cpp \
Eric Smith ae955ef
-    $$GLEWCODE \
Eric Smith ae955ef
     meshlabdocumentxml.cpp \
Eric Smith ae955ef
     meshlabdocumentbundler.cpp
Eric Smith ae955ef
 
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/external/external.pro.sharedlib meshlab-1.3.2/meshlab/src/external/external.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/external/external.pro.sharedlib	2012-05-30 08:24:24.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/external/external.pro	2013-02-26 09:43:25.574027223 -0700
Eric Smith ae955ef
@@ -2,11 +2,5 @@ config += debug_and_release
Eric Smith ae955ef
 
Eric Smith ae955ef
 TEMPLATE      = subdirs
Eric Smith ae955ef
 
Eric Smith ae955ef
-SUBDIRS       = lib3ds-1.3.0/lib3ds \
Eric Smith ae955ef
-                bzip2-1.0.5/bzip2-1.0.5.pro \
Eric Smith ae955ef
-                muparser_v132/src \
Eric Smith ae955ef
-                levmar-2.3/levmar-2.3.pro \
Eric Smith ae955ef
-                structuresynth/structuresynth.pro \
Eric Smith ae955ef
-                                OpenCTM-1.0.3/openctm.pro \
Eric Smith ae955ef
+SUBDIRS       = structuresynth/structuresynth.pro \
Eric Smith ae955ef
                 jhead-2.95/jhead-2.95.pro
Eric Smith ae955ef
-#                openkinect/openkinect.pro
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlab/meshlab.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlab/meshlab.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlab/meshlab.pro.sharedlib	2012-05-30 08:32:44.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlab/meshlab.pro	2013-02-26 09:43:25.575027223 -0700
Eric Smith ae955ef
@@ -129,7 +129,7 @@ win32-g++:LIBS        	+= -L../external/
Eric Smith ae955ef
 #	win32-g++:release:LIBS 			+= -L../common/release -lcommon
Eric Smith ae955ef
 #}
Eric Smith ae955ef
 
Eric Smith ae955ef
-linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLU
Eric Smith ae955ef
+linux-g++:LIBS += -L../external/lib/linux-g++ -ljhead -L../distrib -lcommon -lGLEW -lGLU
Eric Smith ae955ef
 linux-g++:QMAKE_RPATHDIR += ../distrib
Eric Smith ae955ef
 linux-g++-32:LIBS += -L../external/lib/linux-g++-32 -L../distrib -lcommon -lGLU
Eric Smith ae955ef
 linux-g++-32:QMAKE_RPATHDIR += ../distrib
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro.sharedlib	2013-02-26 10:05:31.025983842 -0700
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/edit_arc3D/edit_arc3D.pro	2013-02-26 10:08:53.259977223 -0700
Eric Smith ae955ef
@@ -32,16 +32,13 @@ RESOURCES     = edit_arc3D.qrc
Eric Smith ae955ef
 win32-msvc2005:LIBS	   += ../../external/lib/win32-msvc2005/bz2.lib
Eric Smith ae955ef
 win32-msvc2008:LIBS	   += ../../external/lib/win32-msvc2008/bz2.lib
Eric Smith ae955ef
 win32-g++:LIBS	+= ../../external/lib/win32-gcc/libbz2.a
Eric Smith ae955ef
-linux-g++:LIBS	+= ../../external/lib/linux-g++/libbz2.a
Eric Smith ae955ef
-linux-g++-32:LIBS	+= ../../external/lib/linux-g++-32/libbz2.a
Eric Smith ae955ef
-linux-g++-64:LIBS	+= ../../external/lib/linux-g++-64/libbz2.a
Eric Smith ae955ef
+linux-g++:LIBS	+= -lbz2
Eric Smith ae955ef
+linux-g++-32:LIBS	+= -lbz2
Eric Smith ae955ef
+linux-g++-64:LIBS	+= -lbz2
Eric Smith ae955ef
 
Eric Smith ae955ef
 win32-msvc2005:INCLUDEPATH += ../../external/bzip2-1.0.5
Eric Smith ae955ef
 win32-msvc2008:INCLUDEPATH += ../../external/bzip2-1.0.5
Eric Smith ae955ef
 win32-g++:INCLUDEPATH  += ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++-32:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++-64:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
 
Eric Smith ae955ef
 mac:LIBS   += -lbz2
Eric Smith ae955ef
 
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_func/filter_func.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_func/filter_func.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_func/filter_func.pro.sharedlib	2011-10-14 10:38:01.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_func/filter_func.pro	2013-02-26 09:43:25.575027223 -0700
Eric Smith ae955ef
@@ -6,15 +6,13 @@ SOURCES       += filter_func.cpp
Eric Smith ae955ef
 
Eric Smith ae955ef
 TARGET        = filter_func
Eric Smith ae955ef
 
Eric Smith ae955ef
-INCLUDEPATH += ../../external/muparser_v132/include
Eric Smith ae955ef
-
Eric Smith ae955ef
 # Note: we need static libs so when building muparser lib use 
Eric Smith ae955ef
 # ./configure --enable-shared=no
Eric Smith ae955ef
 
Eric Smith ae955ef
 win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/muparser.lib
Eric Smith ae955ef
 win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/muparser.lib
Eric Smith ae955ef
 macx:LIBS            += $$MACLIBDIR/libmuparser.a
Eric Smith ae955ef
-linux-g++:LIBS       += ../../external/lib/linux-g++/libmuparser.a
Eric Smith ae955ef
+linux-g++:LIBS       += -lmuparser
Eric Smith ae955ef
 linux-g++-32:LIBS       += ../../external/lib/linux-g++-32/libmuparser.a
Eric Smith ae955ef
 linux-g++-64:LIBS       += ../../external/lib/linux-g++-64/libmuparser.a
Eric Smith ae955ef
 win32-g++:LIBS		 += ../../external/lib/win32-gcc/libmuparser.a
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro.sharedlib	2011-10-14 10:37:59.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/filter_isoparametrization.pro	2013-02-26 09:43:25.576027223 -0700
Eric Smith ae955ef
@@ -23,8 +23,7 @@ HEADERS       += ./diamond_sampler.h \
Eric Smith ae955ef
 SOURCES       += ./filter_isoparametrization.cpp 
Eric Smith ae955ef
 				
Eric Smith ae955ef
 TARGET        = filter_isoparametrization
Eric Smith ae955ef
-INCLUDEPATH  += ./  \
Eric Smith ae955ef
-                ../../external/levmar-2.3/
Eric Smith ae955ef
+INCLUDEPATH  += ./
Eric Smith ae955ef
 
Eric Smith ae955ef
 win32-msvc2005:QMAKE_CXXFLAGS   +=  /openmp -D_USE_OMP
Eric Smith ae955ef
 win32-msvc2008:QMAKE_CXXFLAGS   +=  /openmp -D_USE_OMP
Eric Smith ae955ef
@@ -47,7 +46,7 @@ win32-msvc.net:LIBS	+= ../../external/li
Eric Smith ae955ef
 win32-msvc2005:LIBS	+= ../../external/lib/win32-msvc2005/levmar.lib
Eric Smith ae955ef
 win32-msvc2008:LIBS	+= ../../external/lib/win32-msvc2008/levmar.lib
Eric Smith ae955ef
 win32-g++:LIBS		+= -L../../external/lib/win32-gcc -llevmar
Eric Smith ae955ef
-linux-g++:LIBS		+= -L../../external/lib/linux-g++ -llevmar
Eric Smith ae955ef
+linux-g++:LIBS		+= -llevmar
Eric Smith ae955ef
 linux-g++-32:LIBS		+= -L../../external/lib/linux-g++-32 -llevmar
Eric Smith ae955ef
 linux-g++-64:LIBS		+= -L../../external/lib/linux-g++-64 -llevmar
Eric Smith ae955ef
 macx:LIBS += $$MACLIBDIR/liblevmar.a
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/param_collapse.h.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/param_collapse.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/param_collapse.h.sharedlib	2011-10-14 10:37:59.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/param_collapse.h	2013-02-26 09:43:25.576027223 -0700
Eric Smith ae955ef
@@ -14,7 +14,7 @@
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <local_parametrization.h>
Eric Smith ae955ef
 #include <mesh_operators.h>
Eric Smith ae955ef
-#include <lm.h>
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 #include <uv_grid.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include "opt_patch.h"
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/parametrizator.h.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/parametrizator.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/parametrizator.h.sharedlib	2011-10-14 10:37:59.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_isoparametrization/parametrizator.h	2013-02-26 09:43:25.577027223 -0700
Eric Smith ae955ef
@@ -34,7 +34,7 @@
Eric Smith ae955ef
 #include <vcg/space/color4.h>
Eric Smith ae955ef
 #include <dual_coord_optimization.h>
Eric Smith ae955ef
 #include <float.h>
Eric Smith ae955ef
-#include <lm.h>
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 #ifndef _MESHLAB
Eric Smith ae955ef
 #include <wrap/io_trimesh/export_ply.h>
Eric Smith ae955ef
 #endif
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h.sharedlib	2012-05-30 07:57:47.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/levmarmethods.h	2013-02-26 09:43:25.577027223 -0700
Eric Smith ae955ef
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <list>
Eric Smith ae955ef
 
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 
Eric Smith ae955ef
 struct LevmarCorrelation {
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h.sharedlib	2012-05-30 07:57:47.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_mutualinfoxml/solver.h	2013-02-26 09:43:25.578027223 -0700
Eric Smith ae955ef
@@ -5,7 +5,7 @@
Eric Smith ae955ef
 #include "alignset.h"
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include "parameters.h"
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <iostream>
Eric Smith ae955ef
 #include <fstream>
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro.sharedlib	2011-10-14 10:35:23.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_photosynth/filter_photosynth.pro	2013-02-26 09:43:25.579027223 -0700
Eric Smith ae955ef
@@ -1,17 +1,15 @@
Eric Smith ae955ef
 include (../../shared.pri)
Eric Smith ae955ef
 
Eric Smith ae955ef
-QTSOAPDIR = ../../external/qtsoap-2.7_1/src
Eric Smith ae955ef
-
Eric Smith ae955ef
-INCLUDEPATH += $$QTSOAPDIR
Eric Smith ae955ef
+INCLUDEPATH += /usr/include/QtSoap
Eric Smith ae955ef
 
Eric Smith ae955ef
 HEADERS       += filter_photosynth.h \
Eric Smith ae955ef
-                 synthData.h \
Eric Smith ae955ef
-                 $$QTSOAPDIR/qtsoap.h
Eric Smith ae955ef
+                 synthData.h
Eric Smith ae955ef
 
Eric Smith ae955ef
 SOURCES       += filter_photosynth.cpp \
Eric Smith ae955ef
-                 downloader.cpp \
Eric Smith ae955ef
-                 $$QTSOAPDIR/qtsoap.cpp
Eric Smith ae955ef
+                 downloader.cpp
Eric Smith ae955ef
 
Eric Smith ae955ef
 TARGET         = filter_photosynth
Eric Smith ae955ef
 
Eric Smith ae955ef
+linux-g++:LIBS += -lqtsoap
Eric Smith ae955ef
+
Eric Smith ae955ef
 QT += network
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro.sharedlib	2011-10-14 10:35:34.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/filter_qhull.pro	2013-02-26 09:43:25.580027223 -0700
Eric Smith ae955ef
@@ -8,28 +8,8 @@ HEADERS       += filter_qhull.h \
Eric Smith ae955ef
 SOURCES       += filter_qhull.cpp \ 
Eric Smith ae955ef
 		qhull_tools.cpp 
Eric Smith ae955ef
 
Eric Smith ae955ef
-HEADERS += 	../../external/qhull-2003.1/src/geom.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/io.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/mem.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/merge.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/poly.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/qhull.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/qset.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/stat.h \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/user.h 
Eric Smith ae955ef
+INCLUDEPATH += /usr/include/qhull
Eric Smith ae955ef
 
Eric Smith ae955ef
-SOURCES +=	../../external/qhull-2003.1/src/geom.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/geom2.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/global.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/io.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/mem.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/merge.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/poly.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/poly2.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/qconvex.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/qhull.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/qset.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/stat.c \
Eric Smith ae955ef
-		../../external/qhull-2003.1/src/user.c 
Eric Smith ae955ef
+LIBS += -lqhull
Eric Smith ae955ef
 
Eric Smith ae955ef
-TARGET        = filter_qhull
Eric Smith ae955ef
\ No newline at end of file
Eric Smith ae955ef
+TARGET        = filter_qhull
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h.sharedlib	2011-10-14 10:35:34.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/filter_qhull/qhull_tools.h	2013-02-26 09:43:25.581027223 -0700
Eric Smith ae955ef
@@ -55,14 +55,14 @@ extern "C"
Eric Smith ae955ef
 #endif
Eric Smith ae955ef
 #include <stdio.h>
Eric Smith ae955ef
 #include <stdlib.h>
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/qhull.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/mem.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/qset.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/geom.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/merge.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/poly.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/io.h"
Eric Smith ae955ef
-#include "../../external/qhull-2003.1/src/stat.h"
Eric Smith ae955ef
+#include <qhull/qhull.h>
Eric Smith ae955ef
+#include <qhull/mem.h>
Eric Smith ae955ef
+#include <qhull/qset.h>
Eric Smith ae955ef
+#include <qhull/geom.h>
Eric Smith ae955ef
+#include <qhull/merge.h>
Eric Smith ae955ef
+#include <qhull/poly.h>
Eric Smith ae955ef
+#include <qhull/io.h>
Eric Smith ae955ef
+#include <qhull/stat.h>
Eric Smith ae955ef
 #if defined(__cplusplus)
Eric Smith ae955ef
 }
Eric Smith ae955ef
 #endif
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro.sharedlib	2011-10-14 10:36:53.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabplugins/io_3ds/io_3ds.pro	2013-02-26 09:43:25.582027223 -0700
Eric Smith ae955ef
@@ -14,7 +14,7 @@ SOURCES       += 	meshio.cpp \
Eric Smith ae955ef
 
Eric Smith ae955ef
 TARGET        = io_3ds
Eric Smith ae955ef
 
Eric Smith ae955ef
-INCLUDEPATH += ../../external/lib3ds-1.3.0/
Eric Smith ae955ef
+INCLUDEPATH += /usr/include/lib3ds/
Eric Smith ae955ef
 
Eric Smith ae955ef
 # Notes on the paths of lib3ds files.
Eric Smith ae955ef
 # Once you have compiled the library put the lib files in a dir named lib/XXX/ 
Eric Smith ae955ef
@@ -25,9 +25,7 @@ win32-msvc.net:LIBS	+= ../../external/li
Eric Smith ae955ef
 win32-msvc2005:LIBS	+= ../../external/lib/win32-msvc2005/3ds.lib
Eric Smith ae955ef
 win32-msvc2008:LIBS	+= ../../external/lib/win32-msvc2008/3ds.lib
Eric Smith ae955ef
 win32-g++:LIBS		+= ../../external/lib/win32-gcc/lib3ds.a
Eric Smith ae955ef
-linux-g++:LIBS += ../../external/lib/linux-g++/lib3ds.a
Eric Smith ae955ef
-linux-g++-32:LIBS += ../../external/lib/linux-g++-32/lib3ds.a
Eric Smith ae955ef
-linux-g++-64:LIBS += ../../external/lib/linux-g++-64/lib3ds.a
Eric Smith ae955ef
+linux-g++:LIBS += -l3ds
Eric Smith ae955ef
 
Eric Smith ae955ef
 # unix:LIBS		+= -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds
Eric Smith ae955ef
 
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/meshlabserver/meshlabserver.pro.sharedlib meshlab-1.3.2/meshlab/src/meshlabserver/meshlabserver.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/meshlabserver/meshlabserver.pro.sharedlib	2011-10-14 10:34:48.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/meshlabserver/meshlabserver.pro	2013-02-26 09:43:25.583027223 -0700
Eric Smith ae955ef
@@ -1,5 +1,3 @@
Eric Smith ae955ef
-GLEWDIR = ../external/glew-1.5.1
Eric Smith ae955ef
-
Eric Smith ae955ef
 HEADERS        = 
Eric Smith ae955ef
 
Eric Smith ae955ef
 SOURCES        = mainserver.cpp
Eric Smith ae955ef
@@ -25,12 +23,8 @@ win32-msvc2005:  LIBS += -L../distrib -l
Eric Smith ae955ef
 win32-msvc2008:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
 win32-msvc2010:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
 win32-g++:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
-linux-g++:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
+linux-g++:  LIBS += -L../distrib -lcommon -lGLEW
Eric Smith ae955ef
 linux-g++:QMAKE_RPATHDIR += ../distrib
Eric Smith ae955ef
-linux-g++-32:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
-linux-g++-32:QMAKE_RPATHDIR += ../distrib
Eric Smith ae955ef
-linux-g++-64:  LIBS += -L../distrib -lcommon
Eric Smith ae955ef
-linux-g++-64:QMAKE_RPATHDIR += ../distrib
Eric Smith ae955ef
 #CONFIG (release,debug | release) {
Eric Smith ae955ef
 #	win32-msvc2005:release:  LIBS += -L../common/release -lcommon
Eric Smith ae955ef
 #	win32-msvc2008:release:  LIBS += -L../common/release -lcommon
Eric Smith ae955ef
@@ -43,7 +37,7 @@ win32-msvc2010:DEFINES += GLEW_STATIC
Eric Smith ae955ef
 
Eric Smith ae955ef
 #DEFINES += GLEW_STATIC
Eric Smith ae955ef
 
Eric Smith ae955ef
-INCLUDEPATH += . .. ../../../vcglib $$GLEWDIR/include
Eric Smith ae955ef
+INCLUDEPATH += . .. ../../../vcglib
Eric Smith ae955ef
 CONFIG += stl 
Eric Smith ae955ef
 CONFIG += console
Eric Smith ae955ef
 
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h.sharedlib meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h.sharedlib	2012-04-05 03:05:12.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/levmarmethods.h	2013-02-26 09:43:25.583027223 -0700
Eric Smith ae955ef
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <list>
Eric Smith ae955ef
 
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 
Eric Smith ae955ef
 struct LevmarCorrelation {
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/solver.h.sharedlib meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/solver.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/solver.h.sharedlib	2012-04-05 03:05:12.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_experimental/filter_mutualglobal/solver.h	2013-02-26 09:43:25.584027223 -0700
Eric Smith ae955ef
@@ -5,7 +5,7 @@
Eric Smith ae955ef
 #include "alignset.h"
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include "parameters.h"
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <iostream>
Eric Smith ae955ef
 #include <fstream>
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_curvature_from_sliding/curvature_from_sliding.h.sharedlib meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_curvature_from_sliding/curvature_from_sliding.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_curvature_from_sliding/curvature_from_sliding.h.sharedlib	2011-10-14 10:30:46.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_curvature_from_sliding/curvature_from_sliding.h	2013-02-26 09:43:25.585027223 -0700
Eric Smith ae955ef
@@ -30,7 +30,7 @@
Eric Smith ae955ef
 #include <vcg/complex/allocate.h>
Eric Smith ae955ef
 #include <vcg/complex/algorithms/subset.h>
Eric Smith ae955ef
 #include <vcg/space/index/grid_static_ptr.h>
Eric Smith ae955ef
-#include <lib/levmar/lm.h>
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include "frame.h"
Eric Smith ae955ef
 
Eric Smith ae955ef
@@ -313,4 +313,4 @@ static void eval_only_k( double *x,doubl
Eric Smith ae955ef
 
Eric Smith ae955ef
 };// end of class
Eric Smith ae955ef
 
Eric Smith ae955ef
-}// end of subspace
Eric Smith ae955ef
\ No newline at end of file
Eric Smith ae955ef
+}// end of subspace
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/levmarmethods.h.sharedlib meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/levmarmethods.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/levmarmethods.h.sharedlib	2012-06-27 03:34:59.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/levmarmethods.h	2013-02-26 09:43:25.620027222 -0700
Eric Smith ae955ef
@@ -12,7 +12,7 @@ sufficient to get a calibrated shot.
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <list>
Eric Smith ae955ef
 
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 
Eric Smith ae955ef
 struct LevmarCorrelation {
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/solver.h.sharedlib meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/solver.h
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/solver.h.sharedlib	2012-06-27 03:34:59.000000000 -0600
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_unsupported/filter_mutualinfo/solver.h	2013-02-26 09:43:25.621027222 -0700
Eric Smith ae955ef
@@ -5,7 +5,7 @@
Eric Smith ae955ef
 #include "alignset.h"
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include "parameters.h"
Eric Smith ae955ef
-#include "../../external/levmar-2.3/lm.h"
Eric Smith ae955ef
+#include <levmar.h>
Eric Smith ae955ef
 
Eric Smith ae955ef
 #include <iostream>
Eric Smith ae955ef
 #include <fstream>
Eric Smith ae955ef
diff -up meshlab-1.3.2/meshlab/src/plugins_unsupported/io_epoch/io_epoch.pro.sharedlib meshlab-1.3.2/meshlab/src/plugins_unsupported/io_epoch/io_epoch.pro
Eric Smith ae955ef
--- meshlab-1.3.2/meshlab/src/plugins_unsupported/io_epoch/io_epoch.pro.sharedlib	2013-02-26 10:07:51.957979230 -0700
Eric Smith ae955ef
+++ meshlab-1.3.2/meshlab/src/plugins_unsupported/io_epoch/io_epoch.pro	2013-02-26 10:08:26.850978087 -0700
Eric Smith ae955ef
@@ -30,16 +30,13 @@ QT           += xml
Eric Smith ae955ef
 win32-msvc2005:LIBS	   += ../../external/lib/win32-msvc2005/bz2.lib
Eric Smith ae955ef
 win32-msvc2008:LIBS	   += ../../external/lib/win32-msvc2008/bz2.lib
Eric Smith ae955ef
 win32-g++:LIBS	+= ../../external/lib/win32-gcc/libbz2.a
Eric Smith ae955ef
-linux-g++:LIBS	+= ../../external/lib/linux-g++/libbz2.a
Eric Smith ae955ef
-linux-g++-32:LIBS	+= ../../external/lib/linux-g++-32/libbz2.a
Eric Smith ae955ef
-linux-g++-64:LIBS	+= ../../external/lib/linux-g++-64/libbz2.a
Eric Smith ae955ef
+linux-g++:LIBS	+= -lbz2
Eric Smith ae955ef
+linux-g++-32:LIBS	+= -lbz2
Eric Smith ae955ef
+linux-g++-64:LIBS	+= -lbz2
Eric Smith ae955ef
 
Eric Smith ae955ef
 win32-msvc2005:INCLUDEPATH += ../../external/bzip2-1.0.5
Eric Smith ae955ef
 win32-msvc2008:INCLUDEPATH += ../../external/bzip2-1.0.5
Eric Smith ae955ef
 win32-g++:INCLUDEPATH  += ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++-32:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
-linux-g++-64:INCLUDEPATH	+= ../../external/bzip2-1.0.5
Eric Smith ae955ef
 
Eric Smith ae955ef
 mac:LIBS   += -lbz2
Eric Smith ae955ef