Search found 12844 matches

Go to advanced search

by wmayer
Sat Aug 18, 2018 12:59 pm
Forum: Install / Compile
Topic: compile freecad on buster
Replies: 3
Views: 39

Re: compile freecad on buster

The dependencies you listed are somewhat outdated and a few things are not needed any more: libtool, libsoqt4-dev Also checkinstall is not really needed. It was used to create a .deb package when doing a make install in order to get rid of installed files. But it suffices to have a local build of Fr...
by wmayer
Sat Aug 18, 2018 12:41 pm
Forum: Python scripting and macros
Topic: use freecad python module of Windows dev version
Replies: 3
Views: 91

Re: use freecad python module of Windows dev version

You only have to make sure that Nemetschek Allplan finds the FreeCAD.pyd file. Then you must first import FreeCAD in order to initialize the internals of FreeCAD. If your directory structure is OK FreeCAD sets up everything so that it finds its extension modules later. Afterwards you can import Part...
by wmayer
Sat Aug 18, 2018 12:33 pm
Forum: Help on using FreeCAD
Topic: Robot example crashes
Replies: 14
Views: 201

Re: Robot example crashes

I have compiled with internal KDL and I see no sign of the external one No, it's exactly the opposite. What bothers me is that when you build with the external KDL there are still files from the internal one that are compiled and (very possibly... I have to confirm) loaded and this probably creates...
by wmayer
Sat Aug 18, 2018 6:56 am
Forum: Help on using FreeCAD
Topic: Robot example crashes
Replies: 14
Views: 201

Re: Robot example crashes

The OSX guys are using this for the auto-builds I know but the way it is used is incorrect. If it were used correctly it would lead to a build failure because of the additional methods added by JRiegel. On macOS the Robot module sees the header of the local KDL, hence no build failure but links aga...
by wmayer
Sat Aug 18, 2018 6:45 am
Forum: Install / Compile
Topic: Building with Python 3, Qt 5 on Ubuntu 18.04
Replies: 27
Views: 482

Re: Building with Python 3, Qt 5 on Ubuntu 18.04

Perhaps that should be updated to first try PySide2 and then fall back to PyQt5? Then once PySide2 is available on enough platforms we can remove the fallback. When you look at the function PythonWrapper::fromQWidget then we use the C++ interface of shiboken/PySide. The C++ interface hasn't changed...
by wmayer
Fri Aug 17, 2018 7:38 pm
Forum: Help on using FreeCAD
Topic: Robot example crashes
Replies: 14
Views: 201

Re: Robot example crashes

In fact I had FREECAD_USE_EXTERNAL_KDL=ON. If I set it to OFF everything works Since on the local copy of the KDL has been added some extensions it doesn't make sense to allow to use an external KDL because both versions are neither source nor binary compatible. To fix this issue one has to revert ...
by wmayer
Fri Aug 17, 2018 7:38 am
Forum: TechDraw
Topic: Compiler warnings in TechDraw
Replies: 1
Views: 62

Compiler warnings in TechDraw

Hi, the travis build produces some warnings in the TechDraw code due to a self-assignment. The relevant part is: /home/travis/build/FreeCAD/FreeCAD/src/Mod/TechDraw/Gui/QGIViewDimension.cpp:605:25: warning: explicitly assigning value of variable of type 'double' to itself [-Wself-assign] tip = tip; ...
by wmayer
Thu Aug 16, 2018 4:04 pm
Forum: Install / Compile
Topic: Used to compile perfectly now it FAILS!
Replies: 7
Views: 128

Re: Used to compile perfectly now it FAILS!

Don't delete TopoShapePyImp.cpp, it's a manually written file. TopoShapePy.cpp and TopoShapePy.h are generated files in if they are inside the source tree delete them.
by wmayer
Thu Aug 16, 2018 3:59 pm
Forum: Help on using FreeCAD
Topic: Robot example crashes
Replies: 14
Views: 201

Re: Robot example crashes

I think more and more the real problem is that there is mix-up of the KDL in the source tree and an installed version of the library. FYI, there is a switch (FREECAD_USE_EXTERNAL_KDL) to use the installed KDL. Then I think it's best to check for the dependencies of the Robot.so and RobotGui.so modul...
by wmayer
Thu Aug 16, 2018 1:50 pm
Forum: Help on using FreeCAD
Topic: Robot example crashes
Replies: 14
Views: 201

Re: Robot example crashes

I think these two corrections are reasonable Nullifying the pointer is a must but for the if check it doesn't make a difference if you write if (!pcRoundComp && pcTrak) or if (!pcRoundComp && pcTrak.get()) because unique_ptr implements operator bool() const which will be automatically used. But wha...

Go to advanced search