Go to project-folder/build-utils/cmake/modules and find FindFbx.cmake
Find "set(FBX_SEARCH_LIB_PATH "${_FBX_ROOT_DIR}lib/${FBX_CP_PATH}/${FBX_PROCESSOR_PATH}")".
This path becomes "C:\Program Files\Autodesk\FBX\FBX SDK\2020.3.7\lib\VS2022\x64", but my actual FBX SDK lib folder is "C:\Program Files\Autodesk\FBX\FBX SDK\2020.3.7**lib\x64**"
I changed
"set(FBX_SEARCH_LIB_PATH "${_FBX_ROOT_DIR}lib/${FBX_CP_PATH}/${FBX_PROCESSOR_PATH}")"
to
"set(FBX_SEARCH_LIB_PATH "${_FBX_ROOT_DIR}lib/${FBX_PROCESSOR_PATH}")"
Rebuilded via cmake .. and cmake --build ./
Finally i've got fbx2ozz.exe in build folder for convertinx fbx
Trying to compile any of the samples (for example, sample_foot_ik)
Got this error:
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\astro_max_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\astro_maya_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\baked_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_atlas_raw.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_crackhead_additive.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_crossarms.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_curl_additive.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_walk.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\robot_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\ruby_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\seymour_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\animation_v6_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\animation_v6_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_animation_v3_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_animation_v3_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_skeleton_v1_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_skeleton_v1_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\skeleton_v2_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\skeleton_v2_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\a5e775893e5f115cde3164df621a206e\BUILD_DATA.rule' exited with code 1.
Steps to reproduce:
"set(FBX_SEARCH_LIB_PATH "${_FBX_ROOT_DIR}lib/${FBX_CP_PATH}/${FBX_PROCESSOR_PATH}")"
to"set(FBX_SEARCH_LIB_PATH "${_FBX_ROOT_DIR}lib/${FBX_PROCESSOR_PATH}")"
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(254,5): error MSB8066: Custom build for 'C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\astro_max_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\astro_maya_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\baked_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_atlas_raw.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_crackhead_additive.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_crossarms.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_curl_additive.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\pab_walk.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\robot_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\ruby_skeleton.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\4234b4ce934293deac96b3095977e90f\seymour_animation.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\animation_v6_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\animation_v6_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_animation_v3_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_animation_v3_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_skeleton_v1_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\raw_skeleton_v1_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\skeleton_v2_be.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\9c2cd04ec0dbe1d5a79a890899193afa\skeleton_v2_le.ozz.rule;C:\Projects\OzzAnimation\build\CMakeFiles\a5e775893e5f115cde3164df621a206e\BUILD_DATA.rule' exited with code 1.