Hi,
I was going to make an application to generate parametric CAD models and was going to use FreeCAD for that which has all features I need and much more. My only problem with it is the size of the whole thing. I don’t need any features for robotics, ships etc. Is there a bare bones FreeCAD engine I could use in my project, without having to go through all the code and compile the features I need?
Run Cmake GUI and just tick the modules you require, then compile. You can also run FreeCAD without a GUI, on the command line without having to recompile.
Yes, you can compile your own FreeCAD and switch off some modules. EDIT: Jim was faster
Actually, I think it might work to simply delete the modules you are not interested in from FreeCAD installation (Path/To/FreeCAD/Mod)
Hello erlin, what OS are you on. A good portion of the size of FreeCAD is the dependencies. Some of which you won’t need if your not compiling all the modules.
On windows the core FreeCAD is about 30MB the release package with dependencies is about 210MB. debug package is about double that. If you post which modules you need I maybe able to help pare it down.
OK give me a few hours to put something together.
Do you know http://www.dependencywalker.com/?
This can help to find the missing dependencies if we go to far.
Thank you for your help. I was trying to compile it myself but I am missing libraries. SWIG was easy to find but not so much luck with the rest.
Is there any guide I can follow to compile it? I am using visual studio compiler with cmake.
So I am using now the new Freecad libraries and I get this error. Are these problems common?
CMake Error at C:/Program Files/CMake/share/cmake-3.6/Modules/FindBoost.cmake:1753 (message):
Unable to find the requested Boost libraries.
Boost version: 1.55.0
Boost include path: C:/Users/Erlin
Hysenbelliu/Desktop/FreeCADLibs_11.3_x64_VC12/include
Could not find the following Boost libraries:
boost_filesystem
boost_program_options
boost_regex
boost_signals
boost_system
boost_thread
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:595 (find_package)
CMake Error at CMakeLists.txt:599 (MESSAGE):
========================================
boost not found, install the components:
* filesystem
* program_options
* regex
* signals
* system
* thread
========================================