Skip to content

Fix cmakedefine variable to fix the CI#33

Merged
bakpaul merged 1 commit intosofa-framework:masterfrom
hugtalbot:202604_fix_example_on_CI
Apr 10, 2026
Merged

Fix cmakedefine variable to fix the CI#33
bakpaul merged 1 commit intosofa-framework:masterfrom
hugtalbot:202604_fix_example_on_CI

Conversation

@hugtalbot
Copy link
Copy Markdown
Contributor

SOFA CI was failing due to the launch of a scene using the component IntensityProfileRegistrationForceField. However, this component is only conpiled if image is found. The CMake variable was not properly passed to the init.h

Error fixed

Error: ci/Github/github-workspace/_work/sofa/sofa/PR6074/sh-macos_clang_release/build/external_directories/fetched/Registration/examples/imageregistration.scn: [ERROR]   [InfoComponent(Not created (IntensityProfileRegistrationForceField))] Object type IntensityProfileRegistrationForceField<Vec3d,ImageUC> was not created  

This should fix definitely sofa-framework/sofa#6049

@bakpaul bakpaul merged commit 0947e37 into sofa-framework:master Apr 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants