[Scons-users] Something is broken in my SConscript, I don`t know what..

Pierre-Luc Boily pierreluc.boily at gmail.com
Fri Oct 14 11:44:03 EDT 2016


Hello.  I am trying to re-write an SConscript to something better, but my
new version (see SConscript B below) does not compile.  To my eyes,
SConscriptA and B are same.  Could someone can help me ?

The following is SConscriptA that works (compile and --tree work successful
output)
----------------------------------------------------------------------SConscriptA
-------------------------------------------------------------------------------------------------------------------
Import('common_env')
#Grab a copy of the top environment (the one sent by the SConstruct file)
common_env = common_env.Clone()
#Because this component is only compiled in win32.
if (common_env['ENV']['CONFIG'] == "win32"):
    #Grabs the library name, the name should look like
libpath_of_current_component-(debug/opt)
    libName = common_env.libName()
    progName = 'testWinRTP.exe'
    common_env.USE_BOOST()
    common_env.USE_ACE()
    common_env.USE_LOKI()
    common_env.USE_DIRECTSOUND()
    #Specific cppflag for this component (appended to the flags sent from
Sconstruct)
    cppFlags = '-D_AFXDLL'
    #Specific linkFlag for this component (appended to the flags sent from
SConstruct)
    linkFlags = '/SUBSYSTEM:WINDOWS'

    libSuffix = common_env['ENV']['OPTSUFF'] + '.lib'

    common_env.Append(CPPFLAGS = cppFlags, LINKFLAGS = linkFlags)

    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/tests/winRTP/testwinRTP/' +
common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_tests_winRTP_testwinRTP-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/tests/winRTP/CCNSMT/' + common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_tests_winRTP_CCNSMT-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/filter_graph_mgt/'    + common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_filter_graph_mgt-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/filter_graph/'        + common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_filter_graph-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/filter_graph_drivers/'+ common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_filter_graph_drivers-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/audio_fwk/src/filter_graph_utils/'  + common_env['ENV']['CONFIG'] +
'/libfwk_audio_fwk_src_filter_graph_utils-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/voice_fwk/utils/src/voice_utils/'   + common_env['ENV']['CONFIG'] +
'/libfwk_voice_fwk_utils_src_voice_utils-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/voice_fwk/utils/src/config/'        + common_env['ENV']['CONFIG'] +
'/libfwk_voice_fwk_utils_src_config-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/voice_fwk/utils/src/log_utils/'     + common_env['ENV']['CONFIG'] +
'/libfwk_voice_fwk_utils_src_log_utils-' + libSuffix))
    common_env.Append(LIBS=File('#/build/'+ common_env['ENV']['OPTSUFF']
+'/fwk/voice_fwk/utils/src/vcs_utils/'     + common_env['ENV']['CONFIG'] +
'/libfwk_voice_fwk_utils_src_vcs_utils-' + libSuffix))
    common_env.Append(LIBS='msacm32.lib')
    #Sources of the library.
    sourcesLib = ['CFilterGraphTest.cpp', 'stdafx.cpp', 'testWinRTPDlg.cpp']
    #Creates the library
    common_env.Library(libName, sourcesLib)
    #Compiles a ressource file needed for the binary
    compileRes = common_env.RES('testWinRTP.rc')
    #Creates the program, notice that the sources of this program includes
the .res generated by the compilation of the .rc file.
    sourcesBin = ['testWinRTP.cpp', 'testWinRTP.res']
    common_env.Program(progName, sourcesBin)
    #Install (copy) the binary in LINK/bin/winX
    common_env.installInLink(progName)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
When typing scons -u --tree=prune, I have the following outpout :
scons: Entering directory `C:\svn\products\faa_mx\integ-test-scons'
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets:
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32
link /nologo /MACHINE:X86 /INCREMENTAL /DEBUG /NOLOGO /SUBSYSTEM:WINDOWS
/OUT:build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.exe
/LIBPATH:LINK\lib\win32
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\boost-1.47.0_vs2010\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\ACE+TAO-6.1.3_vs2010\ACE_wrappers\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\loki-0.1.5_vs2010\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\DirectX0610\lib\x86 kernel32.lib
user32.lib gdi32.lib secur32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
ws2_32.lib Winmm.lib iphlpapi.lib Rpcrt4.lib Psapi.lib avrt.lib aced.lib
lokid.lib winmm.lib Setupapi.lib dsound.lib dxguid.lib
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\libfwk_audio_fwk_src_tests_winRTP_testwinRTP-debug.lib
build\debug\fwk\audio_fwk\src\tests\WinRTP\CCNSMT\win32\libfwk_audio_fwk_src_tests_WinRTP_CCNSMT-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_mgt\win32\libfwk_audio_fwk_src_filter_graph_mgt-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph\win32\libfwk_audio_fwk_src_filter_graph-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_drivers\win32\libfwk_audio_fwk_src_filter_graph_drivers-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_utils\win32\libfwk_audio_fwk_src_filter_graph_utils-debug.lib
build\debug\fwk\voice_fwk\utils\src\voice_utils\win32\libfwk_voice_fwk_utils_src_voice_utils-debug.lib
build\debug\fwk\voice_fwk\utils\src\config\win32\libfwk_voice_fwk_utils_src_config-debug.lib
build\debug\fwk\voice_fwk\utils\src\log_utils\win32\libfwk_voice_fwk_utils_src_log_utils-debug.lib
build\debug\fwk\voice_fwk\utils\src\vcs_utils\win32\libfwk_voice_fwk_utils_src_vcs_utils-debug.lib
msacm32.lib
/PDB:build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\win32\vc100.pdb
/DEBUG
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.obj
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.res
lokid.lib(Singleton.obj) : warning LNK4099: PDB 'vc100.pdb' was not found
with 'lokid.lib(Singleton.obj)' or at
'C:\svn\products\faa_mx\integ-test-scons\build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\win32\vc100.pdb';
linking object as if no debug info
lokid.lib(SmallObj.obj) : warning LNK4099: PDB 'vc100.pdb' was not found
with 'lokid.lib(SmallObj.obj)' or at
'C:\svn\products\faa_mx\integ-test-scons\build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\win32\vc100.pdb';
linking object as if no debug info
scons: `fwk\audio_fwk\src\tests\WinRTP\testWinRTP' is up to date.
+-fwk\audio_fwk\src\tests\WinRTP\testWinRTP
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\CFilterGraphTest.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\CFilterGraphTest.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\res
  | +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\res\testWinRTP.ico
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\Resource.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\stdafx.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\stdafx.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.rc
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.sc
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTPDlg.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTPDlg.h
scons: done building targets.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Now, I wanted to have a cleaner version of my SConscriptA, so I created
SConscriptB
----------------------------------------------------------------------SConscriptB
-------------------------------------------------------------------------------------------------------------------
Import('common_env')
#Grab a copy of the top environment (the one sent by the SConstruct file)
common_env = common_env.Clone()
#Because this component is only compiled in win32.
if (common_env['ENV']['CONFIG'] == "win32"):
    #Grabs the library name, the name should look like
libpath_of_current_component-(debug/opt)
    libName = common_env.libName()
    progName = 'testWinRTP.exe'
    common_env.USE_BOOST()
    common_env.USE_ACE()
    common_env.USE_LOKI()
    common_env.USE_DIRECTSOUND()
    #Specific cppflag for this component (appended to the flags sent from
Sconstruct)
    cppFlags = '-D_AFXDLL'
    #Specific linkFlag for this component (appended to the flags sent from
SConstruct)
    linkFlags = '/SUBSYSTEM:WINDOWS'

    libraries = common_env.get_lib_full_path([
        'fwk/voice_fwk/utils/src/log_utils',
        'fwk/voice_fwk/utils/src/config',
        'fwk/voice_fwk/utils/src/vcs_utils',
        'fwk/voice_fwk/utils/src/network',
        'fwk/audio_fwk/src/tests/winRTP/testwinRTP',
        'fwk/audio_fwk/src/tests/winRTP/CCNSMT',
        'fwk/audio_fwk/src/filter_graph',
        'fwk/audio_fwk/src/filter_graph_drivers',
        'fwk/audio_fwk/src/filter_graph_mgt',
        'fwk/audio_fwk/src/filter_graph_utils'])

    libraries += ['msacm32.lib']

    common_env.Append(CPPFLAGS = cppFlags, LINKFLAGS = linkFlags,
LIBS=libraries)
    #Sources of the library.
    sourcesLib = ['CFilterGraphTest.cpp', 'stdafx.cpp', 'testWinRTPDlg.cpp']
    #Creates the library
    common_env.Library(libName, sourcesLib)
    #Compiles a ressource file needed for the binary
    compileRes = common_env.RES('testWinRTP.rc')
    #Creates the program, notice that the sources of this program includes
the .res generated by the compilation of the .rc file.
    sourcesBin = ['testWinRTP.cpp', 'testWinRTP.res']
    common_env.Program(progName, sourcesBin)
    #Install (copy) the binary in LINK/bin/winX
    common_env.installInLink(progName)

----------------------------------------------------------------------get_lib_full_path-------------------------------------------------------------------------------------------------------------------
def get_lib_full_path(env, listPath):
    sep = os.path.sep
    libSuffix = '-' + common_env['ENV']['OPTSUFF'] + '.lib'
    listLibrarie = []
    for path in listPath:
        libPathName = '#' + sep + 'build'+ sep + env['ENV']['OPTSUFF'] +
sep + path.replace('/', sep) + sep  + env['ENV']['CONFIG'] + sep
        libPathName += 'lib' + path.replace('/','_') + libSuffix
        listLibrarie.append(File(libPathName))
    return listLibrarie
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
SConscriptB has a problem, it returns incorrect output, see the result of
--tree=prune :

scons: Entering directory `C:\svn\products\faa_mx\integ-test-scons'
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets:
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32
link /nologo /MACHINE:X86 /INCREMENTAL /DEBUG /NOLOGO /SUBSYSTEM:WINDOWS
/OUT:build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.exe
/LIBPATH:LINK\lib\win32
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\boost-1.47.0_vs2010\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\ACE+TAO-6.1.3_vs2010\ACE_wrappers\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\loki-0.1.5_vs2010\lib
/LIBPATH:C:\svn\3rdParty\3rdPartyPackages\DirectX0610\lib\x86 kernel32.lib
user32.lib gdi32.lib secur32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
ws2_32.lib Winmm.lib iphlpapi.lib Rpcrt4.lib Psapi.lib avrt.lib aced.lib
lokid.lib winmm.lib Setupapi.lib dsound.lib dxguid.lib
build\debug\fwk\voice_fwk\utils\src\log_utils\win32\libfwk_voice_fwk_utils_src_log_utils-debug.lib
build\debug\fwk\voice_fwk\utils\src\config\win32\libfwk_voice_fwk_utils_src_config-debug.lib
build\debug\fwk\voice_fwk\utils\src\vcs_utils\win32\libfwk_voice_fwk_utils_src_vcs_utils-debug.lib
build\debug\fwk\voice_fwk\utils\src\network\win32\libfwk_voice_fwk_utils_src_network-debug.lib
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\libfwk_audio_fwk_src_tests_winRTP_testwinRTP-debug.lib
build\debug\fwk\audio_fwk\src\tests\WinRTP\CCNSMT\win32\libfwk_audio_fwk_src_tests_WinRTP_CCNSMT-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph\win32\libfwk_audio_fwk_src_filter_graph-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_drivers\win32\libfwk_audio_fwk_src_filter_graph_drivers-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_mgt\win32\libfwk_audio_fwk_src_filter_graph_mgt-debug.lib
build\debug\fwk\audio_fwk\src\filter_graph_utils\win32\libfwk_audio_fwk_src_filter_graph_utils-debug.lib
msacm32.lib
/PDB:build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\win32\vc100.pdb
/DEBUG
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.obj
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.res
testWinRTP.obj : error LNK2019: unresolved external symbol "bool __cdecl
ADACEL::UTILS::checkForValidWindowsVersion(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?checkForValidWindowsVersion at UTILS@ADACEL@
@YA_NABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@@Z)
referenced in function "public: virtual int __thiscall
CtestWinRTPApp::InitInstance(void)" (?InitInstance at CtestWinRTPApp@@UAEHXZ)
libfwk_audio_fwk_src_tests_winRTP_testwinRTP-debug.lib(testWinRTPDlg.obj) :
error LNK2019: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl ADACEL::UTILS::charQuote(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char)"
(?charQuote at UTILS@ADACEL@@YA?AV?$basic_string at DU?$char_traits at D@std@
@V?$allocator at D@2@@std@@ABV34 at 0D@Z) referenced in function "public: void
__thiscall CtestWinRTPDlg::OnCbnSelendokComboSourceDevice(void)"
(?OnCbnSelendokComboSourceDevice at CtestWinRTPDlg@@QAEXXZ)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(WaveAudioSource.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KSAudioSink.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(WASAPIAudioSink.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(AudioSourceChannelized.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(WaveAudioSink.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KSAudioSource.obj) :
error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(WASAPIAudioSource.obj)
: error LNK2001: unresolved external symbol "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
ADACEL::UTILS::operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,struct tWAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX
@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(AudioDemultiplexer.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
tWAVEFORMATEX const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX@@@Z) referenced in
function "protected: virtual void __thiscall
AudioDemultiplexer::setSourceAudioFormat(struct tWAVEFORMATEX const &)"
(?setSourceAudioFormat at AudioDemultiplexer@@MAEXABUtWAVEFORMATEX@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(AudioMultiplexer.obj) : error
LNK2001: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
tWAVEFORMATEX const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(AudioSink.obj) : error LNK2001:
unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
tWAVEFORMATEX const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(AudioSource.obj) : error
LNK2001: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
tWAVEFORMATEX const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUtWAVEFORMATEX@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_filter.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct _GUID
const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV23 at ABU_GUID@@@Z) referenced in function "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
operator<<(class std::basic_ostream<char,struct std::char_traits<char> >
&,class CKsFilter const &)" (??6 at YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV01 at ABVCKsFilter@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2001: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct _GUID
const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV23 at ABU_GUID@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,enum KSSTATE)"
(??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@
@AAV23 at W4KSSTATE@@@Z) referenced in function "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
operator<<(class std::basic_ostream<char,struct std::char_traits<char> >
&,class CKsPin const &)" (??6 at YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,enum
KSPIN_COMMUNICATION)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at W4KSPIN_COMMUNICATION@@@Z) referenced in
function "class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CKsPin const &)" (??6 at YAAAV
?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,enum
KSPIN_DATAFLOW)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU?$char_traits at D
@std@@@std@@AAV23 at W4KSPIN_DATAFLOW@@@Z) referenced in function "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
operator<<(class std::basic_ostream<char,struct std::char_traits<char> >
&,class CKsPin const &)" (??6 at YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
KSIDENTIFIER const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUKSIDENTIFIER@@@Z) referenced in
function "class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CKsPin const &)" (??6 at YAAAV
?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
KSDATAFORMAT_WAVEFORMATEX const &)" (??6UTILS at ADACEL
@@YAAAV?$basic_ostream at DU?$char_traits at D@std@@@std@
@AAV23 at ABUKSDATAFORMAT_WAVEFORMATEX@@@Z) referenced in function "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
operator<<(class std::basic_ostream<char,struct std::char_traits<char> >
&,class CKsPin const &)" (??6 at YAAAV?$basic_ostream at DU?$char_traits at D@std@
@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_pin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
KSPIN_CONNECT const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUKSPIN_CONNECT@@@Z) referenced in
function "class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CKsPin const &)" (??6 at YAAAV
?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV01 at ABVCKsPin@@@Z)
libfwk_audio_fwk_src_filter_graph_drivers-debug.lib(KS_audpin.obj) : error
LNK2019: unresolved external symbol "class std::basic_ostream<char,struct
std::char_traits<char> > & __cdecl ADACEL::UTILS::operator<<(class
std::basic_ostream<char,struct std::char_traits<char> > &,struct
KSDATARANGE_AUDIO const &)" (??6UTILS at ADACEL@@YAAAV?$basic_ostream at DU
?$char_traits at D@std@@@std@@AAV23 at ABUKSDATARANGE_AUDIO@@@Z) referenced in
function "class std::basic_ostream<char,struct std::char_traits<char> > &
__cdecl operator<<(class std::basic_ostream<char,struct
std::char_traits<char> > &,class CKsAudPin const &)" (??6 at YAAAV
?$basic_ostream at DU?$char_traits at D@std@@@std@@AAV01 at ABVCKsAudPin@@@Z)
libfwk_audio_fwk_src_filter_graph_mgt-debug.lib(GraphVisVisitor.obj) :
error LNK2019: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl ADACEL::UTILS::getWaveFormat(unsigned long)"
(?getWaveFormat at UTILS@ADACEL@@YA?AV?$basic_string at DU?$char_traits at D@std@
@V?$allocator at D@2@@std@@K at Z) referenced in function "protected: bool
__thiscall ADACEL::AUDIO::GraphVisVisitor::OutputSource(class
ADACEL::AUDIO::AudioComponent &)" (?OutputSource at GraphVisVisitor
@AUDIO at ADACEL@@IAE_NAAVAudioComponent at 23@@Z)
libfwk_audio_fwk_src_filter_graph_mgt-debug.lib(GraphReader.obj) : error
LNK2019: unresolved external symbol "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl
ADACEL::UTILS::trim(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)" (?trim at UTILS
@ADACEL@@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@
@ABV34@@Z) referenced in function __catch$?ProcessAttributes at GraphReader
@AUDIO at ADACEL@@IAEXABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D
@2@@std@@0 at Z$0
libfwk_voice_fwk_utils_src_config-debug.lib(IniFileConfigProvider.obj) :
error LNK2001: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl ADACEL::UTILS::trim(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?trim at UTILS@ADACEL@@YA?AV?$basic_string at DU
?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV34@@Z)
libfwk_audio_fwk_src_filter_graph_mgt-debug.lib(GraphReader.obj) : error
LNK2019: unresolved external symbol "public: __thiscall
ADACEL::UTILS::BlockingClock::~BlockingClock(void)" (??1BlockingClock at UTILS
@ADACEL@@QAE at XZ) referenced in function
__unwindfunclet$??0RTPClockedAudioSink@@QAE at XZ$0
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2001: unresolved external symbol "public: __thiscall
ADACEL::UTILS::BlockingClock::~BlockingClock(void)" (??1BlockingClock at UTILS
@ADACEL@@QAE at XZ)
libfwk_audio_fwk_src_filter_graph_mgt-debug.lib(GraphReader.obj) : error
LNK2019: unresolved external symbol "public: __thiscall
ADACEL::UTILS::BlockingClock::BlockingClock(void)" (??0BlockingClock at UTILS
@ADACEL@@QAE at XZ) referenced in function "public: __thiscall
RTPClockedAudioSink::RTPClockedAudioSink(void)" (??0RTPClockedAudioSink@
@QAE at XZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2001: unresolved external symbol "public: __thiscall
ADACEL::UTILS::BlockingClock::BlockingClock(void)" (??0BlockingClock at UTILS
@ADACEL@@QAE at XZ)
libfwk_voice_fwk_utils_src_config-debug.lib(ConfigManager.obj) : error
LNK2019: unresolved external symbol "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl
ADACEL::UTILS::toLowercase(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(?toLowercase at UTILS@ADACEL@@YA?AV?$basic_string at DU?$char_traits at D@std@
@V?$allocator at D@2@@std@@ABV34@@Z) referenced in function "public: bool
__thiscall ADACEL::CONFIG::ConfigManager::isPropertyDefined(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)const " (?isPropertyDefined at ConfigManager
@CONFIG at ADACEL@@QBE_NABV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D
@2@@std@@@Z)
libfwk_voice_fwk_utils_src_config-debug.lib(IniFileConfigProvider.obj) :
error LNK2001: unresolved external symbol "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl ADACEL::UTILS::toLowercase(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?toLowercase at UTILS@ADACEL@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV34@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::SetClockTick(unsigned long)"
(?SetClockTick at BlockingClock@UTILS at ADACEL@@QAEXK at Z) referenced in function
"public: void __thiscall ClockedAudioBufferSource::SetTime(class
ACE_Time_Value const &)" (?SetTime at ClockedAudioBufferSource
@@QAEXABVACE_Time_Value@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(RTPClockedAudioSink.obj) :
error LNK2001: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::SetClockTick(unsigned long)"
(?SetClockTick at BlockingClock@UTILS at ADACEL@@QAEXK at Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::SetClockTime(class ACE_Time_Value const &)"
(?SetClockTime at BlockingClock@UTILS at ADACEL@@QAEXABVACE_Time_Value@@@Z)
referenced in function "public: void __thiscall
ClockedAudioBufferSource::SetTime(class ACE_Time_Value const &)"
(?SetTime at ClockedAudioBufferSource@@QAEXABVACE_Time_Value@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::WaitForClockTick(void)"
(?WaitForClockTick at BlockingClock@UTILS at ADACEL@@QAEXXZ) referenced in
function "private: virtual int __thiscall
ClockedAudioBufferSource::GenerateData(class AudioSample * &)"
(?GenerateData at ClockedAudioBufferSource@@EAEHAAPAVAudioSample@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(RTPClockedAudioSink.obj) :
error LNK2001: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::WaitForClockTick(void)"
(?WaitForClockTick at BlockingClock@UTILS at ADACEL@@QAEXXZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(RTPPassiveClockedAudioSink.obj)
: error LNK2001: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::WaitForClockTick(void)"
(?WaitForClockTick at BlockingClock@UTILS at ADACEL@@QAEXXZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: class ACE_Time_Value
__thiscall ADACEL::UTILS::BlockingClock::GetClockTime(void)"
(?GetClockTime at BlockingClock@UTILS at ADACEL@@QAE?AVACE_Time_Value@@XZ)
referenced in function "private: virtual int __thiscall
ClockedAudioBufferSource::GenerateData(class AudioSample * &)"
(?GenerateData at ClockedAudioBufferSource@@EAEHAAPAVAudioSample@@@Z)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::StartClock(void)" (?StartClock at BlockingClock
@UTILS at ADACEL@@QAEXXZ) referenced in function "private: virtual int
__thiscall ClockedAudioBufferSource::SourceStarted(void)"
(?SourceStarted at ClockedAudioBufferSource@@EAEHXZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(RTPClockedAudioSink.obj) :
error LNK2001: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::StartClock(void)" (?StartClock at BlockingClock
@UTILS at ADACEL@@QAEXXZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(ClockedAudioBufferSource.obj) :
error LNK2019: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::StopClock(void)" (?StopClock at BlockingClock
@UTILS at ADACEL@@QAEXXZ) referenced in function "private: virtual int
__thiscall ClockedAudioBufferSource::SourceStopped(void)"
(?SourceStopped at ClockedAudioBufferSource@@EAEHXZ)
libfwk_audio_fwk_src_filter_graph-debug.lib(RTPClockedAudioSink.obj) :
error LNK2001: unresolved external symbol "public: void __thiscall
ADACEL::UTILS::BlockingClock::StopClock(void)" (?StopClock at BlockingClock
@UTILS at ADACEL@@QAEXXZ)
build\debug\fwk\audio_fwk\src\tests\WinRTP\testWinRTP\win32\testWinRTP.exe
: fatal error LNK1120: 22 unresolved externals
+-fwk\audio_fwk\src\tests\WinRTP\testWinRTP
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\CFilterGraphTest.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\CFilterGraphTest.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\res
  | +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\res\testWinRTP.ico
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\Resource.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\stdafx.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\stdafx.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.h
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.rc
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTP.sc
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTPDlg.cpp
  +-fwk\audio_fwk\src\tests\WinRTP\testWinRTP\testWinRTPDlg.h
scons: building terminated because of errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20161014/289ffd42/attachment-0001.html>


More information about the Scons-users mailing list