Re: truelight compile error


Jeremy Selan <jeremy...@...>
 

Hello.

The lack of Truelight is not causing an error in your build, the
warning is merely informational in case you had intended for it to be
used.

Your build is failing as a result of not being able to find python
headers. Do you know if you have the python headers installed on your
system? For example, when using yum package management you would
probably need "python-devel" installed. ( /usr/include/python2.6/ on
my system)

Alternatively, instead of specifying -D
PYTHON_LIBRARY=/usr/bin/python2 you could try -D
PYTHON:FILEPATH=python2

Also if you are using Fedora, or are on OSX you can install OCIO "the
easy way", as now clarified on the website
http://opencolorio.org/installation.html

-- Jeremy

On Mon, Dec 17, 2012 at 5:18 AM, Nishith Singhai <singha...@...> wrote:
following error occurs when compiling. I have only one question

1) Since i am not using truelight at present is it possible to avoid it
during compilation. How.

2) I have provided python library path yet error in highlight occurs. How to
get overcome this error



nishith@linux-r03u:~> cmake -D PYTHON_LIBRARY=/usr/bin/python2 -D
CMAKE_INSTALL_PREFIX=/tmp/softwar/ocio
/home/nishith/Downloads/imageworks-OpenColorIO-b3cb224
Python library: /usr/bin/python2
-- Could NOT find Truelight (missing: Truelight_INCLUDE_DIR
Truelight_LIBRARIES Truelight_LIBRARY_DIR)
-- Create OpenColorABI.h from OpenColorABI.h.in
-- Setting OCIO SOVERSION to: 1
-- Setting OCIO SOVERSION to: 1
-- Create OpenColorIO.pc from OpenColorIO.pc.in
-- OIIO not found. Specify OIIO_PATH to locate it
-- Could NOT find OpenGL (missing: OPENGL_gl_LIBRARY)
-- OpenGL not found
-- Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
-- GLUT not found
-- GLEW not found
-- Using bundled lcms.
-- Could NOT find Nuke (missing: Nuke_INCLUDE_DIR Nuke_LIBRARIES
Nuke_LIBRARY_DIR)
-- Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS)
FATALPython libraries were not found, exiting.
-- Setting PyOCIO SOVERSION to: 1
PYTHON_VARIANT_PATH: lib/python2.7/site-packages
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nishith
nishith@linux-r03u:~> ^C

--

Join ocio-dev@lists.aswf.io to automatically receive all group messages.