You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building against a USD built from the latest dev branch (as of b8bd87c), you get this error:
include/pxr/base/vt/types.h:162:44 error: 'GfHalf' was not declared in this scope
From what I can tell, the root of the problem lies with the the pxr_shared_library / _install_headers CMake macros, which don't properly support installing PUBLIC_HEADERS into subdirectories. As a result, pxr/base/lib/gf/pxrHalf/half.h is NOT installed into pxr/base/gf/pxrHalf/half.h, but into pxr/base/gf/half.h instead, thereby clobbering pxr/base/lib/gf/half.h, which is what defines GfHalf.
Steps to Reproduce
Build USD, then inspect the output include dir's pxr/base/gf/pxrHalf/half.h (or try to build against it)
Also, the headers are "installed" in the build directory correctly (with the pxrHalf subdir) - it's only on install that they lose the pxrHalf subdir...
pmolodo
changed the title
Error linking against latest dev branch: 'GfHalf' was not declared in this scope
Error building against latest dev branch: 'GfHalf' was not declared in this scope
Mar 14, 2017
…AnimationStudios#177)
Reason: We cache geometry for every text prim in _textGeometryCache in USD. In Fusion, when edit sketch and move cursor, the old text prims on the axes will be removed and new prims will be created, but new prim id could be same with prim id which has been used before and its geometry has been cached in textGeometryCache, so the old wrong geometry is found.
Done: Remove geometry cache if the prim is removed.
Description of Issue
When building against a USD built from the latest dev branch (as of b8bd87c), you get this error:
From what I can tell, the root of the problem lies with the the pxr_shared_library / _install_headers CMake macros, which don't properly support installing PUBLIC_HEADERS into subdirectories. As a result,
pxr/base/lib/gf/pxrHalf/half.h
is NOT installed intopxr/base/gf/pxrHalf/half.h
, but intopxr/base/gf/half.h
instead, thereby clobberingpxr/base/lib/gf/half.h
, which is what defines GfHalf.Steps to Reproduce
System Information (OS, Hardware)
CentOS 7
Package Versions
alembic-1.5.8
boost-1.55.0
gcc-4.8.3
ilmbase-2.2.0
maya-2016.53
ptex-2.1.28
python-2.7.4
qt-4.8.6
tbb-4.3.6
Build Flags
-D PXR_BUILD_ALEMBIC_PLUGIN=TRUE
-D PXR_MAYA_TBB_BUG_WORKAROUND=TRUE
-D PXR_BUILD_MAYA_PLUGIN=FALSE
-D PXR_BUILD_KATANA_PLUGIN=FALSE
-D PXR_STRICT_BUILD_MODE=TRUE
The text was updated successfully, but these errors were encountered: