woo

Woo installation on CentOS 6.5

Asked by Reignfire

Hi,

I tried to install woo-0.99+3583+21~openmp~ubuntu14.10.1 on my CentOS 6.5 system.

I got the following dependencies installed:

Python 2.7.7 :: Anaconda 1.9.2 (64-bit)
gcc (GCC) 4.4.7

qmake --version
QMake version 2.01a
Using Qt version 4.8.5 in /opt/anaconda1anaconda2anaconda3/lib

If i run the setup.py file as root i get the following output:

# python setup.py install
==================== the output from gcc -lqglviewer-qt4 ====================
/usr/bin/ld: cannot find -lqglviewer-qt4
collect2: ld returned 1 exit status

============================================================
info: library check: qglviewer-qt4 not found, using QGLViewer instead
Traceback (most recent call last):
  File "setup.py", line 322, in <module>
    if not vtks: raise ValueError("No header directory for VTK detected.")
ValueError: No header directory for VTK detected.

Does somebody know how to fix this?

Kind regards

Question information

Language:
English Edit question
Status:
Answered
For:
woo Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Václav Šmilauer (eudoxos) said :
#1

Hi, you need to install a number of libraries, such as VTK, including headers (vtk-devel I would guess); those are listed at http://woodem.eu/doc/user/installation.html#compilation-from-source . Unfortunately, there does not seem to be cross-distribution standard for locating headers and so on.

Use scons for building (instead of python setup.py install), it is much more flexible in you passing arguments needed for compilation, in this case CPPPATH. It is also much easier to update to a newer revision later (by running woo -RR).

I will be happy to extend the documentation to cover CentOS installation, once we've found a way to make it work.

HTH, Václav

Can you help with this problem?

Provide an answer of your own, or ask Reignfire for more information if necessary.

To post a message you must log in.