how to cmake to configure the compilation

Asked by Ray Mong

1, I have installed GIT firstly using 'sudo apt-get install git'
2, I have downloaded the trunk source via https without a GitHub account
3, I have copied and pasted the corresponding commands to the terminal on my ubuntu 13.04 and executed them.
4, it should cmake to configure the compilation process. And I creates a new folder '/home/minghuajun/Codes/YadeCodes' as the build-directory, and used the command 'cmake -DINSTALL_PREFIX=/home/minghuajun/Codes/YadeCodes', there is the error:

minghuajun@minghuajun-Vostro-3400:~$ cmake -DINSTALL_PREFIX=/home/minghuajun/Codes/YadeCodes
CMake Error: The source directory "/home/minghuajun" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

And I copied the CMakeLIsts.txt from the directory of /home/minghuajun/trunk/ to /home/minghuajun/, now Configuring incomplete, errors occurred.
The corresponding information show below.

-- The imported target "vtkCommonJava" references the file
   "/usr/lib/jni/libvtkCommonJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkFilteringTCL" references the file
   "/usr/lib/libvtkFilteringTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkFilteringPythonD" references the file
   "/usr/lib/libvtkFilteringPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkFilteringJava" references the file
   "/usr/lib/jni/libvtkFilteringJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkImagingTCL" references the file
   "/usr/lib/libvtkImagingTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkImagingPythonD" references the file
   "/usr/lib/libvtkImagingPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkImagingJava" references the file
   "/usr/lib/jni/libvtkImagingJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGraphicsTCL" references the file
   "/usr/lib/libvtkGraphicsTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGraphicsPythonD" references the file
   "/usr/lib/libvtkGraphicsPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGraphicsJava" references the file
   "/usr/lib/jni/libvtkGraphicsJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGenericFilteringTCL" references the file
   "/usr/lib/libvtkGenericFilteringTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGenericFilteringPythonD" references the file
   "/usr/lib/libvtkGenericFilteringPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGenericFilteringJava" references the file
   "/usr/lib/jni/libvtkGenericFilteringJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkIOTCL" references the file
   "/usr/lib/libvtkIOTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkIOPythonD" references the file
   "/usr/lib/libvtkIOPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkIOJava" references the file
   "/usr/lib/jni/libvtkIOJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkRenderingTCL" references the file
   "/usr/lib/libvtkRenderingTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkRenderingPythonD" references the file
   "/usr/lib/libvtkRenderingPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkRenderingJava" references the file
   "/usr/lib/jni/libvtkRenderingJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/libvtkRenderingPythonTkWidgets.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkVolumeRenderingTCL" references the file
   "/usr/lib/libvtkVolumeRenderingTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkVolumeRenderingPythonD" references the file
   "/usr/lib/libvtkVolumeRenderingPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkVolumeRenderingJava" references the file
   "/usr/lib/jni/libvtkVolumeRenderingJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkHybridTCL" references the file
   "/usr/lib/libvtkHybridTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkHybridPythonD" references the file
   "/usr/lib/libvtkHybridPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkHybridJava" references the file
   "/usr/lib/jni/libvtkHybridJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkWidgetsTCL" references the file
   "/usr/lib/libvtkWidgetsTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkWidgetsPythonD" references the file
   "/usr/lib/libvtkWidgetsPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkWidgetsJava" references the file
   "/usr/lib/jni/libvtkWidgetsJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkParallelTCL" references the file
   "/usr/lib/libvtkParallelTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkParallelPythonD" references the file
   "/usr/lib/libvtkParallelPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkParallelJava" references the file
   "/usr/lib/jni/libvtkParallelJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkInfovisTCL" references the file
   "/usr/lib/libvtkInfovisTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkInfovisPythonD" references the file
   "/usr/lib/libvtkInfovisPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkInfovisJava" references the file
   "/usr/lib/jni/libvtkInfovisJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGeovisTCL" references the file
   "/usr/lib/libvtkGeovisTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGeovisPythonD" references the file
   "/usr/lib/libvtkGeovisPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkGeovisJava" references the file
   "/usr/lib/jni/libvtkGeovisJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkViewsTCL" references the file
   "/usr/lib/libvtkViewsTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkViewsPythonD" references the file
   "/usr/lib/libvtkViewsPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkViewsJava" references the file
   "/usr/lib/jni/libvtkViewsJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkQtChart" references the file
   "/usr/lib/libvtkQtChart.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "QVTK" references the file
   "/usr/lib/libQVTK.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkChartsTCL" references the file
   "/usr/lib/libvtkChartsTCL.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkChartsPythonD" references the file
   "/usr/lib/libvtkChartsPythonD.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkChartsJava" references the file
   "/usr/lib/jni/libvtkChartsJava.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "pvtk" references the file
   "/usr/bin/pvtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

-- The imported target "vtkPythonCore" references the file
   "/usr/lib/libvtkPythonCore.so.5.8.0"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
but not all the files it references.

CMake Error at CMakeLists.txt:30 (INCLUDE):
  include could not find load file:

    GetVersion

CMake Error at CMakeLists.txt:32 (INCLUDE):
  include could not find load file:

    FindGTS

CMake Error at CMakeLists.txt:33 (INCLUDE):
  include could not find load file:

    FindGL2PS

CMake Error at CMakeLists.txt:35 (INCLUDE):
  include could not find load file:

    FindNumPy

CMake Error at CMakeLists.txt:36 (INCLUDE):
  include could not find load file:

    FindLoki

CMake Error at CMakeLists.txt:37 (INCLUDE):
  include could not find load file:

    FindPythonModule

-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- python
-- thread
-- date_time
-- filesystem
-- iostreams
-- regex
-- serialization
-- Boost_VERSION: 104900
-- Boost_LIB_VERSION: 1_49
-- Boost_INCLUDE_DIRS: /usr/include
-- Boost_LIBRARIES: /usr/lib/libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
CMake Error at CMakeLists.txt:73 (FIND_PACKAGE):
  By not providing "FindNumPy.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "NumPy", but
  CMake did not find one.

  Could not find a package configuration file provided by "NumPy" with any of
  the following names:

    NumPyConfig.cmake
    numpy-config.cmake

  Add the installation prefix of "NumPy" to CMAKE_PREFIX_PATH or set
  "NumPy_DIR" to a directory containing one of the above files. If "NumPy"
  provides a separate development package or SDK, be sure it has been
  installed.

-- Configuring incomplete, errors occurred!

What is the problem? And how to configure the compilation!
Thank you very much.

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hello,

according to your description, right command to run is (see [1]):

cd /home/minghuajun/Codes/YadeCodes
cmake -DINSTALL_PREFIX=/home/minghuajun/ /home/minghuajun/trunk

now the explanation:

cd /home/minghuajun/Codes/YadeCodes
path where you want yade to be compiled ("separate build-place-folder" in
[1])

-DINSTALL_PREFIX=/home/minghuajun/
path where yade will be installed (e.g. yade executable will be copied
to INSTALL_PREFIX/bin). Preferably it is $HOME directory (/home/minghuajun
in your case)

/home/minghuajun/trunk
path where yade source is (where you downloaded it by git).

Now just some my remarks, that are not so important. To make it more
understandable, you can rename this "trunk" directory to e.g. "yade-source"
or move "trunk" to YadeCodes.

Even less important: I would delete YadeCodes and trunk and run following
commands (after # are just my comments):

cd ~/Codes
mkdir YadeCodes # created directory for Yade
cd YadeCodes
git clone https://github.com/yade/trunk.git trunk # create trunk directory
and download yade source code to it
mkdir build # creates directory for compliation
cd build # go to compilation directory
cmake -DINSTALL_PREFIX=/home/minghuajun/ ../trunk # see remarks above or [1]
make
make install

I hope it helps at least a bit. I know the fisrt time compilations are
really tough, so if you had any questions or uncertainties, do not hesitate
to ask here :-)
Jan

[1] https://yade-dem.org/doc/installation.html

2013/5/8 Ray Mong <email address hidden>

> New question #228440 on Yade:
> https://answers.launchpad.net/yade/+question/228440
>
> 1, I have installed GIT firstly using 'sudo apt-get install git'
> 2, I have downloaded the trunk source via https without a GitHub account
> 3, I have copied and pasted the corresponding commands to the terminal on
> my ubuntu 13.04 and executed them.
> 4, it should cmake to configure the compilation process. And I creates a
> new folder '/home/minghuajun/Codes/YadeCodes' as the build-directory, and
> used the command 'cmake -DINSTALL_PREFIX=/home/minghuajun/Codes/YadeCodes',
> there is the error:
>
> minghuajun@minghuajun-Vostro-3400:~$ cmake
> -DINSTALL_PREFIX=/home/minghuajun/Codes/YadeCodes
> CMake Error: The source directory "/home/minghuajun" does not appear to
> contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.
>
> And I copied the CMakeLIsts.txt from the directory of
> /home/minghuajun/trunk/ to /home/minghuajun/, now Configuring incomplete,
> errors occurred.
> The corresponding information show below.
>
> -- The imported target "vtkCommonJava" references the file
> "/usr/lib/jni/libvtkCommonJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkFilteringTCL" references the file
> "/usr/lib/libvtkFilteringTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkFilteringPythonD" references the file
> "/usr/lib/libvtkFilteringPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkFilteringJava" references the file
> "/usr/lib/jni/libvtkFilteringJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkImagingTCL" references the file
> "/usr/lib/libvtkImagingTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkImagingPythonD" references the file
> "/usr/lib/libvtkImagingPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkImagingJava" references the file
> "/usr/lib/jni/libvtkImagingJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGraphicsTCL" references the file
> "/usr/lib/libvtkGraphicsTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGraphicsPythonD" references the file
> "/usr/lib/libvtkGraphicsPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGraphicsJava" references the file
> "/usr/lib/jni/libvtkGraphicsJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGenericFilteringTCL" references the file
> "/usr/lib/libvtkGenericFilteringTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGenericFilteringPythonD" references the file
> "/usr/lib/libvtkGenericFilteringPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGenericFilteringJava" references the file
> "/usr/lib/jni/libvtkGenericFilteringJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkIOTCL" references the file
> "/usr/lib/libvtkIOTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkIOPythonD" references the file
> "/usr/lib/libvtkIOPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkIOJava" references the file
> "/usr/lib/jni/libvtkIOJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkRenderingTCL" references the file
> "/usr/lib/libvtkRenderingTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkRenderingPythonD" references the file
> "/usr/lib/libvtkRenderingPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkRenderingJava" references the file
> "/usr/lib/jni/libvtkRenderingJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkRenderingPythonTkWidgets" references the file
> "/usr/lib/libvtkRenderingPythonTkWidgets.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkVolumeRenderingTCL" references the file
> "/usr/lib/libvtkVolumeRenderingTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkVolumeRenderingPythonD" references the file
> "/usr/lib/libvtkVolumeRenderingPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkVolumeRenderingJava" references the file
> "/usr/lib/jni/libvtkVolumeRenderingJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkHybridTCL" references the file
> "/usr/lib/libvtkHybridTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkHybridPythonD" references the file
> "/usr/lib/libvtkHybridPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkHybridJava" references the file
> "/usr/lib/jni/libvtkHybridJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkWidgetsTCL" references the file
> "/usr/lib/libvtkWidgetsTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkWidgetsPythonD" references the file
> "/usr/lib/libvtkWidgetsPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkWidgetsJava" references the file
> "/usr/lib/jni/libvtkWidgetsJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkParallelTCL" references the file
> "/usr/lib/libvtkParallelTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkParallelPythonD" references the file
> "/usr/lib/libvtkParallelPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkParallelJava" references the file
> "/usr/lib/jni/libvtkParallelJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkInfovisTCL" references the file
> "/usr/lib/libvtkInfovisTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkInfovisPythonD" references the file
> "/usr/lib/libvtkInfovisPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkInfovisJava" references the file
> "/usr/lib/jni/libvtkInfovisJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGeovisTCL" references the file
> "/usr/lib/libvtkGeovisTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGeovisPythonD" references the file
> "/usr/lib/libvtkGeovisPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkGeovisJava" references the file
> "/usr/lib/jni/libvtkGeovisJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkViewsTCL" references the file
> "/usr/lib/libvtkViewsTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkViewsPythonD" references the file
> "/usr/lib/libvtkViewsPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkViewsJava" references the file
> "/usr/lib/jni/libvtkViewsJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkQtChart" references the file
> "/usr/lib/libvtkQtChart.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "QVTK" references the file
> "/usr/lib/libQVTK.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkChartsTCL" references the file
> "/usr/lib/libvtkChartsTCL.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkChartsPythonD" references the file
> "/usr/lib/libvtkChartsPythonD.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkChartsJava" references the file
> "/usr/lib/jni/libvtkChartsJava.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtk" references the file
> "/usr/bin/vtk"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "pvtk" references the file
> "/usr/bin/pvtk"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> -- The imported target "vtkPythonCore" references the file
> "/usr/lib/libvtkPythonCore.so.5.8.0"
> but this file does not exist. Possible reasons include:
> * The file was deleted, renamed, or moved to another location.
> * An install or uninstall procedure did not complete successfully.
> * The installation package was faulty and contained
> "/usr/lib/vtk-5.8/VTKTargets-release.cmake"
> but not all the files it references.
>
> CMake Error at CMakeLists.txt:30 (INCLUDE):
> include could not find load file:
>
> GetVersion
>
>
> CMake Error at CMakeLists.txt:32 (INCLUDE):
> include could not find load file:
>
> FindGTS
>
>
> CMake Error at CMakeLists.txt:33 (INCLUDE):
> include could not find load file:
>
> FindGL2PS
>
>
> CMake Error at CMakeLists.txt:35 (INCLUDE):
> include could not find load file:
>
> FindNumPy
>
>
> CMake Error at CMakeLists.txt:36 (INCLUDE):
> include could not find load file:
>
> FindLoki
>
>
> CMake Error at CMakeLists.txt:37 (INCLUDE):
> include could not find load file:
>
> FindPythonModule
>
>
> -- Boost version: 1.49.0
> -- Found the following Boost libraries:
> -- python
> -- thread
> -- date_time
> -- filesystem
> -- iostreams
> -- regex
> -- serialization
> -- Boost_VERSION: 104900
> -- Boost_LIB_VERSION: 1_49
> -- Boost_INCLUDE_DIRS: /usr/include
> -- Boost_LIBRARIES: /usr/lib/
> libboost_python.so/usr/lib/libboost_thread-mt.sopthread/usr/lib/libboost_date_time-mt.so/usr/lib/libboost_filesystem-mt.so/usr/lib/libboost_iostreams-mt.so/usr/lib/libboost_regex-mt.so/usr/lib/libboost_serialization-mt.so
> CMake Error at CMakeLists.txt:73 (FIND_PACKAGE):
> By not providing "FindNumPy.cmake" in CMAKE_MODULE_PATH this project has
> asked CMake to find a package configuration file provided by "NumPy", but
> CMake did not find one.
>
> Could not find a package configuration file provided by "NumPy" with any
> of
> the following names:
>
> NumPyConfig.cmake
> numpy-config.cmake
>
> Add the installation prefix of "NumPy" to CMAKE_PREFIX_PATH or set
> "NumPy_DIR" to a directory containing one of the above files. If "NumPy"
> provides a separate development package or SDK, be sure it has been
> installed.
>
>
> -- Configuring incomplete, errors occurred!
>
> What is the problem? And how to configure the compilation!
> Thank you very much.
>
>
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Anton Gladky (gladky-anton) said :
#2

Hi,

just some notes to Jan's answer. You should have 3 folders:
1) yade source (trunk)
2) build-dir
3) install-dir

then:

cd build-dir
cmake -DINSTALL_PREFIX=install_dir source-dir
make
make install

Anton

Revision history for this message
Jan Stránský (honzik) said :
#3

Alternatively, if you do not want / need to modify the source code and use
Ubuntu or Debian Linux distribution, you can just use yade packages [1]
(without the need of compilation).
cheers
Jan

[1] https://yade-dem.org/doc/installation.html#packages

2013/5/8 Anton Gladky <email address hidden>

> Question #228440 on Yade changed:
> https://answers.launchpad.net/yade/+question/228440
>
> Anton Gladky proposed the following answer:
> Hi,
>
> just some notes to Jan's answer. You should have 3 folders:
> 1) yade source (trunk)
> 2) build-dir
> 3) install-dir
>
> then:
>
> cd build-dir
> cmake -DINSTALL_PREFIX=install_dir source-dir
> make
> make install
>
>
> Anton
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Anton Gladky (gladky-anton) said :
#4

Actually, newly released Debian Wheezy contains Yade 0.80.1
in the main archive.

So, just "sudo apt-get install yade" and enjoy.

Best regards,

Anton

2013/5/8 Jan Stránský <email address hidden>

> Question #228440 on Yade changed:
> https://answers.launchpad.net/yade/+question/228440
>
> Jan Stránský proposed the following answer:
> Alternatively, if you do not want / need to modify the source code and use
> Ubuntu or Debian Linux distribution, you can just use yade packages [1]
> (without the need of compilation).
> cheers
> Jan
>
> [1] https://yade-dem.org/doc/installation.html#packages
>
>
> 2013/5/8 Anton Gladky <email address hidden>
>
> > Question #228440 on Yade changed:
> > https://answers.launchpad.net/yade/+question/228440
> >
> > Anton Gladky proposed the following answer:
> > Hi,
> >
> > just some notes to Jan's answer. You should have 3 folders:
> > 1) yade source (trunk)
> > 2) build-dir
> > 3) install-dir
> >
> > then:
> >
> > cd build-dir
> > cmake -DINSTALL_PREFIX=install_dir source-dir
> > make
> > make install
> >
> >
> > Anton
> >
> > --
> > You received this question notification because you are a member of
> > yade-users, which is an answer contact for Yade.
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~yade-users
> > Post to : <email address hidden>
> > Unsubscribe : https://launchpad.net/~yade-users
> > More help : https://help.launchpad.net/ListHelp
> >
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Ray Mong (huajun-ming) said :
#5

Thank Jan and Anton.
Now intalled it completely.
But I can not find the executable file of Yade in all folders. Because it should add the executable file to environment variable which PATH defined.
There are two files 'yade-2013-05-07.git-a97ffe9' and 'yade-2013-05-07.git-a97ffe9-batch' in the directory ~/bin.

What's the problem? How to execute Yade?
Thank you very much.

Ray

Revision history for this message
Best Jan Stránský (honzik) said :
#6

Hello Ray,

> But I can not find the executable file of Yade in all folders. Because it
should add the executable file to environment variable which PATH defined.
> There are two files 'yade-2013-05-07.git-a97ffe9' and
'yade-2013-05-07.git-a97ffe9-batch' in the directory ~/bin.

Just open terminal (command line) and type

yade-2013-05-07.git-a97ffe9

Plus enter :-) yade-2013-05-07.git-a97ffe9 is actually Yade executable. To
have not so strange name, you can specify -DSUFFIX=-something in cmake
command [1] to have executable named yade-something (replace "something" to
whatever you want).
Cheers
Jan

[1] https://yade-dem.org/doc/installation.html#compilation

Revision history for this message
Ray Mong (huajun-ming) said :
#7

Thanks Jan Stránský, that solved my question.