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
Build fails with SCons 4.2.0 and newer #351
Comments
This is a problem with scons 4.2.0 |
Hi, @jcoffland any thoughts on a workaround for this? Am facing the same issue on Fedora 35 (where 4.2.0 is the earliest available scons). Thanks! |
Install it with pip3, as a workaround Make sure to uninstall any package-manager installed versions of SCons or user-local pip package |
I'm facing similar problems on Arch Linux from the AUR packages camotics (https://aur.archlinux.org/packages/camotics#comment-849352) and camotics-git (https://aur.archlinux.org/packages/camotics-git#comment-835431). Is related to a larger task to get it compiling with scons 4.3.0 (and possibly also 4.2.0)? |
Thanks to the link @jhdub23 provided I came up with this patch to build the latest commit with scons 4.3.0.
|
I added a fix that should work for both newer and older SCons versions. |
Thanks! :) |
Thank you. |
I'm using the script in scripts/build to build camotics with embedded_v8 and cbang
Keep getting this error and warning:
scons: warning: QT5DIR variable is not defined, using moc executable as a hint (QT5DIR=/usr)
... (some stuff in here checking libraries/headers)
...
scons: *** [build/camotics/qt/moc_AboutDialog.cc] TypeError
_defines() missing 2 required positional arguments: 'target' and 'source'' trying to evaluate
${_defines(QT5_MOCDEFPREFIX, CPPDEFINES, QT5_MOCDEFSUFFIX, env)}'scons: building terminated because of errors.
The text was updated successfully, but these errors were encountered: