Skip to content

fixed ORB_SLAM preproc breaking gui conditionals#1445

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

fixed ORB_SLAM preproc breaking gui conditionals#1445
matlabbe merged 1 commit intointrolab:masterfrom
laurence-diack-pk:master

Conversation

@laurence-diack-pk
Copy link
Copy Markdown
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
@matlabbe
Copy link
Copy Markdown
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