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

Can't build samples after adding fbxsdk folder to the FindFbx.make #177

Open
NoirMorilec opened this issue Apr 12, 2024 · 0 comments
Open

Comments

@NoirMorilec
Copy link

Steps to reproduce:

  1. Go to project-folder/build-utils/cmake/modules and find FindFbx.cmake
  2. 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*"
  3. 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}")"
  4. Rebuilded via cmake .. and cmake --build ./
  5. Finally i've got fbx2ozz.exe in build folder for convertinx fbx
  6. Trying to compile any of the samples (for example, sample_foot_ik)
  7. 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.
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

1 participant