[solved] problems with boost Library 61

Having trouble installing or compiling FreeCAD? Get help here.
Manja
Posts: 21
Joined: Tue Apr 03, 2018 6:35 am

[solved] problems with boost Library 61

Postby Manja » Wed May 15, 2019 6:43 am

Hello,
i have following problem with compiling actual version 0.19 from FreeCAD:

Code: Select all

/home/myhome/free-cad-code-0.18/src/Gui/GestureNavigationStyle.cpp: In member function ‘boost::statechart::result Gui::GestureNavigationStyle::IdleState::react(const Gui::GestureNavigationStyle::Event&)’:
/home/myhome/free-cad-code-0.18/src/Gui/GestureNavigationStyle.cpp:275:24: error: ‘no_reaction’ is not a member of ‘boost::statechart::result {aka boost::statechart::detail::safe_reaction_result}’
                 return sc::result::no_reaction;
i think, the boost Library v. 61 from SuSE Leap 42.3 ist to old.

SuSE Leap 42.3 64 Bit
Last edited by Manja on Wed May 15, 2019 8:47 am, edited 1 time in total.
with kind regards, Berthold

Linux SuSE leap 42.3 , 64Bit
fjullien
Posts: 51
Joined: Wed Jan 17, 2018 7:46 am
Location: France

Re: problems with boost Library 61

Postby fjullien » Wed May 15, 2019 7:15 am

Hi,

I had the same problem yesterday. After I contacted DeepSOIC in PM, he told me there is a mistake in his code:
DeepSOIC wrote:
Wed May 15, 2019 6:43 am
Can you please replace all occurences of

Code: Select all

sc::result::no_reaction
... with ...

Code: Select all

forward_event()
... in GestureNavigationStyle.cpp, and see if it compiles?
And indeed it works after that. I think he'll do a PR for that.

Franck.
Manja
Posts: 21
Joined: Tue Apr 03, 2018 6:35 am

Re: [solved] problems with boost Library 61

Postby Manja » Wed May 15, 2019 8:49 am

Hello Franck,
thank you !!!! :)
with kind regards, Berthold

Linux SuSE leap 42.3 , 64Bit
User avatar
DeepSOIC
Posts: 6518
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: [solved] problems with boost Library 61

Postby DeepSOIC » Wed May 15, 2019 10:13 am