The plugin doesn't work on windows
Just follow the tutorial , build and install the plugin , it says "Failed to open "tests/example1.ply" - Cannot determine file format for @tests/example1.ply@". I Don't have any idea about this issue. My USD version is 23.02, built in release. I Need help.
Hi @myartings , it can happen if the PXR_PLUGINPATH_NAME environment variable is not pointing the the correct folder. It should be PXR_PLUGINPATH_NAME=<where_you_installed_the_plugin>/plugin/usd: adding /plugin/usd to the location where the plugin was installed. Is that environment variable set correctly ?
@cpichard yes, I'm sure that I have set environment variable correctly. The setting is below.
Ok ! thanks for checking. I just compiled it on windows as well and I have the same issue as you.
I set TF_DEBUG environment variable to "*" prior to launching usdcat. Here is the log. assimp_log.txt
Thanks for the log @myartings. This is puzzling ... , it looks like the plugin is correctly registered and loaded but usd doesn't open the ply file for some reason. I have the same issue on my machine, but will be able to debug only next week-end. I'll keep you posted
Hi @myartings , It looks like the code creating the plugin factory wasn't compiled. Visual Studio removed it as it didn't have internal linkage. I pushed a fix, let me know if that works for you.