- Building from a source on Linux
Re: Building from a source on Linux
Michael Dolan <mich...@...>
toggle quoted messageShow quoted text
"source/ocio" in the example cmake command needs to be replaced with the path to the OCIO source directory on your machine ("/home/sigi/Downloads/imageworks-OpenColorIO-a4dc9cd" in your case, pictured in your screen grab).
So you should:
1. Create an empty build directory somewhere and cd to it
2. From this directory, run cmake with the command:
cmake -D CMAKE_INSTALL_PREFIX=<where OCIO should be installed> <where the OCIO source lives>
This will configure the project for building within your current directory when you later run "make", and install to the install directory when you then run "make install"
Hope that helps.
On Wed, Feb 20, 2019 at 1:56 PM Cat Jordan <cdaly...@...
Ok, please keep in mind I'm very bad at coding while reading this question.
I'm following the "building from a source" instructions on this page (http://opencolorio.org/installation.html
). I made it to "run cmake..." before I got stuck. Here's what I got when i tried to put in the code as is.
"CMake Error: The source directory "/source/ocio" does not exist.
Specify --help for usage, or press the help button on the CMake GUI."
Using 'sudo' didn't help. when I added " .." o the end I got this error;
"CMake Error: The source directory "/home/sigi/Downloads" does not appear to contain CMakeLists.txt."
I had navigated to the downloads folder at this point because that's where the file in question is.
Trying to move all these files to tmp/ociobuild didn't help either.
I don't know what I'm doing please help
You received this message because you are subscribed to the Google Groups "OpenColorIO Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ocio-dev+u...@....
For more options, visit https://groups.google.com/d/optout.
Join email@example.com to automatically receive all group messages.