How to install scons on Mac OS X
Hi, Can you please tell me how can I install scons on MacOSX? I don't see a mac specified download from http://www.scons.org/ Thank you. ...
Hi, Can you please tell me how can I install scons on MacOSX? I don't see a mac specified download from http://www.scons.org/ Thank you. ...
Hi, I'm using a MinGW-based GCC cross-compiler to compile a project which uses SCons as its build system. The Python is a native 2.6.2 version, not specifically compiled for MinGW (or Cygwin). However, I am running into a problem with the build: F:/pedigree/compilers/bin/i686-elf-gcc -o build\src\user\applications\apptest\ma in.obj -...
Hello, I've been using sbox with a Make-based codebase with no problems. Now I'm using a scons-based codebase, and am getting some odd problems. It seems that within scratchbox, scons can't find g++. For example, it attempts to execute things like: o hello hello.c When it should be doing: g++ -o hello hello.c So presumably its g++ s...
Hi, I am trying to build a program using the command scons compiler = msvc. During this action a link error appears: LNK1181: cannot open input file 'QtCore4.lib'. I have installed Qt for Windows from http://qt.nokia.com/downloads (the free version) and tried to find the requested lib file, but only found the same dll file. Any advice ...
I have an SCons script that takes around 10 seconds just to find out that nothing needs to be rebuild, which feels awfully long for what is essentially a rather small project. Reading the SConscript itself takes just a second or two, most of the time is spend at the: scons: Building targets ... step. How can I find out what exactly s...
Is there a way to tell scons to use a particular file to setup the default environment? I am using TI DSPs and the compiler is something different than cc; I'd like to have one "environment file" that defines where the compiler is, and what the default flags are, and then be able to use this for several projects. Any suggestions? ...
I'm using a compiler for TI DSPs, so the default CC and LINK and AS tools make no sense. Below is an SConstruct file that works for me, I'm wondering if anyone has suggestions to make it better. Some problems: I'd like to somehow tell it that my .obj files should go in a different directory than the source .c files. (it needs to know w...
Hello, I am using scons with option compiler=msvc for building c++ modules. After compilation finishes there is no error, however when I want to start the application I get an error which indicates linking problem with QtCore.dll. However, the problem is a little bit deeper. The application uses a dll file also built using scons compile...
Is there any way to cause scons to force-build all targets when the Sconstruct file itself changes? (reasoning being that if I change a build setting, I can't rely on a previously built file to be consistent with the new build settings) ...
I need to run two programs in sequence as part of a custom builder. One of them is a program that I'm stuck with and can't deal with absolute/relative paths so I have to use the chdir=1 option of the Builder so that its actions run in the same directory as the target. The second is a script that is located in the tools subdirectory of...
I would like to build all .c files in a subdirectory. I figured I would do something like this: src/foo/SConscript contains: import glob; here = Dir('.'); sourcefiles_raw = glob.glob(here.path+'/*.c'); print(sourcefiles_raw); # print them for debugging # ... then build them (in the process, making scons aware of dependencies) src/SCo...
scons uses MD5 hashes rather than file mod times to determine if a dependency needs to be built. I want this to be the default behavior. But is there any way to force it to assume a particular file is out of date (the equivalent of "touch"), besides editing the file to make it different? edit: use case: binary file F is used to create...
Hi I'm building environment with Scons. For Windows platform (link) linker gets Scons setup of my share library path with prefix - disk name I've library on NFS: libs='\\\\share\\lib\\lib' In scons I have: env.Append(LIBPATH = [libs]) result is that the linker invokes something like this: /LIBPATH:D:\share\lib\lib ...
I have a C-Wrapper for my C++ Framework. Since this should run on mac and windows I am using scons: env = Environment() env.Append(CPPPATH = ['./']) env.Append(LIBS = 'kernel32.lib') env.Append(LIBPATH = 'C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib') env.SharedLibrary(target='warpLib', source='warplib.cpp') Simple Versions of w...
I have an SConstruct file for scons: env = Environment() env.Append(CPPPATH = ['./']) env.Append(LIBS = 'kernel32.lib') env.Append(LIBPATH = 'C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib') env.SharedLibrary(target='warpLib', source='warplib.cpp') If I don't inlcude 'kernel32.lib' and specifiy the LIBPATH I get a link error. My s...
So I have scons working with an alternate build location (build/ for my output files, src/ for my input files) and it works great. Except for one thing. I'm using an IDE (TI Code Composer 4) to debug my program. I point the IDE at the output executable to run it, and what it uses for the source files for debugging is the build/ director...
I know next to nothing about Python and I'm using scons. (if you're reading this and know Python but not scons, you can probably help me!) Could someone help me out and explain how I could have a variable that contains two lists? I'm not sure of the syntax. Is this right? buildinfo = // how do you initialize a variable that has fields?...
I'm trying to compile the SndObj library from the source. Supposedly it's as easy as just running 'scons' from the top of the SndObj directory. I get this: nhnifong@ubuntu-nate:~/SndObj-2.6.6$ scons scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead. File "/home/nhnifong...
I have been using cmake to build my projects out of source, which is really convenient as you avoid polluting your source directory with unnecessary files. Assuming the CMakeLists.txt is in the current directory, this could be done as follows: mkdir build cd build cmake .. make How can I do the same in scons? ...
I know there is a way to make vim run scons instead of make when I press :make. I had an option that did this in my ~/.vimrc but I removed it a while ago and forgot what it was. ...