Hi ! I downloaded the source package (vdrift-2007-03-23-src) and the full data package (vdrift-2007-03-23-data-full) and I'm having trouble compiling/ installing with scons. I have scons installed and I think I have all the dependencies. When I run "scons" I get this error:
Code:
gcc -o build/binreloc.o -c -Wall -Wno-non-virtual-dtor -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -I/usr/include/SDL src/binreloc.c
cc1: warning: command line option "-Wno-non-virtual-dtor" is valid for C++/ObjC++ but not for C
I think the problem is with the scons script where "gcc" should be "g++" ,like it is with all the other files, but I'm new to scons and can't figure out where this is.
All the other files build just fine. This is the only error I get.
So how do I edit this script and is there something else I should be doing? (like using some options for different gcc versions?)