Skip to content

fixed ORB_SLAM preproc breaking gui conditionals - #1445

Merged
matlabbe merged 1 commit into
introlab:masterfrom
laurence-diack-pk:master
Feb 4, 2025
Merged

matlabbe merged 1 commit into
introlab:masterfrom
laurence-diack-pk:master

Conversation

@laurence-diack-pk

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

Copy link
Copy Markdown
Contributor

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
@matlabbe

matlabbe commented Feb 4, 2025

Copy link
Copy Markdown
Member

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