re: Nix qeustion, C++, not screenreader safe
@Mae @mei I have included that yet scons still cannot find the package.SConstruct file:
import os
env=Environment()
env.PrependENVPath("PATH", os.getenv("PATH"))
env.PrependENVPath("PKG_CONFIG_PATH", os.getenv("PKG_CONFIG_PATH"))
env.ParseConfig('pkg-config --cflags --libs sfml-all')
env.Program('project', Glob('src/*.cpp'), LIBS = ['sfml-window', 'sfml-system', 'sfml-graphics'])
Result:
scons: Reading SConscript files ...
Package sfml-all was not found in the pkg-config search path.
Perhaps you should add the directory containing `sfml-all.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sfml-all' found
OSError: 'pkg-config --cflags --libs sfml-all' exited 1:
File "/home/hertog/Projects/C-lang/V_For_Vector/SConstruct", line 6:
env.ParseConfig('pkg-config --cflags --libs sfml-all')
File "/nix/store/nbcmcfp74924axc8898cf8yc2q5j38jp-scons-4.7.0/lib/python3.12/site-packages/SCons/Environment.py", line 1773:
return function(self, self.backtick(command), unique)
File "/nix/store/nbcmcfp74924axc8898cf8yc2q5j38jp-scons-4.7.0/lib/python3.12/site-packages/SCons/Environment.py", line 806:
raise OSError(f'{command!r} exited {cp.returncode}')