[Yade-users] [Question #509268]: Error in installation from source code
New question #509268 on Yade: https://answers.launchpad.net/yade/+question/509268 Dear Yade users, I'm trying to install Yade in Ubuntu from source code. I followed the instruction from http://yade-dem.org/doc/installation.html but get stuck with the following step: When i copy this command to the terminal: sudo apt-get install cmake git freeglut3-dev libloki-dev \ libboost-all-dev fakeroot dpkg-dev build-essential g++ \ python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \ libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \ python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \ libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \ libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen The error is: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-pyqt5 E: Unable to locate package python-pyqt5.qtwebkit E: Couldn't find any package by regex 'python-pyqt5.qtwebkit' --- When i continued with the CMAKE: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-pyqt5 E: Unable to locate package python-pyqt5.qtwebkit E: Couldn't find any package by regex 'python-pyqt5.qtwebkit' I got anther error: Version is set to Unknown -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) -- Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message): Unable to find the requested Boost libraries. Boost version: 1.54.0 Boost include path: /usr/include Could not find the following Boost libraries: boost_python boost_filesystem boost_iostreams boost_regex Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:92 (FIND_PACKAGE) -- Boost_VERSION: 105400 -- Boost_LIB_VERSION: 1_54 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:105 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/home/tatthann/CMakeFiles/CMakeOutput.log". See also "/home/tatthann/CMakeFiles/CMakeError.log". --- Could you pls show me how to solve the problem. and what's step may I make the mistake? Thank you so much! Thang 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 #509268]: Error in installation from source code
Question #509268 on Yade changed: https://answers.launchpad.net/yade/+question/509268 Description changed to: Dear Yade users, I'm trying to install Yade in Ubuntu from source code. I followed the instruction from http://yade-dem.org/doc/installation.html but get stuck with the following step: When i copy this command to the terminal: sudo apt-get install cmake git freeglut3-dev libloki-dev \ libboost-all-dev fakeroot dpkg-dev build-essential g++ \ python-dev ipython python-matplotlib libsqlite3-dev python-numpy python-tk gnuplot \ libgts-dev python-pygraphviz libvtk6-dev python-numpy libeigen3-dev \ python-xlib python-pyqt5 pyqt5-dev-tools python-pyqt5.qtwebkit gtk2-engines-pixbuf python-argparse \ libqglviewer-dev python-imaging libjs-jquery python-sphinx python-git python-bibtex \ libxmu-dev libxi-dev libcgal-dev help2man libbz2-dev zlib1g-dev python-minieigen The error is: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python-pyqt5 E: Unable to locate package python-pyqt5.qtwebkit E: Couldn't find any package by regex 'python-pyqt5.qtwebkit' --- When i continued with the CMAKE: cmake -DCMAKE_INSTALL_PREFIX=/home/tatthann/myYade/install /home/tatthann/myYade/trunk I got another error: Version is set to Unknown -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- Could NOT find GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) -- Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1131 (message): Unable to find the requested Boost libraries. Boost version: 1.54.0 Boost include path: /usr/include Could not find the following Boost libraries: boost_python boost_filesystem boost_iostreams boost_regex Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. Call Stack (most recent call first): CMakeLists.txt:92 (FIND_PACKAGE) -- Boost_VERSION: 105400 -- Boost_LIB_VERSION: 1_54 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find Loki (missing: LOKI_INCLUDE_DIR LOKI_LIBRARY) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cMake/FindLoki.cmake:14 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:105 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/home/tatthann/CMakeFiles/CMakeOutput.log". See also "/home/tatthann/CMakeFiles/CMakeError.log". --- Could you pls show me how to solve the problem. and what's step may I make the mistake? Thank you so much! Mike 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 #509268]: Error in installation from source code
Question #509268 on Yade changed: https://answers.launchpad.net/yade/+question/509268 Mike gave more information on the question: after I fixed some missing packages, it still got the error: -- Version is set to Unknown -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps -- Boost version: 1.54.0 -- Found the following Boost libraries: -- python -- thread -- filesystem -- iostreams -- regex -- serialization -- system -- date_time -- Boost_VERSION: 105400 -- Boost_LIB_VERSION: 1_54 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so/usr/lib/x86_64-linux-gnu/libboost_thread.so/usr/lib/x86_64-linux-gnu/libboost_filesystem.so/usr/lib/x86_64-linux-gnu/libboost_iostreams.so/usr/lib/x86_64-linux-gnu/libboost_regex.so/usr/lib/x86_64-linux-gnu/libboost_serialization.so/usr/lib/x86_64-linux-gnu/libboost_system.so/usr/lib/x86_64-linux-gnu/libboost_date_time.so/usr/lib/x86_64-linux-gnu/libpthread.so CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-2.8/Modules/FindBZip2.cmake:47 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:109 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/home/tatthann/CMakeFiles/CMakeOutput.log". See also "/home/tatthann/CMakeFiles/CMakeError.log". -- although i had installed the BZips 2. I dont know which package should i include in Ubuntu also (14.04) 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 #509268]: Error in installation from source code
Question #509268 on Yade changed: https://answers.launchpad.net/yade/+question/509268 Mike gave more information on the question: -- Version is set to Unknown -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- GCC Version >= 4.8. Adding -ftrack-macro-expansion=0 and -save-temps -- Boost version: 1.54.0 -- Found the following Boost libraries: -- python -- thread -- filesystem -- iostreams -- regex -- serialization -- system -- date_time -- Boost_VERSION: 105400 -- Boost_LIB_VERSION: 1_54 -- Boost_INCLUDE_DIRS: /usr/include -- Boost_LIBRARIES: /usr/lib/x86_64-linux-gnu/libboost_python.so/usr/lib/x86_64-linux-gnu/libboost_thread.so/usr/lib/x86_64-linux-gnu/libboost_filesystem.so/usr/lib/x86_64-linux-gnu/libboost_iostreams.so/usr/lib/x86_64-linux-gnu/libboost_regex.so/usr/lib/x86_64-linux-gnu/libboost_serialization.so/usr/lib/x86_64-linux-gnu/libboost_system.so/usr/lib/x86_64-linux-gnu/libboost_date_time.so/usr/lib/x86_64-linux-gnu/libpthread.so -- Found Eigen3, version: 3.2.1 -- Disable vectorization -- VTK not found. Set the VTK_DIR cmake cache entry to the directory containing VTKConfig.cmake. This is either the root of the build tree, or PREFIX/lib/vtk for an installation. For VTK 4.0, this is the location of UseVTK.cmake. This is either the root of the build tree or PREFIX/include/vtk for an installation. -- VTK NOT found -- Found OpenMP -- GTS using gts-config /usr/bin/gts-config -- Using GTS from /usr -- checking for one of the modules 'glib-2.0' -- GTS NOT found -- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR) -- checking for one of the modules 'glib-2.0' -- GUI-Qt5-LIBS NOT found -- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so -- Found GMP: /usr/include/x86_64-linux-gnu -- GMP libs: /usr/lib/x86_64-linux-gnu/libgmp.so /usr/lib/x86_64-linux-gnu/libgmpxx.so -- Found CGAL -- Could NOT find Cholmod (missing: CHOLMOD_LIBRARIES CHOLMOD_INCLUDE_DIR AMD_LIBRARY CAMD_LIBRARY COLAMD_LIBRARY CCOLAMD_LIBRARY) -- Found OpenBlas: /usr/lib/libopenblas.so -- Could NOT find Metis (missing: METIS_INCLUDE_DIR METIS_LIBRARY) -- Missing dependency for LINSOLV, disabled -- Found GL2PS LBMFLOW is still experimental, building and running LBM engine are at your own risk! Yade will be installed to /home/tatthann/myYade/install -- Suffix is set to -Unknown -- LIBRARY_OUTPUT_PATH is set to lib/x86_64-linux-gnu -- runtimePREFIX is set to /home/tatthann/myYade/install -- Found minieigen: /usr/lib/python2.7/dist-packages/minieigen.so -- Found Tkinter: /usr/lib/python2.7/lib-tk/Tkinter.pyc -- === -- Yade configured with following features: Odeint OpenMP CGAL PFVFLOW GL2PS LBMFLOW -- Disabled features: VTK GTS GUI-Qt5 LINSOLV SPH LIQMIGRATION MASK_ARBITRARY PROFILING PotentialParticles PotentialBlocks -- Optimized build -- === -- Configuring done -- Generating done -- Build files have been written to: /home/tatthann 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 #497350]: Export a polyhedron into a *.stl or * .gts file
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Status: Answered => Open Tina Asia is still having a problem: Thanks Jan, My goal is to fill this polyhedron with some sub-particles, export *.stl may be an unwise decision. Is there any better method to finish this task?? Tina, NTU -- 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