Member Site Forums Rosetta 3 Rosetta 3 – General SCons compilation error (Windows XP, 32bit) Reply To: SCons compilation error (Windows XP, 32bit)

#4133
Anonymous

    disclaimer: i don’t and never have compiled on windows.

    The problem is that SCons does not recognize your compiler architecture. This is not strictly speaking a problem with Rosetta, but rather the SCons configuration files.

    Look for the file /tools/build/user.settings. It contains directions for SCons when building. You need to get it to look something like this:

    > settings = {
    > “user” : {
    > “prepends” : {
    > },
    > “appends” : {
    > “flags”:{ “compile”:[“march=i686”] },
    > },
    > “overrides” : {
    > },
    > “removes” : {
    > “flags”:{“compile”:[“march=pentium4″,”march=athlon”] },
    > },
    > }
    > }

    Where “march=i686” is a fairly generic compiler architecture. I don’t know what you need on the remove line, but you need it to remove whatever the architecture it’s not finding is (not necessarily pentium4 or athlon). You might need to put the “flags”:{“compile”:[march=i686″]} line on the overrides group instead.

    You should also try the SCons documentation if this doesn’t help.