Re: [Yade-users] [Question #680867]: libQGLViewer problems while running yade
Question #680867 on Yade changed: https://answers.launchpad.net/yade/+question/680867 Anton Vereshchagin posted a new comment: It seems that there are two versions of metis library in Gentoo both are 4.0.3 $ qsearch -v metis sci-libs/metis A package for unstructured serial graph partitioning sci-libs/parmetis Parallel (MPI) unstructured graph partitioning library I installed the latter and now it compiles sweetly :) -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #680867]: libQGLViewer problems while running yade
Question #680867 on Yade changed: https://answers.launchpad.net/yade/+question/680867 Anton Vereshchagin posted a new comment: Also I didn't find any of these constants definitions in all metis header files. > #include > #include > #include > #include #include -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #680867]: libQGLViewer problems while running yade
Question #680867 on Yade changed: https://answers.launchpad.net/yade/+question/680867 Anton Vereshchagin posted a new comment: $ cat /usr/include/metis/metis.h /* * Copyright 1997, Regents of the University of Minnesota * * metis.h * * This file includes all necessary header files * * Started 8/27/94 * George * * $Id: metis.h,v 1.1 1998/11/27 17:59:21 karypis Exp $ */ #include #ifdef __STDC__ #include #else #include #endif #include #include #include #include #include #include #ifdef DMALLOC #include #endif #include #include #include #include #include -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
Re: [Yade-users] [Question #680867]: libQGLViewer problems while running yade
Question #680867 on Yade changed: https://answers.launchpad.net/yade/+question/680867 Anton Vereshchagin posted a new comment: I pulled the latest version. Some things changed in configuration of CMake. 1) On my system I have python versions 2.7, 3.6 and 3.7. But mostly for the system I use 3.6. Cmake searches for all versions and chooses 3.7. So I had to modify a little CMakeLists.txt for a proper python version 3.6 2) The compilation stops with error for all constants METIS_VER_MAJOR, METIS_VER_MINOR, METIS_VER_SUBMINOR like In function «boost::python::list metisVer()»: trunk/py/_libVersions.cpp:206:31: error: no declaration «METIS_VER_MAJOR» ret.append( py::make_tuple( METIS_VER_MAJOR , METIS_VER_MINOR , METIS_VER_SUBMINOR)); ^~~ So I cannot continue. 3) Concerning libQGLViewer i will try to recompile Qt library maybe it'll change anything By the way, thank you for a good piece of software. -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
[Yade-users] [Question #680867]: libQGLViewer problems while running yade
New question #680867 on Yade: https://answers.launchpad.net/yade/+question/680867 I'm trying to compile Yade on Gentoo but faced the same bug described by Gary in https://answers.launchpad.net/yade/+question/661824 (answer #6) > running the GUI will result in a Segmentation Fault after throwing the > following error "The constructor with a shareWidget is > deprecated, use the regular contructor instead." So I'm able to run scripts but I've got segfault when trying to call qt.View() like described above. I'm building Yade against libQGLViewer-2.7.1. Since prior versions to 2.7.0 of libQGLViewer are built against Qt4 so it's not an option for me. Was this issue solved or may be there is a solution? -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp