[FIXED] FreeCAD fails to compile Command.cpp

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

[FIXED] FreeCAD fails to compile Command.cpp

Post by abdullah »

Compilation error.

The latest commit I have is 6d3f8ffd8da649e96a7926feab6dfe414ba73501

Code: Select all

CMakeFiles/ReverseEngineeringGui.dir/Command.cpp.o: In function `CmdSegmentation::activated(int)':
src/Mod/ReverseEngineering/Gui/Command.cpp:376: undefined reference to `ReverseEngineeringGui::TaskSegmentation::TaskSegmentation(Mesh::Feature*)'
CMakeFiles/ReverseEngineeringGui.dir/Command.cpp.o: In function `CmdSegmentationManual::activated(int)':
src/Mod/ReverseEngineering/Gui/Command.cpp:406: undefined reference to `ReverseEngineeringGui::TaskSegmentationManual::TaskSegmentationManual()'
collect2: error: ld returned 1 exit status
src/Mod/ReverseEngineering/Gui/CMakeFiles/ReverseEngineeringGui.dir/build.make:348: recipe for target 'Mod/ReverseEngineering/ReverseEngineeringGui.so' failed
CMakeFiles/Makefile2:3413: recipe for target 'src/Mod/ReverseEngineering/Gui/CMakeFiles/ReverseEngineeringGui.dir/all' failed
Last edited by abdullah on Tue Mar 24, 2020 4:03 pm, edited 1 time in total.
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: FreeCAD fails to compile Command.cpp

Post by abdullah »

I do not know if I did something odd before, but I just pulled master at this commit:

Code: Select all

commit 107831e0a7769b4f09e2f8fdb0f8b59d100114dd (HEAD -> master, origin/master)
Author: wmayer <wmayer@users.sourceforge.net>
Date:   Tue Mar 24 15:15:25 2020 +0100

    PartDesign: [skip ci] fixes #0004254: Crash when canceling duplicate sketch in PartDesign
compiles perfectly.

Sorry for the alarm.
Post Reply