↑top

FreeCAD: How to fix if FreeCAD faile to start

Update: January 7, 2019
FreeCAD 0.17

This is a list to be checked when FreeCAD can not start after installation.

  1. Check username and install path

    If non-ascii character (i.e. Non-alphanumeric characters) exists in OS username or FreeCAD installation path ("C:\Program Files\FreeCAD $(version number)\bin\FreeCAD" in default on Windows), FreeCAD may fail to start. Make sure that your username and installation is only make from ascii character and if it has non-ascii character, change the name or path.

    On Windows, older username may remains in application data folder name or other after username changing. In such case, you should make new user on Windows and use FreeCAD as the user.

  2. Check installer

    Official FreeCAD can be downloaded from GitHub (FreeCAD releases page).

    For example, installer file name for each OS in version 0.17 is as following.

    • 64bit Windows: FreeCAD-0.17.13541.9948ee4-WIN-x64-installer.exe
    • 32bit Windows: FreeCAD-0.17.13528.5c3f7bf-WIN-x86-installer.exe
    • macOS: FreeCAD_0.17-13541.9948ee4-OSX-x86_64-Qt5.dmg
    • Linux: FreeCAD-0.17.13541.9948ee4.glibc2.17-x86_64.AppImage

    Download the installer again to make sure the installer is not broken and make sure it is the same size as the one previously downloaded. On Windows, you can check the file size by right-click the file.

    In some version of FreeCAD, SHA256 file hash value is provided. For example, you can get the file hash value for 64 bit Windows from a file "FreeCAD-0.17.13541.9948ee4-WIN-x64-installer-SHA256.txt". You can get actual file hash value with following command on Windows and make sure that is same as provided value.

    >"certutil -hashfile (FreeCAD installation path)\FreeCAD-0.17.13541.9948ee4-WIN-x64-installer.exe SHA256
  3. Check graphics cards

    • The system must support OpenGL for FreeCAD working (almost all modern systems support OpenGL).

    • If it is possible, install software that uses OpenGL, such as Blender, and check if it can start normally. If not, there can be a problem with the graphics card.

    • Make sure that the combination of graphics cards and installed driver is correct.

      It is reported in FreeCAD official page that ATI driver was installed for Intel onboard graphics card and FreeCAD crashed. If it is worng combination, uninstall the wrong driver and install FreeCAD again.

    • If it is possible, update your graphics cards driver to the latest version. Graphics card drivers are distributed on the pages of each manufacturer (NVIDIA, ATI, etc.).

  4. Check libraries

    If the system is inconsistent, FreeCAD may not be able to start because it cannot find the correct library.

    It is reported in FreeCAD official page that FreeCAD crash if GUI framework Qt3 or Qt4 is installed in an inappropriate way. In such case, FreeCAD may start normally after uninstalling the software that uses Qt3 or Qt4.

  5. Check FreeCAD configuration file

    If the FreeCAD configuration file is damaged, FreeCAD may crash. In that case, delete the corrupted FreeCAD configuration file as follows:

    • On Windows: Delete "%APPDATA%\FreeCAD\system.cfg"
    • On Mac or Linux: Delete "$HOME/.FreeCAD"

    After deleting the file, Check if FreeCAD starts.

  6. If the problem still exists...

    Start FreeCAD by command line with "--write-log" option to write log file (using command-prompt on Window, terminal on MacOS or Linux). And post the log file and a question about the problem to the FreeCAD forum.

    • Command line example (On Windows, FreeCAD 0.17)

      >"C:\Program Files\FreeCAD 0.17\bin\FreeCAD" --write-log
    • Log file path

      • On Windows: %APPDATA%\FreeCAD\FreeCAD.log
      • On Mac or Linux: $HOME/.FreeCAD/FreeCAD.log
    • FreeCAD Forum

参照