Login  Register

Re: Changing directory structure

Posted by R. van Twisk on Feb 16, 2012; 5:16pm
URL: https://forum.librecad.org/Re-Changing-directory-structure-tp5488280p5490143.html


On Feb 16, 2012, at 11:52 AM, ClaudeQC [via LibreCAD] wrote:


Hello Ries,


On 15/02/2012 21:51, R. van Twisk [via LibreCAD] wrote:

 >
 > Main reason why I couldn't continue was because now that LibreCAD depends
 > on c++11,I need to download a install new compilers (I have gcc 4.2
 > apparently)
 > and I need to update this to 4.4 or 4.6.
 >

- Interesting.

- Will all people wanting to built LibreCAD will have to do such
   an update to GCC ?

No, this should only count for OSX user who are still on gcc 4.2
Any OSX user I will personally help getting up-and-running.


- Is the price (all built problems) for being able to use C++11
   is a little bit too high ?

As far as I can tell, we should be fine on Windows where the Qt SDK comes with  gcc 4.4
However, I don't want separate gcc installations on windows because tat opens
a whole new set of problems like re-compiling Qt, that's what we need to prevent.
On Windows it should only need a Qt SDK + Qt Creators (comes in a package)
and unzipping boost into a directory. 
I am working to make this more clear and give better warnings during the qmake process.


How I started LibreCAD (and CADuntu at the time) I re-organise the build
method so it was just about running qmake and make. Because of this
it was/is very easy to build on various operating systems, and before each commit
I would even test it on Linux, OSX and Windows. This to ensure I
would gain more developers. The old QCad build was crap….


So, my goal for this reorganization is to keep the builds KISS for Windows and Linux, 
but I am ok for OSX if it needs a different compiler then what comes with OSX
because on OSX there is ports that has gcc 4.4, 4.5 and 4.6, to make it fairly easy.

Boost is unfortunately needed but I am thinking to use https://github.com/ryppl/boost-svn/tree/Boost_1_48_0
so a user can checkout LibreCAD with git in one command.

If a user doesn't have git, then it is properly going to be as simple as downloading boost and unzip it
into a directory.


Ries





Claude





If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Re-Changing-directory-structure-tp5488280p5490041.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.
NAML