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

Compiling issue Ubuntu 22.04 #621

Open
goetzmoritz opened this issue Jan 4, 2023 · 4 comments
Open

Compiling issue Ubuntu 22.04 #621

goetzmoritz opened this issue Jan 4, 2023 · 4 comments

Comments

@goetzmoritz
Copy link

Hi there,

we are trying to compile on Ubuntu 22.04 with all dependencies (USD, openexr, imath) installed but still get an error:

~/RadeonProRenderUSD/build$ cmake ..
-- The C compiler identification is GNU 11.3.0
-- The CXX compiler identification is GNU 11.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- 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
-- Configuring usdview plugin
-- Found Rpr: /home/goetzmoritz/RadeonProRenderUSD/deps/RPR/RadeonProRender/inc  
-- Found Rif: /home/goetzmoritz/RadeonProRenderUSD/deps/RIF/include  
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.10.6", minimum required is "3.7") 
-- Using default system allocator because PXR_MALLOC_LIBRARY is unspecified
CMake Error at cmake/defaults/Packages.cmake:183 (message):
  Failed to find Half library
Call Stack (most recent call first):
  CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!

half.h is present in /usr/local/include/Imath/
openexr is also present in /usr/local/include/OpenEXR

Both versions are cloned and compiled today.

Any help with that? Thanks!

@dmitrii-z
Copy link
Contributor

Could you please tell which version of USD you use? We had this issue with some versions, but it seems there are still versions we're not support

@VGorash
Copy link
Contributor

VGorash commented May 5, 2023

@goetzmoritz, please try PR #660. It should solve this problem

@peterurbanec
Copy link

USD 23.11 uses OpenEXR 3.1.11 which does not provide a Half library.

@expenses
Copy link

I also have this issue and #660 didn't solve it.

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

5 participants