[Solved] Arch Linux compilation started failing

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
hhassey
Posts: 247
Joined: Thu Jun 04, 2015 8:01 pm
Location: Ensenada, Mexico

[Solved] Arch Linux compilation started failing

Post by hhassey »

Hello I have been compiling FreeCAD every week at least. Since yesterday the compilation process is not working.
Since the compilation crash made my FreeCAD unusable I can not copy the typical help info from FreeCAD.

here is the error message. Hopefully somebody understands it better than me and can help with an insight.

Code: Select all

=================================================
Now run 'cmake --build /opt/freecad-source/freecad-build' to build FreeCAD
=================================================

-- Configuring done
CMake Error at /usr/lib/cmake/vtk/VTK-targets.cmake:1943 (set_target_properties):
  The link interface of target "VTK::verdict" contains:

    Verdict::verdict

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  /usr/lib/cmake/vtk/vtk-config.cmake:138 (include)
  cMake/FreeCAD_Helpers/SetupSalomeSMESH.cmake:29 (find_package)
  CMakeLists.txt:60 (SetupSalomeSMESH)


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
make: *** [Makefile:81: rebuild_cache] Error 1
Any Help is highly appreciated.
Last edited by hhassey on Tue Mar 14, 2023 7:13 pm, edited 1 time in total.
marioalexis
Posts: 124
Joined: Wed Jun 19, 2019 7:44 pm

Re: Arch Linux compilation started failing

Post by marioalexis »

Vtk 9.2 on Arch Linux has two new dependencies needed to compile: verdict and nlohmann-json
User avatar
hhassey
Posts: 247
Joined: Thu Jun 04, 2015 8:01 pm
Location: Ensenada, Mexico

Re: Arch Linux compilation started failing

Post by hhassey »

Thank you so much @marioalexis

just for completeness and to help anyone in the same situation. Problem was solved with

Code: Select all

sudo pacman -S verdict nlohmann-json
Post Reply