Re: Compiling instruction

Posted by Rallaz on
URL: https://forum.librecad.org/Compiling-instruction-tp4569484p4583042.html


>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