ana(conda) windows packaging

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ana(conda) windows packaging

Post by sgrogan »

looo wrote:I think so. But using Handle(..) is for sure the better way to "handle" this ;) See the patch we are using now:
https://github.com/looooo/FreeCAD_Conda ... mesh.patch
OK I'll try this. Any concerns with backwards compatibility with OCC 0.16/6.7?
"fight the good fight"
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: ana(conda) windows packaging

Post by looo »

I don't think so. The Handle is used allready in other places...
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: ana(conda) windows packaging

Post by looo »

I have added the bld.bat to the .FreeCAD_debug dir. So it's now possible to build without pulling the source all the time. Also with --dirty the same build dir is used.
The patches are applied to: https://github.com/looooo/FreeCAD/tree/py3-win. This way it's easier to modiefy the source.

With all modules on I get this linking error now:

Code: Select all

NETGENPlugin_Mesher.cpp.obj : error LNK2019: Verweis auf nicht aufgel÷stes externes Symbol ""public: void __cdecl ...
and another interesting one with only GUI=ON:

Code: Select all

C:\Users\fc-builder\projects\FreeCAD\src\Gui\WinNativeGestureRecognizers.cpp(43): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "private/qevent_p.h": No such file or directory
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ana(conda) windows packaging

Post by sgrogan »

looo wrote: With all modules on I get this linking error now:
Hey looo,
Can you build with "-DBUILD_FEM_NETGEN=FALSE" ?
If I am making noise please tell me, but I think there are still some OCCT7.1 specific things.
I don't see it by your posts but on win we use pcl by default.
"fight the good fight"
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: ana(conda) windows packaging

Post by looo »

sgrogan wrote:
See the second error I have added.
I don't see it by your posts but on win we use pcl by default.
not yet. There is a package for all os but not from conda-forge.
https://anaconda.org/ccordoba12/pcl
https://anaconda.org/ccordoba12/python-pcl

Theoretically it would be possible to use another channel, but the better way is to upload a package to the freecad-channel.
So we just have to get the recipe and build this library.
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: ana(conda) windows packaging

Post by sgrogan »

looo wrote: See the second error I have added.
Maybe try"-DBUILD_REVERSEENGINEERING-FALSE"
Reverse Enginerring depends on PCL that depends on Eigen3.
I'm getting Reverse Enginerring prolems here on occt7>occt7.1 upgrade on VS2013. it If I "-DBUILD_REVERSEENGINEERING-FALSE" I still get Reverse Engineering gui "SelfTest" failures.
"fight the good fight"
User avatar
looo
Veteran
Posts: 3941
Joined: Mon Nov 11, 2013 5:29 pm

Re: ana(conda) windows packaging

Post by looo »

thanks for the hint. I think Gui will be next... It seems every module has some little problems
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: ana(conda) windows packaging

Post by DeepSOIC »

looo wrote:and another interesting one with only GUI=ON:

Code: Select all

C:\Users\fc-builder\projects\FreeCAD\src\Gui\WinNativeGestureRecognizers.cpp(43): fatal error C1083: Datei (Include) kann nicht geöffnet werden: "private/qevent_p.h": No such file or directory
If you are building against Qt5, this should have been screened off by conditional compilation (as well as custom gesture recognizers). I'll take a look at what may be wrong there.
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: ana(conda) windows packaging

Post by peterl94 »

Netgen needs patching again. I have a working patch here and will make a PR to your netgen branch soon.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: ana(conda) windows packaging

Post by DeepSOIC »

In

Code: Select all

#if QT_VERSION < 0x050000
#if(WINVER >= 0x0601) // need Windows 7
#define GESTURE_MESS
#endif
#endif // QT_VERSION < 0x050000
Is QT_VERSION correct, I wonder... In any case, try commenting out #define GESTURE_MESS, so you can go on.
Post Reply