Login  Register

Building LibreCAD from Github fork

Posted by joseph_oc on Mar 28, 2013; 9:22am
URL: https://forum.librecad.org/Building-LibreCAD-from-Github-fork-tp5707778.html

I hope this makes sense: Ive prepared the following note from my journal.


my system configuration partly includes the following:

Qt Creater 1.3.1
Based on Qt 4.6.3 (32 bit)
Built on Oct 6 2010 at 11:57:38

Maybe the version of Qt Creater I am using is at fault?

I have NOT saved my edit, I am still on the librecad project as I downloaded.


• Steps:

Caution: my lingo may be off, never tried to 'run' (build) such a large project!!

1) Created my free git account.

2) forked the 'master branch' of the  https://github.com/LibreCAD/LibreCAD repository

3) executed the following command from a Bash shell:
                git clone git://github.com/joseph-oc/LibreCAD

4) attempted to build all of the 'forked' repo within QtCreated. build all 'librecad'.

5) received the following error output from the compiler:
==============================
lib/engine/rs_ellipse.h:363: error: expected ';' before 'private'
make[2]: *** [../../generated/librecad/obj/rs_actioninterface.o] Error 1
make[2]: Leaving directory `/home/joseph/LibreCAD/librecad/src'
make[1]: Leaving directory `/home/joseph/LibreCAD/librecad'
make: Leaving directory `/home/joseph/LibreCAD'
make[1]: *** [sub-src-make_default] Error 2
make: *** [sub-librecad-make_default-ordered] Error 2
Exited with code 2.
Error while building project librecad
When executing build step 'Make'
================================

6) went into rs_ellipse.h, line 363 did compiler recommended edit before 'private' (ADDED SEMI-COLON) and received the following error:

=====================================
lib/engine/rs_ellipse.h:345: error: expected ';' before '<' token
make[2]: *** [../../generated/librecad/obj/rs_actioninterface.o] Error 1
make[2]: Leaving directory `/home/joseph/LibreCAD/librecad/src'
make[1]: Leaving directory `/home/joseph/LibreCAD/librecad'
make: Leaving directory `/home/joseph/LibreCAD'
make[1]: *** [sub-src-make_default] Error 2
make: *** [sub-librecad-make_default-ordered] Error 2
Exited with code 2.
Error while building project librecad
When executing build step 'Make'
=====================================

7) do not want to proceed with my own additions regarding "Surveying" until I can get a clean copy on my system.

That is where I stand.  Look forward to comments and suggestions so I can move on.

Thanks so much for your time.

Sincerely,

Joe O