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

Couldn't find OpenSSL on build #3

Open
3DLVarq opened this issue Dec 5, 2023 · 2 comments
Open

Couldn't find OpenSSL on build #3

3DLVarq opened this issue Dec 5, 2023 · 2 comments

Comments

@3DLVarq
Copy link

3DLVarq commented Dec 5, 2023

Trying to build RenderStudioKit on Ubuntu 22.04.1 with OpenUSD successfully installed.


Running:
cmake -B Build -DCMAKE_PREFIX_PATH=/home/leo/Github/OpenUSD -DCMAKE_INSTALL_PREFIX=/home/leo/Github/OpenUSD

Got:
CMakeOutput.log

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY
OPENSSL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindOpenSSL.cmake:574 (find_package_handle_standard_args)
Sources/CMakeLists.txt:17 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/leo/Github/RenderStudioKit/Build/CMakeFiles/CMakeOutput.log"


Running:
openssl version -a

Gives:
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
built on: Fri Oct 13 12:02:49 2023 UTC
platform: debian-amd64
options: bn(64,64)
compiler: gcc -fPIC -pthread -m64 -Wa,--noexecstack -Wall -Wa,--noexecstack -g -O2 -ffile-prefix-map=/build/openssl-8L8jlV/openssl-3.0.2=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -DOPENSSL_TLS_SECURITY_LEVEL=2 -DOPENSSL_USE_NODELETE -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_BUILDING_OPENSSL -DNDEBUG -Wdate-time -D_FORTIFY_SOURCE=2
OPENSSLDIR: "/usr/lib/ssl"
ENGINESDIR: "/usr/lib/x86_64-linux-gnu/engines-3"
MODULESDIR: "/usr/lib/x86_64-linux-gnu/ossl-modules"
Seeding source: os-specific
CPUINFO: OPENSSL_ia32cap=0x3e983a0b078bffff:0x8

@s1lentssh
Copy link

Hello, let me help you with build process

At first, could you please verify that libssl-dev is installed?

sudo apt-get install libssl-dev

@3DLVarq
Copy link
Author

3DLVarq commented Dec 18, 2023

Hi, thanks for the assistance. I've built the project using the following command since using just the OpenUSD project path was giving a pxr package loss error (getting uripaser, fmt and zip inside Sources/External was also needed):

cmake -B Build -DCMAKE_PREFIX_PATH=/home/leo/Github/OpenUSD/Install CDCMAKE_INSTALL_PREFIX=/home/leo/Github/OpenUSD/Install

Cmake printed:


CMake Warning:
Ignoring extra path from command line:

"CDCMAKE_INSTALL_PREFIX=/home/leo/Github/OpenUSD/Install"

-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.2")
-- Found Boost: /home/leo/Github/OpenUSD/Install/lib/cmake/Boost-1.78.0/BoostConfig.cmake (found version "1.78.0") found components: python log
-- Found Python3: /usr/include/python3.10 (found suitable exact version "3.10.12") found components: Development Development.Module Development.Embed
-- Found Python3: /usr/bin/python (found suitable version "3.10.12", minimum required is "3.7") found components: Interpreter Development Development.Module Development.Embed
CMake Warning (dev) at /home/leo/.local/lib/python3.10/site-packages/cmake/data/share/cmake-3.27/Modules/FetchContent.cmake:1316 (message):
The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
not set. The policy's OLD behavior will be used. When using a URL
download, the timestamps of extracted files should preferably be that of
the time of extraction, otherwise code that depends on the extracted
contents might not be rebuilt if the URL changes. The OLD behavior
preserves the timestamps from the archive instead, but this is usually not
what you want. Update your project to the NEW behavior or specify the
DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
robustness issue.
Call Stack (most recent call first):
Sources/CMakeLists.txt:107 (FetchContent_Declare)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:48 (install):
Target fmt has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:48 (install):
Target uriparser has PUBLIC_HEADER files but no PUBLIC_HEADER DESTINATION.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done (3.6s)
-- Generating done (0.1s)
-- Build files have been written to: /home/leo/Github/RenderStudioKit/Build


Now trying to compile with cmake --build Build --config Release the output is looking like this:

[ 1%] Checking and installing python dependencies if required
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: fastapi==0.103.2 in /home/leo/.local/lib/python3.10/site-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (0.103.2)
Requirement already satisfied: uvicorn==0.22.0 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 2)) (0.22.0)
Requirement already satisfied: pyinstaller==5.13.2 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 3)) (5.13.2)
Requirement already satisfied: pyinstaller-hooks-contrib==2023.10 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 4)) (2023.10)
Requirement already satisfied: websockets==10.4 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 5)) (10.4)
Requirement already satisfied: httpx==0.24.1 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 6)) (0.24.1)
Requirement already satisfied: nuitka==1.8.5 in /usr/local/lib/python3.10/dist-packages (from -r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 7)) (1.8.5)
Requirement already satisfied: anyio<4.0.0,>=3.7.1 in /usr/local/lib/python3.10/dist-packages (from fastapi==0.103.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (3.7.1)
Requirement already satisfied: typing-extensions>=4.5.0 in /usr/local/lib/python3.10/dist-packages (from fastapi==0.103.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (4.8.0)
Requirement already satisfied: starlette<0.28.0,>=0.27.0 in /home/leo/.local/lib/python3.10/site-packages (from fastapi==0.103.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (0.27.0)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.7.4 in /home/leo/.local/lib/python3.10/site-packages (from fastapi==0.103.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (1.10.13)
Requirement already satisfied: click>=7.0 in /usr/lib/python3/dist-packages (from uvicorn==0.22.0->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 2)) (8.0.3)
Requirement already satisfied: h11>=0.8 in /home/leo/.local/lib/python3.10/site-packages (from uvicorn==0.22.0->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 2)) (0.12.0)
Requirement already satisfied: altgraph in /usr/local/lib/python3.10/dist-packages (from pyinstaller==5.13.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 3)) (0.17.4)
Requirement already satisfied: setuptools>=42.0.0 in /usr/lib/python3/dist-packages (from pyinstaller==5.13.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 3)) (59.6.0)
Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (from httpx==0.24.1->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 6)) (2020.6.20)
Requirement already satisfied: idna in /usr/lib/python3/dist-packages (from httpx==0.24.1->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 6)) (3.3)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /home/leo/.local/lib/python3.10/site-packages (from httpx==0.24.1->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 6)) (0.15.0)
Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx==0.24.1->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 6)) (1.3.0)
Requirement already satisfied: zstandard>=0.15 in /usr/local/lib/python3.10/dist-packages (from nuitka==1.8.5->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 7)) (0.22.0)
Requirement already satisfied: ordered-set>=4.1.0 in /usr/local/lib/python3.10/dist-packages (from nuitka==1.8.5->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 7)) (4.1.0)
Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio<4.0.0,>=3.7.1->fastapi==0.103.2->-r /home/leo/Github/RenderStudioKit/Workspace/requirements.txt (line 1)) (1.2.0)
[ 1%] Built target InstallPythonDeps
[ 3%] Building executable of RenderStudioWorkspace using nuitka
Nuitka-Options:INFO: Used command line options: --output-dir=/home/leo/Github/RenderStudioKit/Build/nuitka --standalone --assume-yes-for-downloads --windows-icon-from-ico=/home/leo/Github/RenderStudioKit/Resources/Icon.ico --msvc=14.2 /home/leo/Github/RenderStudioKit/Workspace/RenderStudioWorkspace.py
Nuitka-Options:WARNING: Requesting Windows specific compilers has no effect on other platforms.
Nuitka:INFO: Starting Python compilation with Nuitka '1.8.5' on Python '3.10' commercial grade 'not installed'.
Nuitka:INFO: Using Debian packages for 'certifi,chardet,click,idna,yaml'.
Nuitka:WARNING: Standalone with Python package from Debian installation may not be working.
Nuitka:WARNING: Complex topic! More information can be found at https://nuitka.net/info/debian-dist-packages.html
Nuitka-Plugins:INFO: anti-bloat: Not including 'json' automatically in order to avoid bloat, but this may cause: may slow down by using fallback implementation.
Nuitka:INFO: Completed Python level compilation and optimization.
Nuitka:INFO: Generating source code for C backend compiler.
Nuitka:INFO: Running data composer tool for optimal constant value handling.
Nuitka:INFO: Running C compilation via Scons.
Nuitka-Scons:INFO: Backend C compiler: gcc (gcc).
Nuitka-Scons:INFO: Backend linking program with 477 files (no progress information available for this stage).
Nuitka-Scons:WARNING: You are not using ccache, re-compilation of identical code will be slower than necessary. Use your OS package manager to install it.
Nuitka-Plugins:INFO: data-files: Included data file 'certifi/cacert.pem' due to package data for 'certifi'.
Nuitka-Plugins:INFO: data-files: Included 602 data files due to package data directory '.' for 'tzdata.zoneinfo'.
Nuitka:INFO: Keeping build directory '/home/leo/Github/RenderStudioKit/Build/nuitka/RenderStudioWorkspace.build'.
Nuitka:INFO: Successfully created '/home/leo/Github/RenderStudioKit/Build/nuitka/RenderStudioWorkspace.dist/RenderStudioWorkspace.bin'.
[ 3%] Built target ExecuteNuitka
[ 4%] Building CXX object Sources/External/fmt/CMakeFiles/fmt.dir/src/format.cc.o
[ 6%] Building CXX object Sources/External/fmt/CMakeFiles/fmt.dir/src/os.cc.o
[ 8%] Linking CXX static library libfmt.a
[ 8%] Built target fmt
[ 9%] Building CXX object Sources/Logger/CMakeFiles/RenderStudioLogger.dir/Logger.cpp.o
[ 11%] Linking CXX static library libRenderStudioLogger.a
[ 11%] Built target RenderStudioLogger
[ 13%] Building C object Sources/External/zip/CMakeFiles/zip.dir/src/zip.c.o
In file included from /home/leo/Github/RenderStudioKit/Sources/External/zip/src/zip.c:39:
/home/leo/Github/RenderStudioKit/Sources/External/zip/src/miniz.h:5090:9: note: ‘#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.’
5090 | #pragma message(
| ^~~~~~~
[ 14%] Linking C static library libzip.a
/usr/bin/ar qc libzip.a CMakeFiles/zip.dir/src/zip.c.o
/usr/bin/ranlib libzip.a
[ 14%] Built target zip
[ 16%] Building CXX object Sources/Utils/CMakeFiles/RenderStudioUtils.dir/BackgroundTask.cpp.o
[ 18%] Building CXX object Sources/Utils/CMakeFiles/RenderStudioUtils.dir/FileUtils.cpp.o
[ 19%] Building CXX object Sources/Utils/CMakeFiles/RenderStudioUtils.dir/ProcessUtils.cpp.o
[ 21%] Building CXX object Sources/Utils/CMakeFiles/RenderStudioUtils.dir/Uuid.cpp.o
[ 22%] Linking CXX static library libRenderStudioUtils.a
[ 22%] Built target RenderStudioUtils
[ 24%] Building CXX object Sources/Notice/CMakeFiles/RenderStudioNotice.dir/Notice.cpp.o
[ 26%] Linking CXX shared library libRenderStudioNotice.so
[ 26%] Built target RenderStudioNotice
[ 27%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriCommon.c.o
[ 29%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriCompare.c.o
[ 31%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriEscape.c.o
[ 32%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriFile.c.o
[ 34%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriIp4Base.c.o
[ 36%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriIp4.c.o
[ 37%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriMemory.c.o
[ 39%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriNormalizeBase.c.o
[ 40%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriNormalize.c.o
[ 42%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriParseBase.c.o
[ 44%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriParse.c.o
[ 45%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriQuery.c.o
[ 47%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriRecompose.c.o
[ 49%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriResolve.c.o
[ 50%] Building C object Sources/External/uriparser/CMakeFiles/uriparser.dir/src/UriShorten.c.o
[ 52%] Linking C static library liburiparser.a
[ 52%] Built target uriparser
[ 54%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/LocalStorageApi.cpp.o
[ 55%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/MaterialLibraryApi.cpp.o
[ 57%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/RestClient.cpp.o
[ 59%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/Url.cpp.o
[ 60%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/WebsocketClient.cpp.o
[ 62%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/WebsocketServer.cpp.o
[ 63%] Building CXX object Sources/Networking/CMakeFiles/RenderStudioNetworking.dir/Workspace.cpp.o
[ 65%] Linking CXX static library libRenderStudioNetworking.a
[ 65%] Built target RenderStudioNetworking
[ 67%] Building CXX object Sources/Schema/CMakeFiles/RenderStudioSchema.dir/AiTools.cpp.o
In file included from /usr/include/c++/11/ext/hash_set:60,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/hashset.h:39,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/token.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/staticTokens.h:81,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/timeCode.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/common.h:36,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/stage.h:31,
from /home/leo/Github/RenderStudioKit/Sources/Schema/AiTools.h:18,
from /home/leo/Github/RenderStudioKit/Sources/Schema/AiTools.cpp:15:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning
| ^~~~~~~
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/types.h:30,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/node.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/editTarget.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/stage.h:32,
from /home/leo/Github/RenderStudioKit/Sources/Schema/AiTools.h:18,
from /home/leo/Github/RenderStudioKit/Sources/Schema/AiTools.cpp:15:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 68%] Building CXX object Sources/Schema/CMakeFiles/RenderStudioSchema.dir/renderStudioAiPrimAPI.cpp.o
In file included from /usr/include/c++/11/ext/hash_set:60,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/hashset.h:39,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/token.h:37,
from /home/leo/Github/RenderStudioKit/Sources/Schema/././tokens.h:40,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./renderStudioAiPrimAPI.h:30,
from /home/leo/Github/RenderStudioKit/Sources/Schema/renderStudioAiPrimAPI.cpp:24:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning
| ^~~~~~~
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/schemaRegistry.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/primDefinition.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/primData.h:33,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/object.h:32,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/prim.h:32,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/schemaBase.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/apiSchemaBase.h:31,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./renderStudioAiPrimAPI.h:38,
from /home/leo/Github/RenderStudioKit/Sources/Schema/renderStudioAiPrimAPI.cpp:24:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 70%] Building CXX object Sources/Schema/CMakeFiles/RenderStudioSchema.dir/tokens.cpp.o
In file included from /usr/include/c++/11/ext/hash_set:60,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/hashset.h:39,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/token.h:37,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./tokens.h:40,
from /home/leo/Github/RenderStudioKit/Sources/Schema/tokens.cpp:24:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning
| ^~~~~~~
[ 72%] Building CXX object Sources/Schema/CMakeFiles/RenderStudioSchema.dir/wrapRenderStudioAiPrimAPI.cpp.o
In file included from /usr/include/c++/11/ext/hash_set:60,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/hashset.h:39,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/token.h:37,
from /home/leo/Github/RenderStudioKit/Sources/Schema/././tokens.h:40,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./renderStudioAiPrimAPI.h:30,
from /home/leo/Github/RenderStudioKit/Sources/Schema/wrapRenderStudioAiPrimAPI.cpp:26:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning
| ^~~~~~~
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/schemaRegistry.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/primDefinition.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/primData.h:33,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/object.h:32,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/prim.h:32,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/schemaBase.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/apiSchemaBase.h:31,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./renderStudioAiPrimAPI.h:38,
from /home/leo/Github/RenderStudioKit/Sources/Schema/wrapRenderStudioAiPrimAPI.cpp:26:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 73%] Building CXX object Sources/Schema/CMakeFiles/RenderStudioSchema.dir/wrapTokens.cpp.o
In file included from /usr/include/c++/11/ext/hash_set:60,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/hashset.h:39,
from /home/leo/Github/OpenUSD/Install/include/pxr/base/tf/token.h:37,
from /home/leo/Github/RenderStudioKit/Sources/Schema/./tokens.h:40,
from /home/leo/Github/RenderStudioKit/Sources/Schema/wrapTokens.cpp:25:
/usr/include/c++/11/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
32 | #warning
| ^~~~~~~
[ 75%] Linking CXX shared library libRenderStudioSchema.so
[ 75%] Built target RenderStudioSchema
[ 77%] Building CXX object Sources/Serialization/CMakeFiles/RenderStudioSerialization.dir/Api.cpp.o
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/types.h:30,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/node.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/editTarget.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/stage.h:32,
from /home/leo/Github/RenderStudioKit/Sources/Serialization/Api.h:29,
from /home/leo/Github/RenderStudioKit/Sources/Serialization/Api.cpp:15:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 78%] Building CXX object Sources/Serialization/CMakeFiles/RenderStudioSerialization.dir/Serialization.cpp.o
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/RenderStudioKit/Sources/Serialization/Serialization.h:20,
from /home/leo/Github/RenderStudioKit/Sources/Serialization/Serialization.cpp:15:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 80%] Linking CXX static library libRenderStudioSerialization.a
[ 80%] Built target RenderStudioSerialization
[ 81%] Building CXX object Sources/Resolver/CMakeFiles/RenderStudioResolver.dir/Asset.cpp.o
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/RenderStudioKit/Sources/Resolver/FileFormat.h:23,
from /home/leo/Github/RenderStudioKit/Sources/Resolver/Resolver.h:26,
from /home/leo/Github/RenderStudioKit/Sources/Resolver/Asset.cpp:17:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
[ 83%] Building CXX object Sources/Resolver/CMakeFiles/RenderStudioResolver.dir/Data.cpp.o
In file included from /home/leo/Github/OpenUSD/Install/include/pxr/base/work/dispatcher.h:37,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/sdf/layer.h:46,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/types.h:30,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/pcp/node.h:29,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/editTarget.h:31,
from /home/leo/Github/OpenUSD/Install/include/pxr/usd/usd/stage.h:32,
from /home/leo/Github/RenderStudioKit/Sources/Resolver/Data.h:27,
from /home/leo/Github/RenderStudioKit/Sources/Resolver/Data.cpp:15:
/home/leo/Github/OpenUSD/Install/include/tbb/task.h:21:139: note: ‘#pragma message: TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.’
21 | #pragma message("TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.")
| ^
/home/leo/Github/RenderStudioKit/Sources/Resolver/Data.cpp: In member function ‘void pxrInternal_v0_23__pxrReserved
_::RenderStudioData::ProcessRemoteUpdates(pxrInternal_v0_23__pxrReserved__::SdfLayerHandle&)’:
/home/leo/Github/RenderStudioKit/Sources/Resolver/Data.cpp:183:51: error: loop variable ‘delta’ of type ‘const std::pair<pxrInternal_v0_23__pxrReserved__::SdfPath, pxrInternal_v0_23__pxrReserved__::RenderStudioData::SpecData>&’ binds to a temporary constructed from type ‘std::pair<const pxrInternal_v0_23__pxrReserved_::SdfPath, pxrInternal_v0_23__pxrReserved__::RenderStudioData::SpecData>’ [-Werror=range-loop-construct]
183 | for (const std::pair<SdfPath, SpecData>& delta : deltas)
| ^~~~~
/home/leo/Github/RenderStudioKit/Sources/Resolver/Data.cpp:183:51: note: use non-reference type ‘const std::pair<pxrInternal_v0_23__pxrReserved
::SdfPath, pxrInternal_v0_23__pxrReserved__::RenderStudioData::SpecData>’ to make the copy explicit or ‘const std::pair<const pxrInternal_v0_23__pxrReserved_::SdfPath, pxrInternal_v0_23__pxrReserved__::RenderStudioData::_SpecData>&’ to prevent copying
cc1plus: all warnings being treated as errors
gmake[2]: *** [Sources/Resolver/CMakeFiles/RenderStudioResolver.dir/build.make:90: Sources/Resolver/CMakeFiles/RenderStudioResolver.dir/Data.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:631: Sources/Resolver/CMakeFiles/RenderStudioResolver.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

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

2 participants