Compiling instruction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Compiling instruction

hsrai
On page http://librecad.org/cms/home/get-involved.html link for "Compiling Instruction" is missing.

--
H.S.Rai
--
H.S.Rai
Reply | Threaded
Open this post in threaded view
|

Re: Compiling instruction

davinder
According to me the compiling instruction is here for librecad
http://librecad.org/cms/home/from-source/linux.html
But can anybody tell me, if i want to enable some extra features which are disabled from default but included in software, then what should be the command or instruction for that?
Thanks in advance.
Reply | Threaded
Open this post in threaded view
|

Re: Compiling instruction

Rallaz
2011/7/13 davinder [via LibreCAD]
<[hidden email]>:
> According to me the compiling instruction is here for librecad
> http://librecad.org/cms/home/from-source/linux.html
> But can anybody tell me, if i want to enable some extra features which are
> disabled from default but included in software, then what should be the
> command or instruction for that?
> Thanks in advance.
>

If you want to activate the code between the tags
#ifdef RS_OPT_PYTHON
#endif

add in librecad.pro:
DEFINES += RS_OPT_PYTHON=1
INCLUDEPATH += pathToPithon/include

Rallaz
Reply | Threaded
Open this post in threaded view
|

Re: Compiling instruction

R. van Twisk
Administrator
In reply to this post by davinder
David,

currently we don't have any feature that can be build by adding arguments to qmake or make.
We are (well Ralaz mostly is) on a plugin interface but that's not stable enough.

You can however, run the qmake and make magic in the plugins directory to build
the current supplied plugins for testing. However, this is not yet part of the general build.

Ries 


On Jul 13, 2011, at 12:40 AM, davinder [via LibreCAD] wrote:

According to me the compiling instruction is here for librecad
http://librecad.org/cms/home/from-source/linux.html
But can anybody tell me, if i want to enable some extra features which are disabled from default but included in software, then what should be the command or instruction for that?
Thanks in advance.


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

Reply | Threaded
Open this post in threaded view
|

Re: Compiling instruction

R. van Twisk
Administrator
In reply to this post by Rallaz
Rallaz,

have you been testing the python features within LibreCAD? Does that work?

Ries
On Jul 13, 2011, at 2:00 AM, rallazz [via LibreCAD] wrote:

2011/7/13 davinder [via LibreCAD]
<<a href="x-msg://1320/user/SendEmail.jtp?type=node&amp;node=4581778&amp;i=0" target="_top" rel="nofollow" link="external">[hidden email]>:
> According to me the compiling instruction is here for librecad
> http://librecad.org/cms/home/from-source/linux.html
> But can anybody tell me, if i want to enable some extra features which are
> disabled from default but included in software, then what should be the
> command or instruction for that?
> Thanks in advance.
>

If you want to activate the code between the tags
#ifdef RS_OPT_PYTHON
#endif

add in librecad.pro:
DEFINES += RS_OPT_PYTHON=1
INCLUDEPATH += pathToPithon/include

Rallaz



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

Reply | Threaded
Open this post in threaded view
|

Re: Compiling instruction

Rallaz

>have you been testing the python features within LibreCAD? Does that work?

Only a small compile-test

The rs_python require a python<3.0 and fail to compile
as rs_python.h says :
/**
 * Python scripting support.
 *
 * OBSOLETE

For rs_simplepython adding in librecad.pro:

DEFINES += RS_OPT_SIMPLEPYTHON=1
INCLUDEPATH += /usr/include/python
LIBS += -L/usr/lib64/python/config -lpython2.6

It compile and link, but this is the most I've tried because only speak C/C++ and AutoLisp