Re: boost
Posted by
ravas on
Feb 04, 2016; 7:15pm
URL: https://forum.librecad.org/boost-tp5712887p5712906.html
I don't know how build-windows.bat built an installer without any errors, but...
when I loaded up Qt creator today it complained about not being able to find the 1_53 folder.
It turns out boost.pri does need to include(custom.pro)
https://github.com/LibreCAD/LibreCAD/commit/294a6a4ea87a2177cbf6dc96f62abc2464d44d50However... it turns out there are building issues with 1.6
C:\boost\boost_1_60_0\boost\math\constants\constants.hpp:278: error: unable to find numeric literal operator 'operator""Q'
BOOST_DEFINE_MATH_CONSTANT(third, 3.333333333333333333333333333333333333e-01, "3.33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333e-01")
^
C:\boost\boost_1_60_0\boost\math\constants\constants.hpp:316: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
BOOST_DEFINE_MATH_CONSTANT(e_pow_pi, 2.314069263277926900572908636794854738e+01, "2.31406926327792690057290863679485473802661062426002119934450464095243423506904527835169719970675492196759527048e+01")
^
Note the recommendation: "use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes"
I'm not sure how to set that up for the project.
Possibly relevant links I found:
https://github.com/pcb2gcode/pcb2gcode/pull/19#issuecomment-157070685http://www.joshuaburkholder.com/blog/2013/09/17/how-to-compile-boost-using-gpp-std-cpp11-from-mingw/