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

fixed ORB_SLAM preproc breaking gui conditionals #1445

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

laurence-diack-pk
Copy link
Contributor

@laurence-diack-pk laurence-diack-pk commented Jan 30, 2025

setting RTABMAP_ORB_SLAM true would put the if statements all out of whack in the perferences dialog:

/home/grover/vision_dev/rtabmap/guilib/src/PreferencesDialog.cpp: In member function ‘void rtabmap::PreferencesDialog::setParameter(const string&, const string&)’: /home/grover/vision_dev/rtabmap/guilib/src/PreferencesDialog.cpp:4904:7: error: expected ‘}’ before ‘else’ 4904 | else | ^~~~ /home/grover/vision_dev/rtabmap/guilib/src/PreferencesDialog.cpp:4894:6: note: to match this ‘{’ 4894 | { | ^

There may be a cleaner way to do it, but his fixed my build

@matlabbe matlabbe merged commit 618e839 into introlab:master Feb 4, 2025
1 check passed
@matlabbe
Copy link
Member

matlabbe commented Feb 4, 2025

Looks like that commit 97c5636#diff-7282862b01571b1485f94b60c0e593f502fff1cd2d4fe04c14ed633225242cdb broke it. Thanks for the fix!

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

Successfully merging this pull request may close these issues.

2 participants