Skip to content
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

install locations of a few files could be improved #123

Open
michaeldsmith opened this issue Jan 24, 2023 · 2 comments
Open

install locations of a few files could be improved #123

michaeldsmith opened this issue Jan 24, 2023 · 2 comments

Comments

@michaeldsmith
Copy link
Collaborator

With the CMAKE_INSTALL_PREFIX set to C:/Program Files (x86)/CTL in Windows 10, running Visual Studio with administrative privileges allows the INSTALL visual studio project to run by selecting Build on the INSTALL project. The output below shows where the files get copied on to the windows system:

Build started...
1>------ Build started: Project: build-time-make-directory, Configuration: Debug x64 ------
2>------ Build started: Project: INSTALL, Configuration: Debug x64 ------
2>-- Install configuration: "Debug"
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlAddr.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlAlign.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlErrors.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlExc.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlFunctionCall.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlInterpreter.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlLContext.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlMessage.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlModule.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlRcPtr.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlReadWriteAccess.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlSymbolTable.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlSyntaxTree.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlTokens.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlType.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlTypeStorage.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlStdType.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlVersion.h
2>-- Installing: C:/Program Files (x86)/CTL/lib/IlmCtl.lib
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlColorSpace.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlLookupTable.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlRbfInterpolator.h
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlSparseMatrix.h
2>-- Installing: C:/Program Files (x86)/CTL/lib/IlmCtlMath.lib
2>-- Installing: C:/Program Files (x86)/CTL/include/CTL/CtlSimdInterpreter.h
2>-- Installing: C:/Program Files (x86)/CTL/lib/IlmCtlSimd.lib
2>-- Installing: C:/Program Files (x86)/CTL/include/OpenEXR/ImfCtlApplyTransforms.h
2>-- Installing: C:/Program Files (x86)/CTL/lib/IlmImfCtl.lib
2>-- Installing: C:/Program Files (x86)/CTL/share/doc/CTL/CTL/CtlManual.pdf
2>-- Installing: C:/Program Files (x86)/CTL/share/doc/CTL/CTL/CtlManual.doc
2>-- Installing: C:/Program Files (x86)/CTL/bin/ctlrender.exe
2>-- Installing: C:/Program Files (x86)/CTL/share/CTL/utilities.ctl
2>-- Installing: C:/Program Files (x86)/CTL/bin/exrdpx.exe
2>-- Installing: C:/Program Files (x86)/CTL/share/CTL/transform_DPX_EXR.ctl
2>-- Installing: C:/Program Files (x86)/CTL/share/CTL/transform_EXR_DPX.ctl
2>-- Installing: C:/Program Files (x86)/CTL/bin/exr_ctl_exr.exe
2>-- Installing: C:/Program Files (x86)/CTL/share/CTL/change_saturation.ctl
========== Build: 2 succeeded, 0 failed, 13 up-to-date, 0 skipped ==========

In Ubuntu, after running make install, the install_manifest.txt file shows similar install locations:

root@4750b46f4bd5:/usr/src/CTL/build# cat install_manifest.txt 
/usr/local/include/CTL/CtlAddr.h
/usr/local/include/CTL/CtlAlign.h
/usr/local/include/CTL/CtlErrors.h
/usr/local/include/CTL/CtlExc.h
/usr/local/include/CTL/CtlFunctionCall.h
/usr/local/include/CTL/CtlInterpreter.h
/usr/local/include/CTL/CtlLContext.h
/usr/local/include/CTL/CtlMessage.h
/usr/local/include/CTL/CtlModule.h
/usr/local/include/CTL/CtlRcPtr.h
/usr/local/include/CTL/CtlReadWriteAccess.h
/usr/local/include/CTL/CtlSymbolTable.h
/usr/local/include/CTL/CtlSyntaxTree.h
/usr/local/include/CTL/CtlTokens.h
/usr/local/include/CTL/CtlType.h
/usr/local/include/CTL/CtlTypeStorage.h
/usr/local/include/CTL/CtlStdType.h
/usr/local/include/CTL/CtlVersion.h
/usr/local/lib/libIlmCtl.a
/usr/local/include/CTL/CtlColorSpace.h
/usr/local/include/CTL/CtlLookupTable.h
/usr/local/include/CTL/CtlRbfInterpolator.h
/usr/local/include/CTL/CtlSparseMatrix.h
/usr/local/lib/libIlmCtlMath.a
/usr/local/include/CTL/CtlSimdInterpreter.h
/usr/local/lib/libIlmCtlSimd.a
/usr/local/include/OpenEXR/ImfCtlApplyTransforms.h
/usr/local/lib/libIlmImfCtl.a
/usr/local/share/doc/CTL/CTL/CtlManual.pdf
/usr/local/share/doc/CTL/CTL/CtlManual.doc
/usr/local/bin/ctlrender
/usr/local/share/CTL/utilities.ctl
/usr/local/bin/exrdpx
/usr/local/share/CTL/transform_DPX_EXR.ctl
/usr/local/share/CTL/transform_EXR_DPX.ctl
/usr/local/bin/exr_ctl_exr

Everything looks good except for a few of files:

1 - ImfCtlApplyTransforms.h installs into /include/OpenEXR/

C:/Program Files (x86)/CTL/include/OpenEXR/ImfCtlApplyTransforms.h

but should probably be installed in /include/CTL/

C:/Program Files (x86)/CTL/include/CTL/ImfCtlApplyTransforms.h

although there may be some history of installing ImfCtlApplyTransforms.h into /include/OpenEXR for some reason, perhaps related to the old OpenEXR_Viewers project used this file or other CTL files. For example, OpenEXR_Viewers package mentions CTL here https://src.fedoraproject.org/rpms/OpenEXR_Viewers

2 - CtlManual.pdf and CtlManual.doc install into /share/doc/CTL/CTL/

C:/Program Files (x86)/CTL/share/doc/CTL/CTL/CtlManual.pdf
C:/Program Files (x86)/CTL/share/doc/CTL/CTL/CtlManual.doc

should probably be /share/doc/CTL/

C:/Program Files (x86)/CTL/share/doc/CTL/CtlManual.pdf
C:/Program Files (x86)/CTL/share/doc/CTL/CtlManual.doc
@michaeldsmith
Copy link
Collaborator Author

michaeldsmith commented Feb 11, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant