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...@gmail.com> 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

--


Nishith Singhai <singha...@...>
 

Hello,


         at present i am using suse. got it running so far

.. OIIO not found. Specify OIIO_PATH to locate it ( this seems ok ) 

but it halts at this point. 

Linking CXX shared module PyOpenColorIO.so
[100%] Built target PyOpenColorIO
make: *** [all] Error 2
nishith@linux-r03u:~>

need some feedback. Thank you.


On Monday, December 17, 2012 6:48:49 PM UTC+5:30, Nishith Singhai 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


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

I am not sure why the python bindings are building on your system.

In the meantime, you can configure CMake to skip building them. This
should allow the build to succeed.
cmake -D OCIO_BUILD_PYGLUE=NO

-- Jeremy

On Wed, Dec 19, 2012 at 2:38 AM, Nishith Singhai <singha...@gmail.com> wrote:
Hello,


at present i am using suse. got it running so far

.. OIIO not found. Specify OIIO_PATH to locate it ( this seems ok )

but it halts at this point.

Linking CXX shared module PyOpenColorIO.so
[100%] Built target PyOpenColorIO
make: *** [all] Error 2
nishith@linux-r03u:~>

need some feedback. Thank you.


On Monday, December 17, 2012 6:48:49 PM UTC+5:30, Nishith Singhai 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
--


Nishith Singhai <singha...@...>
 

Hi,

since i am testing i should download fedora as you already mentioned. However , just to know bit about this system i'm pasting error ( complete clipboard )

nishith@linux-r03u:~> cmake -D PYTHON:FILEPATH=python2 -D OCIO_BUILD_PYGLUE=NO -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
-- Found OpenGL library /usr/lib64/libGLU.so;/usr/lib64/libGL.so;/usr/lib64/libSM.so;/usr/lib64/libICE.so;/usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Found OpenGL includes /usr/include
-- Found GLUT library /usr/lib64/libglut.so;/usr/lib64/libXmu.so;/usr/lib64/libXi.so
-- Found GLEW library /usr/lib64/libGLEW.so
-- Found GLEW includes /usr/include
-- Using bundled lcms.
-- Could NOT find Nuke (missing:  Nuke_INCLUDE_DIR Nuke_LIBRARIES Nuke_LIBRARY_DIR)
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nishith
nishith@linux-r03u:~> make -j8
[  6%] [ 14%] [ 17%] Built target tinyxml
Built target LCMS
Built target YAML_CPP_LOCAL
[ 55%] [ 94%] Built target OpenColorIO_STATIC
Built target OpenColorIO
make[2]: *** No rule to make target `ext/dist/lib/liblcms2.a', needed by `src/apps/ociobakelut/ociobakelut'.  Stop.
make[1]: *** [src/apps/ociobakelut/CMakeFiles/ociobakelut.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 97%] Built target ociocheck
make: *** [all] Error 2
nishith@linux-r03u:~>

Brgds,

Nishith


On Wednesday, December 19, 2012 11:52:36 PM UTC+5:30, Jeremy Selan wrote:
I am not sure why the python bindings are building on your system.

In the meantime, you can configure CMake to skip building them. This
should allow the build to succeed.
cmake -D OCIO_BUILD_PYGLUE=NO

-- Jeremy

On Wed, Dec 19, 2012 at 2:38 AM, Nishith Singhai <sing...@...> wrote:
> Hello,
>
>
>          at present i am using suse. got it running so far
>
> .. OIIO not found. Specify OIIO_PATH to locate it ( this seems ok )
>
> but it halts at this point.
>
> Linking CXX shared module PyOpenColorIO.so
> [100%] Built target PyOpenColorIO
> make: *** [all] Error 2
> nishith@linux-r03u:~>
>
> need some feedback. Thank you.
>
>
> On Monday, December 17, 2012 6:48:49 PM UTC+5:30, Nishith Singhai 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
>>
> --
>
>