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

Errors building the refactoring_sandbox against USD 19.05 #61

Closed
eldiren opened this issue Oct 20, 2019 · 6 comments
Closed

Errors building the refactoring_sandbox against USD 19.05 #61

eldiren opened this issue Oct 20, 2019 · 6 comments

Comments

@eldiren
Copy link

eldiren commented Oct 20, 2019

Is USD 19.05 still the current version to build aginst the refactoring sandbox? I get errors related to include\pxr\imaging\hdx\pickTask.h missing and a number of HDRenderdelgate errors, but 19.05 doesn't even have pickTask.h in it's repo, that's 19.07 thing. I've followed advice from this issue with no luck: #1. Compiling against 19.07 yields me these errors:
C:\dev\maya-usd\lib\render\pxrUsdMayaGL\batchRenderer.cpp(1015): error C2065: 'HdRenderTagTokens': undeclared identifier [C:\maya_usd\build\Release\lib\mayaUsd.vcxproj]
C:\dev\maya-usd\lib\render\pxrUsdMayaGL\hdRenderer.cpp(184): error C2660: 'pxrInternal_v0_19__pxrReserved__::UsdImagingGLEngine::SetCameraState': function does not take 2 arguments [C:\maya_usd\build\Release\lib\mayaUsd.vcxproj]
C:\dev\maya-usd\lib\render\pxrUsdMayaGL\hdRenderer.cpp(185): error C2039: 'SetRenderViewport': is not a member of 'pxrInternal_v0_19__pxrReserved__::UsdImagingGLEngine' [C:\maya_usd\build\Release\lib\mayaUsd.vcxproj]

Which are quite a few less the 19.05 but still no success.

@BigRoy
Copy link
Contributor

BigRoy commented Oct 20, 2019

The specific versions to compile against are stated in the DEVELOPER.md. Note that it states a specific commit of the repositories and not solely the version, so make sure you check out that commit and build it.

@eldiren
Copy link
Author

eldiren commented Oct 20, 2019

Ok I'm down to two linker errors now.
"C:\maya_usd\build\Release\plugin\al\lib\AL_USDMaya_AL_USDMaya.vcxproj" (default target) (19) ->
(Link target) ->
wrapTranslatorContext.obj : error LNK2005: "class AL::usdmaya::nodes::ProxyShape const volatile * __cdecl boost::get_pointer(class AL::usdmaya::nodes::ProxyShape const volatile *)" (??$get_pointer@$$CDVProxyShape@nodes@usdmaya@AL@@@boost@@YAPEDVProxyShape@nodes@usdmaya@AL@@PEDV1234@@z) already defined in wrapProxyShape.obj [C:\maya_usd\build\Release\plugin\al\lib\AL_USDMaya_AL_USDMaya.vcxproj]
C:\maya_usd\build\Release\plugin\al\lib\AL_USDMaya\Release_AL_USDMaya.pyd : fatal error LNK1169: one or more multiply defined symbols found [C:\maya_usd\build\Release\plugin\al\lib\AL_USDMaya_AL_USDMaya.vcxproj]

@BigRoy
Copy link
Contributor

BigRoy commented Oct 20, 2019

Perfect! I believe a fix for that is described here: #50 (comment)


Also note that you can put a code block in your Github comments using markdown making your error logs more readable. To do so you can do 3x` before and after the text.

Making it look like:

Code block

Look up code blocks in Markdown :)

@eldiren
Copy link
Author

eldiren commented Oct 20, 2019

Yeah issue #50 (comment) fixed it. I completely removed the line like he did. In summary it was an issue of me not reading/not knowing about the https://github.com/Autodesk/maya-usd/blob/refactoring_sandbox/doc/DEVELOPER.md#branch-versions file, and combining the two fixed mentioned in previous issues. Thanks for the quick assistance.

@eldiren eldiren closed this as completed Oct 20, 2019
@kxl-adsk
Copy link

FYI. Merged the fix #58

@BigRoy
Copy link
Contributor

BigRoy commented Oct 20, 2019

@kxl-adsk be aware that this exact if statement didn't fix it on my end at the time as described here.

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

3 participants