http://forum.freecadweb.org/viewtopic.php?f=4&t=5212
It is ok now.
Search Criteria
Package Details: freecad-git 0.22.0.36999.ged77603af9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/freecad-git.git (read-only, click to copy) |
---|---|
Package Base: | freecad-git |
Description: | A general purpose 3D CAD modeler - git checkout |
Upstream URL: | https://www.freecad.org/ |
Licenses: | LGPL |
Conflicts: | freecad, freecad-appimage, freecad-appimage-git |
Provides: | freecad |
Submitter: | gborzi |
Maintainer: | greyltc (adrianinsaval) |
Last Packager: | adrianinsaval |
Votes: | 104 |
Popularity: | 0.015237 |
First Submitted: | 2012-03-03 13:46 (UTC) |
Last Updated: | 2024-04-30 00:29 (UTC) |
Dependencies (39)
- boost-libs
- coin (coin-gitAUR)
- fmt (fmt-gitAUR)
- glew (glew-libepoxyAUR, glew-waylandAUR, glew-osmesa-gitAUR, glew-wayland-gitAUR, glew-gitAUR)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- medAUR (med-openmpi)
- netcdf (netcdf-openmpi)
- opencascade (opencascade-gitAUR, opencascade-rcAUR, opencascade-f3dAUR)
- openmpi (openmpi-gitAUR)
- pyside6
- pyside6-tools
- python-matplotlib (python-matplotlib-gitAUR)
- python-packaging
- python-pivy
- python-ply
- python-yaml (python-yaml-gitAUR)
- qt6-5compat
- qt6-base (qt6-base-headlessAUR, qt6-base-gitAUR)
- qt6-svg
- qt6-tools
- shared-mime-info
- verdict
- vtk (vtk-gitAUR)
- xerces-c
- yaml-cpp
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- eigen (eigen-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- shiboken6 (make)
- swig (swig-gitAUR) (make)
- pugixml (pugixml-gitAUR) (check)
- calculix-ccxAUR (optional) – FEM solver backend
- graphviz (optional) – dependency graph support
- libspnav (libspnav-gitAUR) (optional) – 3D mouse support
- openscad (openscad-objects-gitAUR, openscad-gitAUR, openscad-qt6-gitAUR) (optional) – OpenSCAD support
- python-pip (optional) – support installing python dependencies for addons
Required by (4)
- freecad-a2plus-git (requires freecad)
- freecad-cadquery-git (requires freecad)
- freecad-fcgear-git (requires freecad)
- openmc-git (requires freecad)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 34 35 36 37 38 39 40 41 42 43 44 .. 57 Next › Last »
yangtsesu commented on 2013-12-29 11:09 (UTC)
eworm commented on 2013-12-24 12:01 (UTC)
The real error is some pages above. I suppose I do suffer the same issue at the moment. No idea how to fix this... Hope there will be a fix in git soon.
yangtsesu commented on 2013-12-24 10:37 (UTC)
[ 57%] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/PreCompiled.cpp.o
Linking CXX shared library ../../lib/libFreeCADGui.so
[ 57%] Built target FreeCADGui
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Mineko commented on 2013-11-07 00:15 (UTC)
It's a bit sketchy but I'm gonna let you handle that actually, I'm busy and can't keep it alive at the moment, sorry for the burden. :P
Anyway, by the time you read this you should be able to adopt it.
Samsagax commented on 2013-11-03 14:20 (UTC)
This package doesn't version properly.
Also you should not be asking questions to the user when running makepkg as stated here: https://wiki.archlinux.org/index.php/Creating_Packages#Warnings
The source checkout should be automatically done by makepkg adding the gitroot inside the 'sources' array as stated here: https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#VCS_sources Then you can version the package by adding a pkgver function: https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function
Thanks for keeping this one alive
Floxo commented on 2013-10-25 18:22 (UTC)
About OCC_INCLUDE_DIR not being found, you can also set
OCC_INCLUDE_DIR:PATH=/opt/opencascade/inc
in src/CMakeCache.txt for a quick mend - maybe better than a stray forgotten symlink.
@simeonfelis:
Thank you, finally a working freecad again! Haven't been able to compile cause of that for weeks now.
cbuehler commented on 2013-10-22 09:28 (UTC)
It is now fixed in the current git head: http://sourceforge.net/p/free-cad/code/ci/f061b6f7ea667e1d6944590d67b9b5b6659e4ba0/
cbuehler commented on 2013-10-21 18:45 (UTC)
@simeonfelis: see https://sourceforge.net/apps/mantisbt/free-cad/file_download.php?file_id=576&type=bug
simeonfelis commented on 2013-10-20 13:16 (UTC)
About the missing coin.tag file, which download fails during the build process, please have a look at the comment at the coin package (https://aur.archlinux.org/packages/coin/). Next, adjust the path in the build file freecad-code/cMake/FindCoin3DDoc.cmake:
diff --git a/cMake/FindCoin3DDoc.cmake b/cMake/FindCoin3DDoc.cmake
index 0bcb3d8..4afb8f6 100644
--- a/cMake/FindCoin3DDoc.cmake
+++ b/cMake/FindCoin3DDoc.cmake
@@ -20,8 +20,9 @@ IF (COIN3D_FOUND)
# Not yet implemented
ELSE(APPLE)
# Unix systems
+ message(STATUS "SEARCHING COIN DOC")^M
find_path(COIN3D_DOC_PATH index.html
- /usr/share/doc/libcoin60-doc/html
+ /usr/share/doc/coin/html^M
)
IF( EXISTS ${COIN3D_DOC_PATH})
message(STATUS "Coin3D doc is installed")
There is an error about wrong directive during cmake. Modify freecad-code/CMakeLists.txt:
git diff CMakeLists.txt
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 862cd7b..7d7dd56 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -361,14 +361,16 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
macro(fc_wrap_cpp outfiles )
# get include dirs
QT4_GET_MOC_FLAGS(moc_flags)
- QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ #QT4_EXTRACT_OPTIONS(moc_files moc_options ${ARGN})
+ QT4_EXTRACT_OPTIONS(moc_files moc_options moc_target ${ARGN})
# fixes bug 0000585: bug with boost 1.48
SET(moc_options ${moc_options} -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
foreach(it ${moc_files})
get_filename_component(it ${it} ABSOLUTE)
QT4_MAKE_OUTPUT_FILE(${it} moc_ cpp outfile)
- QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}")
+ #QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}")
+ QT4_CREATE_MOC_COMMAND(${it} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target} "${moc_target}"")
set(${outfiles} ${${outfiles}} ${outfile})
add_file_dependencies(${it} ${outfile})
endforeach(it)
Now I hit a compile error:
free-cad-code/src/Mod/Test/Gui/AppTestGui.cpp:31:24: fatal error: qrc_Test.cpp: No such file or directory
#include "qrc_Test.cpp"
^
compilation terminated.
make[2]: *** [src/Mod/Test/Gui/CMakeFiles/QtUnitGui.dir/AppTestGui.cpp.o] Error 1
make[1]: *** [src/Mod/Test/Gui/CMakeFiles/QtUnitGui.dir/all] Error 2
Maybe I find out what's missing here...
Pinned Comments
adrianinsaval commented on 2023-03-12 14:50 (UTC)
If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with
makepkg --nocheck
if you don't care about the functionality that is being reported as failing in the check.