-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Do you have an example of the proper command line to build with FBX support on Windows? I'm trying to build with FBX sdk support, and installed the SDK as described in the instructions.
Here is the current command line with FBX_SDK_ROOT.
D:\upr\usd-25.02\built>cmake -S USD-Fileformat-plugins -B usd-fileformat-release -DCMAKE_INSTALL_PREFIX=bin -DCMAKE_BUILD_TYPE=Release -DUSD_FILEFORMATS_ENABLE_DRACO=ON -Dpxr_ROOT=usd-release -DUSD_FILEFORMATS_ENABLE_FBX=ON -DFBX_SDK_ROOT="C:\Program Files\Autodesk\FBX\FBX SDK\2020.3.7"
Unfortunately, cmake fails to find the FBXSDK here. Interestingly, it seems to be able to find FBX_INCLUDE_DIRS, but not FBXSDK_LIBRARIES. It might be something weird that only happens on my machine, but if you have a known-good command line that would be a great first step.
CMake Error at C:/Program Files/CMake/cmake-3.28.0/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find FBXSDK (missing: FBXSDK_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake/cmake-3.28.0/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindFBXSDK.cmake:132 (find_package_handle_standard_args)
fbx/CMakeLists.txt:10 (find_package)