1,318 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
3
answers
246
views
How to automatically convert from Python 2 to 3 now that 2to3 is removed [closed]
I'm playing around with an old project that uses Scons for its build system. Unfortunately that was written with Python 2, which I'm trying to avoid having to install.
The script 2to3 has been removed ...
2
votes
1
answer
75
views
Mongodb v6.0.16 boost error when building from source with scons: run_it<FutureExecutorContinuationSharedState>' has no member named 'that'
I'm trying to build an older version of Mongod on Arch Linux.
It's required by software called Deadline that I intend to use; Deadline's documentation says the following: "For maximum ...
0
votes
0
answers
63
views
Directing scons to link local instal of a library instead of system version
I have an obsolete system installation of a library (yaml-cpp) on an RPM Linux for which I do not have admin permissions. This library is a dependency for a some custom code that I am writing for a ...
0
votes
0
answers
50
views
Limit number of parallel processes using a license in SCons
We are using SCons for builds where certain tools need licenses which are limited to a number smaller than the available CPU cores. The same build also have plenty of stuff to do with non-licensed ...
0
votes
0
answers
51
views
Control build order in Scons for CPU core utilization
We face the challange that our SCons builds take longer than they would have to because the CPU core utilization is not optimal.
Let's say we have 1 (in reality more) big object file and many small ...
1
vote
1
answer
168
views
How to fix scons "Cannot create a file when that file already exists" error?
I was about to build a Godot extension that I made in C++. It was going fine with the building of the godot-cpp library, but I got an error when I tried to build the plugin (with my code) by running ...
0
votes
2
answers
55
views
How to run scons in the same python process that invoked it?
We have a python program that runs commands using scons. Currently scons runs in a subprocess which make it more difficult to debug or collect test coverage information.
Is it possible to invoke scons ...
0
votes
1
answer
83
views
How to represent scons dependency on an optional file?
TL;DR, how to add scons dependency on an optional file which may or may not exist?
Let's say that we have an scons builder like the one below where the command processor reads an optional config file ....
0
votes
1
answer
48
views
How to represent a scons builder that generates two files?
We have this scons builder which generates two files foo.asc and foo.pnr. Is there a way to represent it? For example by specifying suffix = [".asc", ".pnr"].
As far as we can see,...
0
votes
1
answer
100
views
Build execuable that depend on codes that belonged to Godot source code using SCons
Here environment:
Windows 11
Visual Studio 2022 with Windows 11 SDK, MSVC v143 for complier
vscode as editor
SCons v4.8.1 with python 3.12.7
Godot 4.4 source code, git repo here
I am not very familar ...
0
votes
1
answer
303
views
PlatformIO: Best way to combine Bootloader and Application Images
I am working with two distinct Platformio projects for an stm32f4 target: a bootloader and an application. Eventually, the bootloader should be able to update the application code over the network but ...
0
votes
1
answer
98
views
How do I fix an error while building Godot
I am attempting to build Godot and while doing that I got this error
ERROR: modules\register_module_types.gen.cpp: In function 'void initialize_modules(ModuleInitializationLevel)':
modules\...
0
votes
1
answer
53
views
How to run scons tests in a customized environment?
I'm using windows 2022, where Visual Studio and Windows SDK are in a customized location.
I download the scons 4.0.0 source from github and then build scons. All works fine.
Then I modify some code in ...
0
votes
3
answers
508
views
Error "name 'BoolVariable' is not defined" when using SCons on Godot with C++
I'm trying to use Godot with C++ on Windows and I'm following the GDExtension guide.
When I get to the part where I have to build the C++ bindings and I execute scons platform=windows I see this:
...
0
votes
1
answer
755
views
Undefined reference to xdr_float,...,etc
Having trouble linking to the 'rpc' library. My system is OpenSUSE Leap 15.5. Here is the output from the shell (Bash):
gcc -o build/user/gee/Mautocorr.o -c -O2 -x c -std=gnu11 -Wall -pedantic -...