OpenUSD icon indicating copy to clipboard operation
OpenUSD copied to clipboard

How to use USD C++ API with CMake?

Open orion160 opened this issue 1 year ago • 9 comments

I could not find a <>.config.cmake.

orion160 avatar Feb 24 '24 14:02 orion160

#2488

orion160 avatar Feb 24 '24 16:02 orion160

Filed as internal issue #USD-9353

jesschimein avatar Feb 26 '24 18:02 jesschimein

@orion160, does the discussion in #2488 give you enough context to get unblocked on this?

FlorianZ avatar Feb 27 '24 18:02 FlorianZ

It does, but it seems that on pxr targets it there are some dependencies that are not listed in TARGET_RUNTIME_DLLS.

orion160 avatar Feb 28 '24 03:02 orion160

@orion160 Are you resolving that problem by adding them to your project? Which ones are they?

meshula avatar Mar 01 '24 08:03 meshula

Ohh yeah for the moment is for using USD on my project, and I am starting out with a Proof of concept template.

The libraries are tbb.dll and boost_python.dll. Which I solve with manually copying the contents of bin and lib. I would have no problem with checking out the build scripts and to see what can be done, also there seems that there is already some work in progress related with CMake install conventions.

#1082

orion160 avatar Mar 01 '24 18:03 orion160

Ah, tbb, and boost_python. If you're able to get the config files indicating those properly, please let us know what you discover.

meshula avatar Mar 01 '24 18:03 meshula

@meshula I was wondering what is internal issue. Do you have another place like phabricator where it is posted? Or it is just for Pixart people?

orion160 avatar Mar 02 '24 00:03 orion160

"Internal Issue" is the number in our internal database to help us organize things.

meshula avatar Mar 02 '24 06:03 meshula