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

[Arch Linux] Errors dictionary.cpp.o & value.cpp.o when building #2384

Closed
adro79 opened this issue Apr 10, 2023 · 3 comments
Closed

[Arch Linux] Errors dictionary.cpp.o & value.cpp.o when building #2384

adro79 opened this issue Apr 10, 2023 · 3 comments

Comments

@adro79
Copy link

adro79 commented Apr 10, 2023

Hello there,

I'm still trying to build USD in Arch Linux, I had some progress with the previous issues but still needs some support.

Now those are the errors I get when building 23.02 with my AUR package:

FAILED: pxr/base/vt/CMakeFiles/vt.dir/dictionary.cpp.o
/usr/bin/c++ -DBOOST_PYTHON_NO_PY_SIGNATURES -DGLX_GLXEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DMFB_ALT_PACKAGE_NAME=vt -DMFB_PACKAGE_MODULE=Vt -DMFB_PACKAGE_NAME=vt -DPXR_BUILD_LOCATION=usd -DPXR_PLUGIN_BUILD_LOCATION=../plugin/usd -DVT_EXPORTS=1 -Dvt_EXPORTS -I/home/adro/Applications/AUR/usd/src/build/pxr/base/vt -I/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt -I/home/adro/Applications/AUR/usd/src/build/include -isystem /home/adro/Applications/AUR/usd/src/tbb2019/usr/include -isystem /usr/include/python3.10 -Wall -Wformat-security -pthread -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-local-typedefs -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_BIND_GLOBAL_PLACEHOLDERS -O3 -DNDEBUG -std=c++14 -fPIC -MD -MT pxr/base/vt/CMakeFiles/vt.dir/dictionary.cpp.o -MF pxr/base/vt/CMakeFiles/vt.dir/dictionary.cpp.o.d -o pxr/base/vt/CMakeFiles/vt.dir/dictionary.cpp.o -c /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.cpp
In file included from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.cpp:26:
/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.h: In function ‘size_t pxrInternal_v0_23__pxrReserved__::hash_value(const VtDictionary&)’:
/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.h:275:24: error: no match for call to ‘(pxrInternal_v0_23__pxrReserved__::TfHash) (std::map<std::__cxx11::basic_string<char>, pxrInternal_v0_23__pxrReserved__::VtValue, std::less<void> >&)’
  275 |         return TfHash()(*dict._dictMap);
      |                ~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /home/adro/Applications/AUR/usd/src/USD/pxr/base/tf/enum.h:33,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/tf/stringUtils.h:36,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/value.h:40,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.h:31:
FAILED: pxr/base/vt/CMakeFiles/vt.dir/value.cpp.o
/usr/bin/c++ -DBOOST_PYTHON_NO_PY_SIGNATURES -DGLX_GLXEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DMFB_ALT_PACKAGE_NAME=vt -DMFB_PACKAGE_MODULE=Vt -DMFB_PACKAGE_NAME=vt -DPXR_BUILD_LOCATION=usd -DPXR_PLUGIN_BUILD_LOCATION=../plugin/usd -DVT_EXPORTS=1 -Dvt_EXPORTS -I/home/adro/Applications/AUR/usd/src/build/pxr/base/vt -I/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt -I/home/adro/Applications/AUR/usd/src/build/include -isystem /home/adro/Applications/AUR/usd/src/tbb2019/usr/include -isystem /usr/include/python3.10 -Wall -Wformat-security -pthread -Wno-deprecated -Wno-deprecated-declarations -Wno-unused-local-typedefs -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -DBOOST_BIND_GLOBAL_PLACEHOLDERS -O3 -DNDEBUG -std=c++14 -fPIC -MD -MT pxr/base/vt/CMakeFiles/vt.dir/value.cpp.o -MF pxr/base/vt/CMakeFiles/vt.dir/value.cpp.o.d -o pxr/base/vt/CMakeFiles/vt.dir/value.cpp.o -c /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/value.cpp
In file included from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/value.cpp:30:
/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.h: In function ‘size_t pxrInternal_v0_23__pxrReserved__::hash_value(const VtDictionary&)’:
/home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/dictionary.h:275:24: error: no match for call to ‘(pxrInternal_v0_23__pxrReserved__::TfHash) (std::map<std::__cxx11::basic_string<char>, pxrInternal_v0_23__pxrReserved__::VtValue, std::less<void> >&)’
  275 |         return TfHash()(*dict._dictMap);
      |                ~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /home/adro/Applications/AUR/usd/src/USD/pxr/base/tf/enum.h:33,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/tf/stringUtils.h:36,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/value.h:40,
                 from /home/adro/Applications/AUR/usd/src/USD/pxr/base/vt/value.cpp:26:
/home/adro/Applications/AUR/usd/src/USD/pxr/base/tf/hash.h:452:10: note: candidate: ‘template<class T> decltype ((pxrInternal_v0_23__pxrReserved__::Tf_HashImpl(std::declval<pxrInternal_v0_23__pxrReserved__::Tf_HashState&>(), forward<T>(obj), 0), size_t())) pxrInternal_v0_23__pxrReserved__::TfHash::operator()(T&&) const’
  452 |     auto operator()(T &&obj) const ->
      |          ^~~~~~~~

Link to the full log

@sunyab
Copy link
Contributor

sunyab commented Apr 10, 2023

Filed as internal issue #USD-8219

@adro79 adro79 closed this as completed Apr 11, 2023
@spiffmon
Copy link
Member

Hi @adro79 , I note you also reopened the other issue? If you have not already, could you try again with the current head, as there were more fixes a week or so ago?

@adro79
Copy link
Author

adro79 commented Apr 11, 2023

Yes, I opened this issue by mistake. I was applying this pull and maybe was conflicting since it's already merged in dev.

Now I'm only having the issue mentioned in the other issue regarding drawModeStandin.cpp.o

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