Skip to content

fatal error: 'pxr/imaging/glf/glew.h' file not found #720

Description

@bjorn-siegert-adsk

Hi,

I get an error while compiling agains USD 23.11. Seems that the utils are including glew.h which doesn't see to be part of the USD build anymore. Or do I need to build USD with some additional flags?

[ 26%] Building CXX object pxr/imaging/rprUsd/CMakeFiles/rprUsd.dir/moduleDeps.cpp.o
[ 27%] Building CXX object pxr/imaging/rprUsd/CMakeFiles/rprUsd.dir/util.cpp.o
In file included from /Users/foobar/Documents/dev/RadeonProRenderUSD/pxr/imaging/rprUsd/util.cpp:14:
/Users/foobar/Documents/dev/RadeonProRenderUSD/pxr/imaging/rprUsd/util.h:22:10: fatal error: 'pxr/imaging/glf/glew.h' file not found
#include "pxr/imaging/glf/glew.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [pxr/imaging/rprUsd/CMakeFiles/rprUsd.dir/util.cpp.o] Error 1
make[1]: *** [pxr/imaging/rprUsd/CMakeFiles/rprUsd.dir/all] Error 2

I am on macOS btw.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions