-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error install, This, apparently, the consequences of the update gcc #24
Comments
Can you please post the whole ninjia output? The quoted output below is only a warning,
|
everything seems to be science - -- Qt5WebKitWidgets: 5.212.0
|
/FreeCAD/src/Base/swigpyrun.inl:75:31: error: incorrect use of incomplete "PyInterpreterState" type {aka "struct _is"} cmake . -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-38-x86_64-linux-gnu.so" -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DOPENMPI_INCLUDE_DIRS=/usr/include -DPYSIDE_INCLUDE_DIR="/usr/include/PySide2" -DPYSIDE_PYTHONPATH="/usr/lib/python3.8/site-packages/PySide2" -DPYSIDE_TYPESYSTEMS="/usr/share/PySide2/typesystems" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" -DCMAKE_INSTALL_DATAROOTDIR="/usr/share" -DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" -DFREECAD_USE_OCC_VARIANT="Official Version" -DFREECAD_USE_EXTERNAL_PIVY=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/freecad/lib -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 -DPYTHON_PACKAGES_PATH=/usr/lib/python3.8/site-packages/ make[1]: *** [CMakeFiles/Makefile2:653: src/Base/CMakeFiles/FreeCADBase.dir/all] error 2 |
I have cherry-picked the fix from upstream. Please sync my branch and try again. |
git clone https://github.com/realthunder/FreeCAD.git or cmake . -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-38-x86_64-linux-gnu.so" -DBUILD_QT5=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DOPENMPI_INCLUDE_DIRS=/usr/include -DPYSIDE_INCLUDE_DIR="/usr/include/PySide2" -DPYSIDE_PYTHONPATH="/usr/lib/python3.8/site-packages/PySide2" -DPYSIDE_TYPESYSTEMS="/usr/share/PySide2/typesystems" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" -DCMAKE_INSTALL_DATAROOTDIR="/usr/share" -DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" -DFREECAD_USE_OCC_VARIANT="Official Version" -DFREECAD_USE_EXTERNAL_PIVY=ON -DCMAKE_INSTALL_LIBDIR=/usr/lib/freecad/lib -DPYTHON_INCLUDE_DIR=/usr/include/python3.8 -DPYTHON_PACKAGES_PATH=/usr/lib/python3.8/site-packages/ cmake --build /home/us/FreeCAD -j8 [ 22%] Copying /home/us/FreeCAD/src/Mod/Fem/femobjects/_FemSolverCalculix.py to /home/us/FreeCAD/Mod/Fem/femobjects/_FemSolverCalculix.py |
if many times in a row, despite mistakes, to give the command of assembly, up to periodically falling down to 53% FreeCAD/src/Mod/Part/App/PropertyTopoShape.cpp:399:18: error: "os" was not declared in this scope; did you mean "Cos"? |
Can you please provide your system details, like what Linux variant are you using, which version, etc. |
At the same time, the usual freecad build from git (https://aur.archlinux.org/packages/freecad-git) is successfully built, launched and running. Here is the information about it - OS: Arch Linux (GNOME/gnome-xorg) |
I'll do a merge with upstream this month. We'll see how it goes then. |
a good solution would probably be to collect as an appimage |
The installation question is closed - all the work is done. |
The program does not compile.
I am simply compiling https://github.com/FreeCAD/FreeCAD.git = it is going to be installed, it works.
I collect https://github.com/realthunder/FreeCAD.git the assembly crashes with an error -
../src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp:4159:25: warning: “u” may be used without initialization in this function [-Wmaybe-uninitialized] 4159 | newUV.SetX (ElCLib :: InPeriod (newUV.X (), u1, u2)); | | | ~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ninja: build stopped: subcommand failed. ==> ERROR: A build () failure has occurred. Interrupt... ==> ERROR: Makepkg was unable to compile freecad-linkstage3-git. ==> Restart assembly freecad-linkstage3-git? yes / no [y / n] ==> ----------------------------------------------- -----------
This, apparently, the consequences of the update gcc -
pacman -Qs gcc local/gcc 9.2.0-4 (base-devel) The GNU Compiler Collection - C and C++ frontends local/gcc-fortran 9.2.0-4 Fortran front-end for GCC local/gcc-libs 9.2.0-4 (base) Runtime libraries shipped by GCC local/lib32-gcc-libs 9.2.0-4 (multilib-devel) 32-bit runtime libraries shipped by GCC
But the fact is that the program of the main branch is assembled and installed, but this branch is not.
tried so -
cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr/lib/freecad" \ -DCMAKE_INSTALL_DATAROOTDIR="/usr/share" \ -DCMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" \ -DFREECAD_USE_OCC_VARIANT="Official Version" \ -DBUILD_QT5=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DOPENMPI_INCLUDE_DIRS=/usr/include \ -DPYSIDE_INCLUDE_DIR="/usr/include/PySide2" \ -DPYSIDE_LIBRARY="/usr/lib/libpyside2.cpython-${PYVER//.}m-${CARCH}-linux-gnu.so" \ -DPYSIDE_PYTHONPATH="/usr/lib/python${PYVER}/site-packages/PySide2" \ -DPYSIDE_TYPESYSTEMS="/usr/share/PySide2/typesystems" \ .
& tried so -
cmake -GNinja .. \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX='/usr/lib/freecad' \ -DCMAKE_INSTALL_LIBDIR='/usr/lib/freecad/lib' \ -DCMAKE_INSTALL_DOCDIR='/usr/share/freecad/doc' \ -DCMAKE_INSTALL_DATADIR='/usr/share/freecad' \ -DFREECAD_USE_OCC_VARIANT="Official Version" \ -DFREECAD_USE_EXTERNAL_PIVY=ON \ -DFREECAD_USE_QT_FILEDIALOG=ON \ -DBUILD_QT5=ON \ -DPYTHON_EXECUTABLE=/usr/bin/python
The text was updated successfully, but these errors were encountered: