Re: Compiling instruction

Posted by R. van Twisk on
URL: https://forum.librecad.org/Compiling-instruction-tp4569484p4582402.html

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.