Hi Jan,

Thanks for the update. I started with a fresh clone (git clone --recursive https://www.graphics.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free.git), mkdir build, cd build, cmake .., make. At 93%, I get this output —

---

Scanning dependencies of target Plugin-TypePolyhedralMesh
[ 93%] Building CXX object PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/TypePolyhedralMesh.cc.o
In file included from /home/pieter/OpenFlipper-Free/libs_required/OpenVolumeMesh/src/OpenVolumeMesh/Attribs/StatusAttrib.hh:50:0,
                 from /home/pieter/OpenFlipper-Free/ObjectTypes/VolumeMeshObject/VolumeMeshNode.hh:61,
                 from /home/pieter/OpenFlipper-Free/ObjectTypes/VolumeMeshObject/VolumeMeshObject.hh:63,
                 from /home/pieter/OpenFlipper-Free/ObjectTypes/PolyhedralMesh/PolyhedralMesh.hh:64,
                 from /home/pieter/OpenFlipper-Free/PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/TypePolyhedralMesh.hh:55,
                 from /home/pieter/OpenFlipper-Free/PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/TypePolyhedralMesh.cc:50:
/home/pieter/OpenFlipper-Free/libs_required/OpenVolumeMesh/src/OpenVolumeMesh/Attribs/../Core/PropertyDefines.hh: In member function ‘const string OpenVolumeMesh::VertexPropertyT<T>::typeNameWrapper() const [with T = OpenMesh::VectorT<float, 2>]’:
/home/pieter/OpenFlipper-Free/libs_required/OpenVolumeMesh/src/OpenVolumeMesh/Attribs/../Core/PropertyDefines.hh:85:76: internal compiler error: in assign_temp, at function.c:961
     virtual const std::string typeNameWrapper() const { return typeName<T>(); }
                                                                            ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/build.make:66: recipe for target 'PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/TypePolyhedralMesh.cc.o' failed
make[2]: *** [PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/TypePolyhedralMesh.cc.o] Error 1
CMakeFiles/Makefile2:8258: recipe for target 'PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/all' failed
make[1]: *** [PluginCollection-TypePlugins/Plugin-TypePolyhedralMesh/CMakeFiles/Plugin-TypePolyhedralMesh.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

---

The error doesn't seem to be directly related to OpenFlipper though, as the error message mentions a compiler error. I'll look into this and get back you when I have an update.

Best,
Pieter

On 19 May 2016 at 08:15, Jan Möbius <moebius@cs.rwth-aachen.de> wrote:
Hi Pieter,

Sorry for the late reply. We are still working on 5.6. Currently the git
master contains several new patches to deal with this version. It
disables some libraries which are not required anymore via cmake. I'm
not sure if that fixes your Problem.

There are also still Problems on other platforms (VS2015 with internal
compiler errors,...) so still some work to do getting 5.6 completly
supported.

What you can also try, Open cmake and remove all qt related entries
except the QT5_INSTALL_PATH. Set the PATH to empty and rerun cmake.

Check if all variables are correct. You can also search in the
"CMakeCache.txt" file which contains all cached variables.

Best,
Jan


On 02.05.2016 17:37, Pieter Barendrecht wrote:
> Hi Jan,
>
> Thanks for your reply. I tried several paths for QT5_INSTALL_PATH, no
> luck so far. After I press configure, I don't see anything that mentions
> the Qt4 libraries, just entries like Qt5Svg_DIR which are set to e.g.
> /usr/lib64/cmake/Qt5Svg (/usr/lib64 is a symlink to /lib which in turn
> is a symlink to /usr/lib). However, for some reason a couple of Qt4
> libraries are still being used —
>
> ldd ./OpenFlipper | grep -i "Qt"
>     libQt5Declarative.so.5 => /usr/lib/libQt5Declarative.so.5
> (0x00007f5f849f9000)
>     libQt5OpenGL.so.5 => /usr/lib/libQt5OpenGL.so.5 (0x00007f5f847a1000)
>     libQt5Script.so.5 => /usr/lib/libQt5Script.so.5 (0x00007f5f84310000)
>     libQt5ScriptTools.so.5 => /usr/lib/libQt5ScriptTools.so.5
> (0x00007f5f8403d000)
>     libQt5Sql.so.5 => /usr/lib/libQt5Sql.so.5 (0x00007f5f83df6000)
>     libQt5Xml.so.5 => /usr/lib/libQt5Xml.so.5 (0x00007f5f83bbb000)
>     libQt5XmlPatterns.so.5 => /usr/lib/libQt5XmlPatterns.so.5
> (0x00007f5f835d1000)
>     libQt5Help.so.5 => /usr/lib/libQt5Help.so.5 (0x00007f5f83335000)
>     libQt5WebKit.so.5 => /usr/lib/libQt5WebKit.so.5 (0x00007f5f80ca2000)
>     libQt5Network.so.5 => /usr/lib/libQt5Network.so.5 (0x00007f5f80936000)
>     libQt5PrintSupport.so.5 => /usr/lib/libQt5PrintSupport.so.5
> (0x00007f5f806c5000)
>     libQt5Widgets.so.5 => /usr/lib/libQt5Widgets.so.5 (0x00007f5f7fe4b000)
>     libQt5X11Extras.so.5 => /usr/lib/libQt5X11Extras.so.5
> (0x00007f5f7fc47000)
>     libQt5Gui.so.5 => /usr/lib/libQt5Gui.so.5 (0x00007f5f7f4c4000)
>     libQt5Core.so.5 => /usr/lib/libQt5Core.so.5 (0x00007f5f7edfa000)
>
>     libQtSvg.so.4 => /usr/lib/libQtSvg.so.4 (0x00007f5f7c167000)
>     libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0x00007f5f7b42e000)
>     libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f5f7af26000)
>
>     libQt5CLucene.so.5 => /usr/lib/libQt5CLucene.so.5 (0x00007f5f7ac2c000)
>     libQt5Sensors.so.5 => /usr/lib/libQt5Sensors.so.5 (0x00007f5f775eb000)
>     libQt5Positioning.so.5 => /usr/lib/libQt5Positioning.so.5
> (0x00007f5f773ab000)
>     libQt5Quick.so.5 => /usr/lib/libQt5Quick.so.5 (0x00007f5f76dc3000)
>     libQt5Qml.so.5 => /usr/lib/libQt5Qml.so.5 (0x00007f5f767d2000)
>     libQt5WebChannel.so.5 => /usr/lib/libQt5WebChannel.so.5
> (0x00007f5f765b5000)
>
> Note that /usr/lib also contains the Qt5 versions of those libraries
> (libQt5Svg, libQt5Gui and libQt5Core). Any ideas? I'm probably
> overlooking something — I don't have a lot of experience manually
> changing cmake settings.
>
> Best,
> Pieter
>
>
> On 2 May 2016 at 14:01, Jan Möbius <moebius@cs.rwth-aachen.de
> <mailto:moebius@cs.rwth-aachen.de>> wrote:
>
>     Hi,
>
>     your backtrace states that you are linking against Qt 4 or a mixture of
>     4/5. Please do the following steps:
>
>     Open cmake
>     Set QT5_INSTALL_PATH to your Qt installation dir( e.g.
>     .../Qt-5.5.1/5.5/gcc_64 )
>     Select all other Qt related entries in cmake and remove them.
>     configure
>     generate.
>
>     You should not see any other qt4 related entries after this. Then
>     rebuild.
>
>
>
>
> _______________________________________________
> Openflipper mailing list
> Openflipper@lists.rwth-aachen.de
> http://mailman.rwth-aachen.de/mailman/listinfo/openflipper
>


--
Dipl.Inform. Jan Möbius
Department of Computer Science VIII
Aachen University of Technology (RWTH)
Ahornstrasse 55, 52074 Aachen, Germany

Phone   ++49 (0)241 80-21802
Fax     ++49 (0)241 80-22899
mailto:moebius@cs.rwth-aachen.de
http://www.rwth-graphics.de
_______________________________________________
Openflipper mailing list
Openflipper@lists.rwth-aachen.de
http://mailman.rwth-aachen.de/mailman/listinfo/openflipper