← Back to team overview

yade-users team mailing list archive

Re: compile YADE on openSUSE 11.2 64 bit OS

 

Dear Sergei,

Thanks a lot!  That solved the vtk issue.

Of course, I have to come back with another error.  I am wondering if this
is due to opengl.

Error message attached.

Best

Pei-Ying
--------------------------------------
phsieh@jupiter:~/dem/yade-0.20-2> scons
PROFILE=default
scons: Reading SConscript files
...
@@@ Using profile default (scons.profile-default)
@@@
Yade version is `0.20', installed files will be suffixed with
`-0.20'.
All intermediary files will be in
`/home/phsieh/build/yade/build-0.20'.
Checking whether c++ compiler "g++"
works...yes
Checking for pthread_exit(NULL) in C library pthread...
yes
Checking for boost::system::error_code(); /* non-essential */ in C++ library
boost_system-mt... yes
Checking for boost::thread::thread() in C++ library boost_thread-mt...
yes
Checking for boost::posix_time::time_duration::time_duration() in C++
library boost_date_time-mt... yes
Checking for boost::filesystem::path() in C++ library boost_filesystem-mt...
yes
Checking for boost::iostreams::file_sink("") in C++ library
boost_iostreams-mt... yes
Checking for boost::regex("") in C++ library boost_regex-mt...
yes
Checking for try{} catch (const boost::archive::archive_exception& e) {} in
C++ library boost_serialization-mt... yes
Checking for boost::program_options::options_description o in C++ library
boost_program_options-mt... yes
Checking for C++ header file boost/foreach.hpp...
yes
Checking for sqlite3_close(0L) in C++ library sqlite3...
yes
Checking for vtkInstantiator::New() in C++ library vtkHybrid...
yes
Checking for glutGetModifiers() in C++ library glut...
yes
Checking for qt-mt in /usr/lib64/qt3...
yes

scons: done reading SConscript
files.

scons: Building targets
...

>
/home/phsieh/build/yade/build-0.20/core/core.cpp

>
/home/phsieh/build/yade/build-0.20/lib/miniWm3.cpp

>
/home/phsieh/build/yade/build-0.20/lib/yade-support.cpp

C
lib/sqlite3x/sqlite3x_command.cpp

C
/home/phsieh/build/yade/build-0.20/lib/yade-support.cpp

C
/home/phsieh/build/yade/build-0.20/lib/miniWm3.cpp

C
/home/phsieh/build/yade/build-0.20/core/core.cpp

C
lib/sqlite3x/sqlite3x_connection.cpp

L
libminiWm3.so

C
lib/sqlite3x/sqlite3x_cursor.cpp

⇒
/home/phsieh/YADE/lib/yade-0.20/lib/libminiWm3.so

C
lib/sqlite3x/sqlite3x_exception.cpp

C
lib/sqlite3x/sqlite3x_settings_db.cpp

C
lib/sqlite3x/sqlite3x_transaction.cpp

U
lib/QGLViewer/VRenderInterface_Qt3.ui

L
libsqlite3x.so

U
lib/QGLViewer/VRenderInterface_Qt3.ui

U
lib/QGLViewer/VRenderInterface_Qt3.ui

⇒
/home/phsieh/YADE/lib/yade-0.20/lib/libsqlite3x.so

U
lib/QGLViewer/ImageInterface_Qt3.ui

C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_VRenderInterface_Qt3.cc

U
lib/QGLViewer/ImageInterface_Qt3.ui

U
lib/QGLViewer/ImageInterface_Qt3.ui

C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/uic_ImageInterface_Qt3.cc

C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/uic_VRenderInterface_Qt3.cc

C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_ImageInterface_Qt3.cc

C
lib/QGLViewer/qglviewer.cpp

C
lib/QGLViewer/camera.cpp

C
lib/QGLViewer/manipulatedFrame.cpp

C
lib/QGLViewer/manipulatedCameraFrame.cpp

C
lib/QGLViewer/frame.cpp

C
lib/QGLViewer/saveSnapshot.cpp

C
lib/QGLViewer/constraint.cpp

C
lib/QGLViewer/keyFrameInterpolator.cpp

C
lib/QGLViewer/mouseGrabber.cpp

C
lib/QGLViewer/quaternion.cpp

C
lib/QGLViewer/vec.cpp

C
lib/QGLViewer/VRender/BackFaceCullingOptimizer.cpp

L
libyade-support.so

⇒
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-support.so

C
lib/QGLViewer/VRender/BSPSortMethod.cpp

C
lib/QGLViewer/VRender/EPSExporter.cpp

C
lib/QGLViewer/VRender/Exporter.cpp

C
lib/QGLViewer/VRender/FIGExporter.cpp

C
lib/QGLViewer/VRender/gpc.cpp

C
lib/QGLViewer/VRender/ParserGL.cpp

C
lib/QGLViewer/VRender/Primitive.cpp

C
lib/QGLViewer/VRender/PrimitivePositioning.cpp

C
lib/QGLViewer/VRender/TopologicalSortMethod.cpp

C
lib/QGLViewer/VRender/VisibilityOptimizer.cpp

C lib/QGLViewer/VRender/Vector2.cpp
C lib/QGLViewer/VRender/Vector3.cpp
C lib/QGLViewer/VRender/NVector3.cpp
C lib/QGLViewer/VRender/VRender.cpp
M lib/QGLViewer/qglviewer.h
C /home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_qglviewer.cc
M lib/QGLViewer/camera.h
C /home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_camera.cc
M lib/QGLViewer/manipulatedFrame.h
C /home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_manipulatedFrame.cc
M lib/QGLViewer/manipulatedCameraFrame.h
C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_manipulatedCameraFrame.cc
M lib/QGLViewer/frame.h
C /home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_frame.cc
M lib/QGLViewer/keyFrameInterpolator.h
C
/home/phsieh/build/yade/build-0.20/lib/QGLViewer/moc_keyFrameInterpolator.cc
> /home/phsieh/build/yade/build-0.20/lib/yade-opengl.cpp
C /home/phsieh/build/yade/build-0.20/lib/yade-opengl.cpp
C extra/PeriodicInsertionSortCollider.cpp
L libyade-QGLViewer.so
⇒ /home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so
C pkg/dem/meta/Shop.cpp
L libyade-opengl.so
⇒ /home/phsieh/YADE/lib/yade-0.20/lib/libyade-opengl.so
C pkg/common/Engine/EngineUnit/LeapFrogOrientationIntegrator.cpp
C pkg/common/DataClass/PhysicalParameters/RigidBodyParameters.cpp
C pkg/common/DataClass/PhysicalParameters/ParticleParameters.cpp
L yade
C pkg/common/Engine/MetaEngine/PhysicalParametersEngineUnit.cpp
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluNewQuadric'
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluUnProject'
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluCylinder'
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluPickMatrix'
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluSphere'
/home/phsieh/YADE/lib/yade-0.20/lib/libyade-QGLViewer.so: undefined
reference to `gluProject'
collect2: ld returned 1 exit status
scons: *** [/home/phsieh/build/yade/build-0.20/core/yade] Error 1
scons: building terminated because of errors.
phsieh@jupiter:~/dem/yade-0.20-2>



On Fri, Mar 5, 2010 at 1:37 AM, Sergei D. <dorofeenko@xxxxxxxxx> wrote:

>  Please, install
>
> vtk-5.4.2-6.3.x86_64
> vtk-devel-5.4.2-6.3.x86_64
>
> 05.03.2010 04:48, Peiying Hsieh пишет:
>
> Dear YADE group,
>
> I am running into a new error.  Probably related to vtk.  Can someone
> help?  Error message attached:
>
> Thanks!
>
> Pei-Ying
> -------------------
> khsieh@tarrytown:~/yade-source/yade> scons Profile=default
> scons: Reading SConscript files ...
> @@@ Using profile default (scons.profile-default) @@@
> Yade version is `trunk' (bzr2063), installed files will be suffixed with
> `-trunk'.
> All intermediary files will be in `/home/khsieh/build/yade/build-trunk'.
> Mkdir("/home/khsieh/build/yade/build-trunk")
> Checking whether c++ compiler "g++" works...yes
> Finding libstdc++ library... (cached)
> /usr/lib64/gcc/x86_64-suse-linux/4.4/libstdc++.so
> Checking for pthread_exit(NULL) in C library pthread... yes
> Checking for boost::system::error_code(); /* non-essential */ in C++
> library boost_system-mt... yes
> Checking for boost::thread::thread() in C++ library boost_thread-mt... yes
> Checking for boost::posix_time::time_duration::time_duration() in C++
> library boost_date_time-mt... yes
> Checking for boost::filesystem::path() in C++ library
> boost_filesystem-mt... yes
> Checking for boost::iostreams::file_sink("") in C++ library
> boost_iostreams-mt... yes
> Checking for boost::regex("") in C++ library boost_regex-mt... yes
> Checking for try{} catch (const boost::archive::archive_exception& e) {} in
> C++ library boost_serialization-mt... yes
> Checking for boost::program_options::options_description o in C++ library
> boost_program_options-mt... yes
> Checking for C++ header file boost/foreach.hpp... yes
> Checking for sqlite3_close(0L) in C++ library sqlite3... yes
> Checking for Python development files... yes
> Checking for python module `IPython' ...(cached) yes
> Checking for boost::python::scope() in C++ library boost_python-mt... yes
> Checking for C++ header file
> /usr/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h...
> yes
> Checking for glutGetModifiers() in C++ library glut... yes
> Checking for qt-mt in /usr/lib64/qt3... yes
> Checking for vtkInstantiator::New() in C++ library vtkCommon... no
>
> ERROR: Unable to compile with optional feature `vtk'.
>
> If you are sure, remove it from features (scons
> features=featureOne,featureTwo for example) and build again.
> Note: You might have to add VTK header directory (e.g.
> /usr/include/vtk-5.4) to CPPPATH.
> khsieh@tarrytown:~/yade-source/yade>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users <https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users <https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References