This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linker errors when building BSL Scripter 3.1.0.0

Other Parts Discussed in Thread: MSPBSL

I downloaded BSL Scripter from the TI site (MSPBSL Scripter version 3.1.0.0

The package contains a  Windows executable (bsl-scripter-windows.exe)  and example scripts.  

However, running this executable produces the Windows error dialog "bsl-scripter-windows.exe has stopped working".

I tried this app on WIn 7 and Win 10 PCs, with and without specifying a script as a parameter, and I get the same error every time.   Anyone else encounter this issue, or know what I'm doing wrong?

  • Updating with more info: I disabled Windows automatically checking for solutions so I could use the debugger in VS2013. The debugger detailed the following exception:
    Unhandled exception at 0x001546A8 in bsl-scripter-windows.exe: 0xC0000005: Access violation writing location 0xD9B3FCF0.
  • I am trying to rebuild BSL Scripter 3.1.0.0 with VS2013 following the directions found in BSLScripter_Build.txt of the BSL Scripter package.  The project compiles with no error, but I get the following linker errors:

    Error	1	error LNK2001: unresolved external symbol "class boost::filesystem::path __cdecl boost::filesystem::detail::current_path(class boost::system::error_code *)" (?current_path@detail@filesystem@boost@@YA?AVpath@23@PAVerror_code@system@3@@Z)	C:\BSL_Scripter\SourceCode\ScripterStream.obj	BSL-Scripter
    Error	5	error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAABVerror_category@12@XZ)	C:\BSL_Scripter\SourceCode\stdafx.obj	BSL-Scripter
    Error	4	error LNK2001: unresolved external symbol "class boost::system::error_category const & __cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAABVerror_category@12@XZ)	C:\BSL_Scripter\SourceCode\stdafx.obj	BSL-Scripter
    Error	2	error LNK2001: unresolved external symbol "public: static class std::codecvt<wchar_t,char,int> const & __cdecl boost::filesystem::path::codecvt(void)" (?codecvt@path@filesystem@boost@@SAABV?$codecvt@_WDH@std@@XZ)	C:\BSL_Scripter\SourceCode\ScripterStream.obj	BSL-Scripter
    Error	3	error LNK2001: unresolved external symbol "void __cdecl boost::filesystem::path_traits::convert(wchar_t const *,wchar_t const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::codecvt<wchar_t,char,int> const &)" (?convert@path_traits@filesystem@boost@@YAXPB_W0AAV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV?$codecvt@_WDH@5@@Z)	C:\BSL_Scripter\SourceCode\ScripterStream.obj	BSL-Scripter
    

    I downloaded the boost lib64-msvc-12.0 package and prebuilt binaries from Sourceforge as described in the build instructions.

    Has anyone else encountered this, or tried to build BSL Scripter v3.1.0.0?

  • Answering my own question, I should have linked to the boost 32-bit binaries in lib32-msvc-12.0, not the 64-bit.
  • Hi John,

    Thank you for posting the solution to your problem. I'm sure it will benefit others who may encounter this.

    Regards,

    James

    MSP Customer Applications

**Attention** This is a public forum