-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more documentation on building the tools #1584
Add more documentation on building the tools #1584
Conversation
Signed-off-by: Dave Sawyer <[email protected]>
Signed-off-by: Dave Sawyer <[email protected]>
Signed-off-by: Dave Sawyer <[email protected]>
Signed-off-by: Dave Sawyer <[email protected]>
Signed-off-by: Dave Sawyer <[email protected]>
|
Thank you for the contribution, we appreciate anything that helps make things more clear. The Hello, World example reader and writer code are meant to be examples of using OpenEXR as a library, separate from building the library and tools itself, so these instructions should address the needs of someone on a system with the libraries installed, without access to the actual library source code. That's a good suggestion to make the code downloadable, I admit that didn't occur to me. Rather than simply giving the filename as |
@@ -14,6 +14,12 @@ operations, consider `oiiotool | |||
Swiss Army Knife of `OpenImageIO | |||
<https://sites.google.com/site/openimageio/home>`_ | |||
|
|||
To build a tool in a git bash window: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This page isn't intended to discuss building the tools, just how to use them, so I don't think this is appropriate here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also think this is where the error is that causes the build to fail, see the "Website/Website" link below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where would I learn how to build the tools? Should we add a readme.md to the tools directory?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tools get built as a component of the full project build as long as OPENEXR_BUILD_TOOLS
is ON
, which is is by default. But I guess that's not entirely obvious, so worth mentioning in the other parts of the documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the instructions below won't work because the tool directory is not set up for an independent build. The more appropriate thing to say here is something like the previous comment, the tools are built as a component of the overall project build when OPENEXR_BUILD_TOOLS
is ON
.
And the indentation is off, so it's causing the website build to fail as well.
Apologies for letting this sit, but we would indeed like to accept your submission. The ASWF project policy is to require a signed contributor license agreement. Can you click on the red "NOT COVERED" link above and fill out the form? Thanks. |
The instructions for building the writer app don't include the filename. Adding this makes the following steps which assume the file is named "writer.cpp" work seamlessly.
There are no instructions on building the tools and unless you've used cmake you would be stuck wondering.