user1234 wrote: ↑Wed Jan 25, 2023 3:44 pm
...
OS? OK, maybe not that importand for this case, but often useful.
30 min ago i also made a update and build, no issues so far (Debian 11).
This seem somehow related to
https://github.com/FreeCAD/FreeCAD/comm ... f6b1b97720, but since you have python 3.9, this error should not occur.
This did not happen the last time I built FC. (48 hours ago) on this Debian 11 and the -D was not needed then.
I have 2 Debian 11 machines (one fails, one not)...same BASH script on both.
This is filled automatic while run cmake. I would delete first inspect the CMakeCache.txt if there are lines from python they still use <3.8. Then just delete them and run cmake again. If it still uses it, then you have still some remains of python <3.8 in your OS. Normally when you config then per hand to the newest version of python, it should work.
grep shows only python 3.9 mentioned.
I cleared the build directory and now it ignores the make "-D PYTHON_INCLUDE_DIR=/usr/include/python3.9" and says it found 3.7.
Code: Select all
-- Found Python3: /usr/local/bin/python3.7 (found version "3.7.3") found components: Interpreter Development Development.Module Development.Embed
CMake Error at cMake/FreeCAD_Helpers/SetupPython.cmake:158 (message):
To build FreeCAD you need at least Python 3.8
Call Stack (most recent call first):
CMakeLists.txt:46 (SetupPython)
Note: i would use cmakegui, it is very easy to use and the overview with grouped and advanced option (checkboxes) is really good.
..
I have been told this before. I must be missing something. When I run cmakegui, it produces a GUI, that I find not easy, no clue what the check boxes mean/do, I have no idea what the grouping means or indicates, I have no idea what the advanced checkboxes mean. It looks like it would be quite useful if you already know what it means/does. I have yet to find a tutorial that get me to the "very easy to use" or maybe I simply don't know what it provides for the user. I simply don't know how to use it to fix/troubleshoot issues like this.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."