User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
Admin
Private
I am tog I am studying ICT at HU..
I fucking love
godot and mango juice.

tog prefers the ways of the water and the wind

Het grote genot vind ik in het toeval.

Your views are not my own

Suburbane nostalgie in z'n puurste vorm
Location
Ik ga hard op Lunetten
Birthday
2004-06-04
Webbed site https://hertog.hermitcollective.net
Email hertog@hermitcollective.net
Pronouns Whatever you want me to be
Signal Hertog.04
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@adamargam ​:real:​
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
I can't believe they put Dutch Jax on my mastodon instance
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@Murmur76 ban of a
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@keyaura ​:neobread_kisser:​
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@endali @Juki this you?
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
Sometimes I really wonxer who is behind the "themtog" account they are so real
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
Bread ​:neobread_woozy:​
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@loller10000 ​:real:​
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@loller10000 real
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
there was no previous @keyaura on mastodon.hermitcollective.net you all know this
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @Mae @mei very well I shall do as such
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
hinges are kinda cringe tbh?
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @Mae @mei oh shit! I missed that part!
it works!

thank you so much!

This working saves me a fuck ton of trouble, do you have a kofi or the like where I can buy you a coffee?
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
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}')
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @Mae @mei hmm

scons complains sfml-all was not found in the pkg-config search path.

But running ``
pkg-config --cflags --libs sfml-all `` does return the right paths
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @Mae @mei ah I see

I have checked for typos like every 30 minutes for the past week this shit has me absolutely kerfuffled
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @mei @Mae ​:adespair:​

I'll first try the stenv thingy mabobber

(I did have scons working fine in another script (and had the same issue with cmake))

but this does give some new ideas ty both
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
@fiore I shall trust you on this
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
re: Nix qeustion, C++, not screenreader safe @mei resulted in:
/nix/store/hgw57m0jh2w10jsv8x86ng267pm5sla8-gcc-wrapper-13.3.0/bin/g++
User avatar
tog Hertog tog @hertog@mastodon.hermitcollective.net
1y
Sometimes I am glad I didn't get into emacs

I still think it looks very cool tho