DarkRadiant - Compilation Problems

From Dark Wiki

Jump to: navigation, search

Contents

Insecure string pickle

If you receive this error immediately after running scons, try deleting the file site.conf. This should resolve the problem and scons should now do its work.

SyntaxError: invalid syntax

If you're getting this error message:

scons: Reading SConscript files ...
 File "<string>", line 1

   BUILD=""release""
                  ^
SyntaxError: invalid syntax

try deleting the file site.conf.

Scons complains about libs/string being a directory

When scons complains about libs/string right before starting to compile:

scons: building associated BuildDir targets: build/release
scons: *** [Errno 21] Is a directory: '/usr/src/darkradiant2/darkradiant/libs/string'
scons: building terminated because of errors.

this can be fixed by telling scons explicitly about libs/string being a directory. Add these lines after the module_env = g_env.Copy() statement in the sconscript:

module_env.Dir('libs/string')

See also

Personal tools