cbernardo / kicad3Dmodels

Tools for parametric generation of 3D VRML models for KiCad
http://cbernardo.github.io/kicad3Dmodels
GNU General Public License v3.0
15 stars 2 forks source link

Compiling error. #2

Open firew4lker opened 8 years ago

firew4lker commented 8 years ago

When trying to compile the program:

/tmp/kicad3Dmodels-master/src/py/kc3d.cpp:62:80: error: no matching function for call to ‘boost::python::class_std::basicofstream<char, boost::noncopyable::noncopyable>::def(const char [5], , ofs_open_var)’ .def( "open", &std::ofstream::open, ofs_open_var() )

cbernardo commented 8 years ago

Did you install the libboost-python dev package?

firew4lker commented 8 years ago

Yes I have intalled boost-libs.

/usr/lib/libboost_python3.so /usr/lib/libboost_python3.a
/usr/lib/libboost_python3.so.1.60.0
/usr/lib/libboost_python.so
/usr/lib/libboost_python.a
/usr/lib/libboost_python.so.1.60.0

cbernardo commented 8 years ago

Ah, these tools still use Python 2.7 and I haven't had time to make it all Python3 compatible as well.

Gasman2014 commented 7 years ago

Hi Cirilo

Python 2.7 vs 3.5 problems here too - bit beyond my coding abilities to fix, sadly, otherwise would have done a pull.

Have you looked at QEDA? (http://qeda.org) This is a new parametric footprint / library / pretty generator for KiCad which seems to be under quite active development. Sadly it doesn't currently produce a 3d model but a really simple QEDA definition could convey all the data required to generate a 3D model. If QEDA and your parametric scripts could be linked it would be a really neat combination :)

John