Open kungfooman opened 1 year ago
I just type scons and this error message shows:
scons
scons: Reading SConscript files ... pushing a default config saving updated configuration emit build rules emit configuration: config: target=['radiant', 'q3map2', 'q3data', 'setup'] config=['release'] parse /home/kung/GtkRadiant/libs/synapse/synapse.vcxproj 1 source files parse /home/kung/GtkRadiant/libs/cmdlib/cmdlib.vcxproj 1 source files parse /home/kung/GtkRadiant/libs/mathlib/mathlib.vcxproj 4 source files parse /home/kung/GtkRadiant/libs/l_net/l_net.vcxproj 2 source files Package opengl was not found in the pkg-config search path. Perhaps you should add the directory containing `opengl.pc' to the PKG_CONFIG_PATH environment variable Package 'opengl', required by 'glu', not found OSError: 'pkg-config glu --cflags --libs' exited 1: File "/home/kung/GtkRadiant/SConstruct", line 70: c.emit() File "/home/kung/GtkRadiant/config.py", line 213: self.emit_radiant() File "/home/kung/GtkRadiant/config.py", line 104: radiant = SConscript( os.path.join( build_dir, 'SConscript.radiant' ) ) File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 661: return method(*args, **kw) File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 598: return _SConscript(self.fs, *files, **subst_kw) File "/usr/lib/python3/dist-packages/SCons/Script/SConscript.py", line 287: exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals) File "/home/kung/GtkRadiant/SConscript.radiant", line 12: settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True ) File "/home/kung/GtkRadiant/config.py", line 247: env.ParseConfig( 'pkg-config glu --cflags --libs' ) File "/usr/lib/python3/dist-packages/SCons/Environment.py", line 1612: return function(self, self.backtick(command)) File "/usr/lib/python3/dist-packages/SCons/Environment.py", line 599: raise OSError("'%s' exited %d" % (command, status))
Any ideas how to fix it?
OS:
cat /etc/linuxmint/info RELEASE=21 CODENAME=vanessa EDITION="Cinnamon" DESCRIPTION="Linux Mint 21 Vanessa"
Fixed it using apt install libglvnd-dev. Should this be part of "How to build" @TTimo?
apt install libglvnd-dev
I just type
scons
and this error message shows:Any ideas how to fix it?