# HG changeset patch # User tomwalters # Date 1266862255 0 # Node ID d386805133f14036258959b793d1ab41878cc19d # Parent fff25824d1d11b71f335cd01c99133e8ea8389d2 -Added necessary header files for linux build -Temporarily commented out the test target in order to prevent loads of warnings from SCons. diff -r fff25824d1d1 -r d386805133f1 SConstruct --- a/SConstruct Mon Feb 22 17:51:27 2010 +0000 +++ b/SConstruct Mon Feb 22 18:10:55 2010 +0000 @@ -125,7 +125,7 @@ env.VariantDir('#' + build_dir, '#', duplicate = 0) # Look for the sources in the correct place -env.Append(CPPPATH = '#src') +env.Append(CPPPATH = ['#src']) # Dependencies deplibs = ['sndfile'] @@ -135,13 +135,6 @@ env.AppendUnique(LIBS = deplibs) -test_env = env -test_libs = ['gtest', 'gtest_main'] -#for depname in test_libs: -# test_env.ParseConfig('pkg-config --cflags --libs ' + depname) -test_env.AppendUnique(LIBPATH = '/usr/local/lib', - CPPPATH = '/usr/local/lib', - LIBS = test_libs) # Builder for the main program program = env.Program(target = os.path.join(build_dir, target_executable), @@ -150,7 +143,15 @@ env.Alias(target_executable, os.path.join(build_dir, target_executable)) env.Default(program) -test = test_env.Program(target = os.path.join(build_dir, test_executable), - source = map(lambda x: '#' + build_dir + '/src/' + x, - test_sources)) -env.Alias('test', os.path.join(build_dir, test_executable)) +#test_env = env.Clone() +#test_libs = ['gtest', 'gtest_main'] +#for depname in test_libs: +# test_env.ParseConfig('pkg-config --cflags --libs ' + depname) +#test_env.AppendUnique(LIBPATH = ['/usr/local/lib'], +# CPPPATH = ['/usr/local/lib'], +# LIBS = test_libs) + +#test = test_env.Program(target = os.path.join(build_dir, test_executable), +# source = map(lambda x: '#' + build_dir + '/src/' + x, +# test_sources)) +#env.Alias('test', os.path.join(build_dir, test_executable)) diff -r fff25824d1d1 -r d386805133f1 src/Modules/Output/FileOutputHTK.cc --- a/src/Modules/Output/FileOutputHTK.cc Mon Feb 22 17:51:27 2010 +0000 +++ b/src/Modules/Output/FileOutputHTK.cc Mon Feb 22 18:10:55 2010 +0000 @@ -32,6 +32,8 @@ # include # include // for opendir&friends #endif + +#include #include #include #include diff -r fff25824d1d1 -r d386805133f1 src/Modules/Strobes/ModuleParabola.cc --- a/src/Modules/Strobes/ModuleParabola.cc Mon Feb 22 17:51:27 2010 +0000 +++ b/src/Modules/Strobes/ModuleParabola.cc Mon Feb 22 18:10:55 2010 +0000 @@ -26,6 +26,7 @@ * \version \$Id:$ */ +#include #include #include "Modules/Strobes/ModuleParabola.h"