Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
http://wiki.librecad.org/index.php/LibreCAD_Installation_from_Source#Custom_files I'm curious: has anyone tried building with boost 1.6? |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1984 posts
|
just tested on my Gentoo, not problem with boost-1.60.0
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
![]() |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1984 posts
|
need to figure out why there's a boost problem (1.54.0 and after) on win32
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
I downloaded 1.6 and unzipped it in the same folder as 1.53
then went to custom.pro to find it unedited... so I'm not sure how the boost version is determined. It built a working installer; however I don't know what version of boost it used (I did edit custom.pro to indicate 1.6). |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1984 posts
|
better to unzip it to an empty folder.
for example: for example after unzipping it: you have something similar to: ~/tmp/boost/boost_1_60_0/boost/version.hpp for *nix, I found the scripts are looking for: include/boost/version.hpp then, I rename the folder structure to: ~/tmp/boost/include/boost/version.hpp to specify boost header location: specify the variable BOOST_DIR in custom.pri BOOST_DIR=/home/dli/tmp/boost/
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
Thanks.
I found boost.pri
... [show rest of quote]
I didn't need to edit custom.pro when using 1.53 because it selects 1.53 automatically if custom.pro is not edited.
So I would say my build today did use 1.6 because I edited custom.pro Note that custom.pro is not ignored by git; my edits show up in the diffs. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
Is it supposed to be custom.pro or custom.pri?
How is else:isEmpty( BOOST_DIR ) checking custom.pro? I see in the unix section BOOST_DIR = $$findBoostDirIn( /usr /usr/local /usr/pkg /opt/local ) but there is nothing similar in the win32 section. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
I found in common.pri
Is this sufficient or do we need the same in boost.pri? http://doc.qt.io/qt-4.8/qmake-project-files.html#built-in-functions-and-control-flow |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
I got rid of 1.53 and built again... no problems.
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
This post was updated on Feb 04, 2016; 10:20pm.
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/294a6a4ea87a2177cbf6dc96f62abc2464d44d50 However... it turns out there are building issues with 1.6 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-157070685 http://www.joshuaburkholder.com/blog/2013/09/17/how-to-compile-boost-using-gpp-std-cpp11-from-mingw/ |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
The commit from the aforementioned github issue
https://github.com/pcb2gcode/pcb2gcode/commit/c4413c61115181faca8d5c548ea0b6f03e4140cc which links to https://svn.boost.org/trac/boost/ticket/9240 |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
870 posts
|
I think I solved it by adding
QMAKE_CXXFLAGS += -fext-numeric-literals under CONFIG += c++11 in src.pro |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1984 posts
|
great!
hope that's not a problem for all platforms (OSX, BSD, even raspberry pi).
|
Free forum by Nabble | Edit this page |