Skip to content
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

aed799c breaks build error: ‘ModuleShiboken’ was not declared in this scope #12540

Closed
2 tasks done
clytle374 opened this issue Feb 22, 2024 · 2 comments
Closed
2 tasks done
Labels
Bug This issue or PR is related to a bug Packaging/building Related to building, compiling or packaging FreeCAD

Comments

@clytle374
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

Gentoo Linux, git code, shiboken2-5.15.12

`[ 68%] Building CXX object src/Mod/TechDraw/App/CMakeFiles/TechDraw.dir/TechDraw_autogen/mocs_compilation.cpp.o
/home/cory/sources/freecad-source/src/Gui/PythonWrapper.cpp: In function ‘PyObject* Gui::importShiboken()’:
/home/cory/sources/freecad-source/src/Gui/PythonWrapper.cpp:433:43: error: ‘ModuleShiboken’ was not declared in this scope
433 | PyObject* obj = PyImport_ImportModule(ModuleShiboken);
| ^~~~~~~~~~~~~~

`

Git bisect shows failure starts at commit aed799c

Let me know if I can be of any help. Thanks

Full version info

git checkout aed799ce2af62ea214d3ffa525e60ddc72f947a2

Subproject(s) affected?

None

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Bug This issue or PR is related to a bug Missing: confirmation Missing confirmation from other testers Packaging/building Related to building, compiling or packaging FreeCAD labels Feb 22, 2024
wwmayer added a commit to wwmayer/FreeCAD that referenced this issue Feb 22, 2024
@clytle374
Copy link
Author

Somehow pyside was turned off in cmake(I didn't know it was now an option to not have it), I turned pyside on and it builds fine now.
And the pressing preferences crash went away as the same time.

So I guess this can be closed.

@clytle374
Copy link
Author

Build with pyside turned off is verified as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug Packaging/building Related to building, compiling or packaging FreeCAD
Projects
None yet
Development

No branches or pull requests

2 participants