FreeCAD Development In Windows 7 32 Bit Environment

Having trouble installing or compiling FreeCAD? Get help here.
Posts: 1
Joined: Sat Dec 31, 2016 4:25 am

FreeCAD Development In Windows 7 32 Bit Environment

Postby nirajrdave » Thu Jan 12, 2017 6:59 am

Please give me proper list of installation steps including required applications, tools & utilities with version information.
I have development environment:
[list=]Windows 7 32 bit
Visual Studio 12 2013
D:\Python27 (i.e Python 2.7)
CMake 3.7.1[/list]

Also, I have followed guideline described in

[bug]But I cannot compile project properly using CMake[/bug]. Please guide me.

User avatar
Posts: 3050
Joined: Wed Oct 22, 2014 5:02 pm

Re: FreeCAD Development In Windows 7 32 Bit Environment

Postby sgrogan » Thu Jan 12, 2017 11:17 pm

Hello nirajrdave! Welcome to FreeCAD and the Forum :)

It's best to use these instructions
it's also not up to date :oops: But closer.

Assuming that you are trying to build 0.17 from master (hopefully using git) you will need a newer libpack You'll want to pick the x86 version.
You will need to disable BUILD_FEM_NETGEN with CMake. You should then be able to do a release build. I haven't added any debug libs for OCCT7 to the libpack, if you need a debug build let me know and I should be able to provide the OCCT7 debug libs.

In the libpack FreeCAD provides a Python2.7 compiled with VC12 2013. You want to link against this one for FreeCAD, the default 2.7 uses VC9 2008.

QT4 is used in the libpack. In current master FreeCAD has been ported to add QT5 support. If you need this. First make sure that your QT5 is compiled with VC12 2013. Then you will need to compile Pyside2 and Shiboken2 yourself. wmayer today has posted some instructions. Then some work to get everything into the libpack will be necessary. I haven't started this yet so if you go this route we can learn together.

Please ask questions where I'm not clear. I think trying to build an x86 release build linked against the libpack referenced above is the way to start.
PS: I suggest to use the CMake Gui as it's easier to see problems until everything is set up.