new include errors

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
iplayfast
Posts: 256
Joined: Sat Sep 07, 2019 6:55 am

new include errors

Post by iplayfast »

I just pulled from github and it looks like there's been a lot of sorting of include files, which I believe has cause compile errors.

In Src/Mod/Part/Gui/SectionCutting.cpp

It cannot find corecrt_math_defines.h. On my Linux-mint, apt-files doesn't know anything about it either, could this be a windows only file?

Code: Select all

// to avoid compiler warnings of redefining contents of basic.h
// later by #include <Gui/ViewProviderGeometryObject.h>
# include <corecrt_math_defines.h>
Commenting out this include seems to get past this error
leading to this error

Code: Select all

/home/chris/github/freecad-source/src/Mod/Drawing/App/AppDrawingPy.cpp:323:18: error: no member named 'Interpreter' in namespace 'Base'
    return Base::Interpreter().addModule(new Module);
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: new include errors

Post by adrianinsaval »

are you doing a clean compilation? do you have all the build dependencies installed?
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: new include errors

Post by GeneFC »

I think this was a mistake that was corrected a few hours later. Try again.

https://forum.freecadweb.org/viewtopic.php?f=10&t=69988

Gene
User avatar
iplayfast
Posts: 256
Joined: Sat Sep 07, 2019 6:55 am

Re: new include errors

Post by iplayfast »

Re pulling, has got it. Thanks!
Post Reply