Line from 2 dots

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
demaxfa
Posts: 9
Joined: Sun Feb 26, 2012 7:01 pm

Re: Line from 2 dots

Post by demaxfa »

It looks also to me because i google "No SWIG wraped library loaded freecad" and it shows some sources that only includes swig 1.x
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Line from 2 dots

Post by wmayer »

That's an error message we write out in FreeCAD if the corresponding Swig interface cannot be found.

FYI: Querying the C++ internals of a Swig python module is a pain. For every minor release the API completely changes. On Debian that's normally not a problem because you have only one Swig version system-wide but on Windows e.g. you cannot rely on this. So, you need a general way to find out what the Swig version is. In FreeCAD the solution is a bit crude because we read in the generated python file and get the Swig number from there.
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Line from 2 dots

Post by yorik »

Werner, they seem to have the same problem on debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646374
and another same bug report here (which concerns the same debian version):
http://sourceforge.net/apps/mantisbt/fr ... php?id=637

I'm running the same debian with swig2 and everything runs/compiles fine... Should we tell the debian people to simply issue a new build?
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Line from 2 dots

Post by wmayer »

Hi Yorik, the issue was fixed here: http://free-cad.git.sourceforge.net/git ... 9ecda99d3b
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Line from 2 dots

Post by yorik »

Okay, thanks!
Thanks also for replying to the debian bug, I was unsure of what to tell there...
demaxfa
Posts: 9
Joined: Sun Feb 26, 2012 7:01 pm

Re: Line from 2 dots

Post by demaxfa »

Did you make corecktion of that SWIG 2.x bug?

Demaxfa
demaxfa
Posts: 9
Joined: Sun Feb 26, 2012 7:01 pm

Re: Line from 2 dots

Post by demaxfa »

I seeing that you corect the bug and now what compile from source or replace that source fikle or something other??

Dem
Post Reply