← Back to team overview

yade-users team mailing list archive

[Question #169024]: Compilation with gts and vtk at RedHat

 

New question #169024 on Yade:
https://answers.launchpad.net/yade/+question/169024

Hello, I am trying to compile yade on cluster, where os RedHat is. If I compile with only gts or only vtk feature, there is no problem. But if I compile with both features, following error occure:

scons: Reading SConscript files ...
@@@ Using profile default (scons.profile-default) @@@
Eigen 2 math library will be used
Yade version is `trunk' (bzr_20110824-08:08), installed files will be suffixed with `-trunk'.
All intermediary files will be in `/home/liyijun/vaclav/build-trunk'.
Checking whether c++ compiler "g++-4.4" works...(cached) yes
Finding libstdc++ library... (cached) /home/liyijun/vaclav/lib64/libstdc++.so.6
Checking for pthread_exit(NULL) in C library pthread... (cached) yes
Checking for Python development files... (cached) ok
Checking for C++ header file numpy/ndarrayobject.h... (cached) yes
Checking for required python modules... (cached) all ok
Checking boost libraries... (cached) all ok
Checking for C++ header file boost/foreach.hpp... (cached) yes
Checking for C++ header file Eigen/Core... (cached) yes
Checking for C++ header file loki/NullType.h... (cached) yes
Checking for vtkInstantiator::New() in C++ library vtkCommon... yes
Checking for gts_object_class() in C++ library gts... no

ERROR: Unable to compile with optional feature `gts'.

If you are sure, remove it from features (scons features=featureOne,featureTwo for example) and build again.



This is the end of config.log file:


scons: Configure: Checking for gts_object_class() in C++ library gts...
/home/USER/build-trunk/.sconf_temp/conftest_17.cpp <-
  |
  |
  |#include "gts.h"
  |
  |int
  |main() {
  |  gts_object_class();
  |return 0;
  |}
  |
g++-4.4 -o /home/USER/build-trunk/.sconf_temp/conftest_17.o -c -pthread -I/home/USER/include -I/home/USER/include/vtk-5.4 -I/home/USER/include/eigen2 -I/home/USER/include/loki -I/usr/include/eigen2 -I/home/USER/build-trunk/include -I/home/USER/include/python2.6 -I/homeB/USER/include -I/homeB/USER/include/glib-2.0 -I/homeB/USER/lib/glib-2.0/include /home/USER/build-trunk/.sconf_temp/conftest_17.cpp
g++-4.4 -o /home/USER/build-trunk/.sconf_temp/conftest_17 -Xlinker -export-dynamic -L. -lpython2.6 -pthread -Wl,--export-dynamic /home/USER/build-trunk/.sconf_temp/conftest_17.o -L/home/USER/lib -L/home/USER/lib/vtk-5.4 -L/usr/lib64 -L/homeB/USER/lib -lpthread -lpthread -ldl -lutil -lboost_system -lboost_thread -lboost_date_time -lboost_filesystem -lboost_iostreams -lboost_regex -lboost_serialization -lboost_program_options -lboost_python -lvtkCommon -lvtkHybrid -lvtkFiltering+ -lvtkRendering -lvtkIO -lvtkexoIIc -lvtkParallel -lvtkGraphics -lvtkverdict -lvtkImaging -lvtkftgl -lvtkDICOMParser -lvtkmetaio -lvtksqlite -lgts -lgthread-2.0 -lrt -lgmodule-2.0 -lglib-2.0 -lgts
/home/USER/bin/../lib/gcc/x86_64-unknown-linux-gnu/4.4.1/../../../../x86_64-unknown-linux-gnu/bin/ld: error: cannot find -lvtkParallel
collect2: ld returned 1 exit status
scons: Configure: no


Any idea how to solve this problem?
Thanks in advance
Jan

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.