issue with buildboost



  • when i use VS 2017
    and while i tried to debug it in VS it shows this message
    "ScintillaEditView::init : SCINTILLA ERROR can not load the dynamic library "

    so what i have to do ?



  • Search the source for the message, identify the condition(s) in which it is shown and try to prevent that/those condition(s).



  • @MAPJe71

    C:\Users\analo\source\notepad-plus-plus-master\scintilla\boostregex>BuildBoost.bat C:\Users\analo\source\boost_1_55_0-x64
    Not found: C:\Users\analo\source\boost_1_55_0-x64\boost\regex.hpp
    Boost Path not valid. Run BuildBoost.bat with the absolute path to the directory
    where you unpacked your boost zip.

    Boost is available free from www.boost.org

    Unzip the file downloaded from www.boost.org, and give the absolute path
    as the first parameter to buildboost.bat

    e.g.
    buildboost.bat d:\libs\boost_1_55_0

    To build 64 bit version, add “-x64” flag after the full file path.
    e.g.
    buildboost.bat d:\libs\boost_1_55_0 -x64

    You can specify which version of the Visual Studio compiler to use
    with --toolset.
    Use:
    –toolset msvc-8.0 for Visual studio 2005
    –toolset msvc-9.0 for Visual Studio 2008
    –toolset msvc-10.0 for Visual Studio 2010
    –toolset msvc-11.0 for Visual Studio 2012
    –toolset msvc-12.0 for Visual Studio 2013

    e.g. To build with boost in d:\libs\boost_1_55_0 with Visual Studio 2008

        buildboost.bat --toolset msvc-9.0 d:\libs\boost_1_55_0
    

    C:\Users\analo\source\notepad-plus-plus-master\scintilla\boostregex>

    this is the text that shows to me when i tried to build boost in x64 native Tools Command Prompt for VS 2017

    so can u help me in this problem ??



  • BuildBoost.bat C:\Users\analo\source\boost_1_55_0-x64
    Not found: C:\Users\analo\source\boost_1_55_0-x64\boost\regex.hpp

    Spot the mistake. Hint: whitespace.



  • @MAPJe71

    C:\Users\analo\source\notepad-plus-plus-master\scintilla\boostregex> BuildBoost.bat C:\Users\analo\source\boost_1_55_0 -x64


    Building tool to check boost version


    Microsoft ® Program Maintenance Utility Version 14.12.25835.0
    Copyright © Microsoft Corporation. All rights reserved.

        del /q .\bin\getboostver.exe
        cl -O1 -MT -DNDEBUG -GL -nologo -IC:\Users\analo\source\boost_1_55_0    getboostver.cpp /link -OPT:REF -LTCG -nologo KERNEL32.lib USER32.lib /OUT:.\bin\getboostver.exe
    

    getboostver.cpp
    Generating code
    Finished generating code


    Boost version in use: 1_55



    Building Boost::regex


    link.jam: No such file or directory
    Performing configuration checks

    - has_icu builds           : no  (cached)
    

    …patience…
    …found 541 targets…
    link.jam: No such file or directory
    Performing configuration checks

    - has_icu builds           : no  (cached)
    

    …patience…
    …found 541 targets…
    No correctly built boost regex libraries could be found.
    Try specifying the MSVC version on the command line.

    Boost is available free from www.boost.org

    Unzip the file downloaded from www.boost.org, and give the absolute path
    as the first parameter to buildboost.bat

    e.g.
    buildboost.bat d:\libs\boost_1_55_0

    To build 64 bit version, add “-x64” flag after the full file path.
    e.g.
    buildboost.bat d:\libs\boost_1_55_0 -x64

    You can specify which version of the Visual Studio compiler to use
    with --toolset.
    Use:
    –toolset msvc-8.0 for Visual studio 2005
    –toolset msvc-9.0 for Visual Studio 2008
    –toolset msvc-10.0 for Visual Studio 2010
    –toolset msvc-11.0 for Visual Studio 2012
    –toolset msvc-12.0 for Visual Studio 2013

    e.g. To build with boost in d:\libs\boost_1_55_0 with Visual Studio 2008

        buildboost.bat --toolset msvc-9.0 d:\libs\boost_1_55_0
    

    C:\Users\analo\source\notepad-plus-plus-master\scintilla\boostregex>

    I did with a whitespace but it still the same problem



  • Did you actually read the text you posted?

    No correctly built boost regex libraries could be found.
    Try specifying the MSVC version on the command line.

    You can specify which version of the Visual Studio compiler to use
    with --toolset.
    Use:
    –toolset msvc-8.0 for Visual studio 2005
    –toolset msvc-9.0 for Visual Studio 2008
    –toolset msvc-10.0 for Visual Studio 2010
    –toolset msvc-11.0 for Visual Studio 2012
    –toolset msvc-12.0 for Visual Studio 2013

    Visual Studio 2013 is the highest version supported by the buildboost.bat you are using.



  • @MAPJe71

    but some of my friends has vs 2017 and used buildboost.bat
    so what the step that i can use to build boost in vs 2017 ?



  • Search the forum and GitHub repository for the subject (e.g. forum topic 13959 and repo issue 1228) or ask your friend for his what and/or how?



  • See https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2062 and https://github.com/notepad-plus-plus/notepad-plus-plus/pull/2336.

    Do you see a messagebox with:

    Authenticode check failed: signature or signing certificate are not recognized?

    Otherwise the most probably issue is that the SciLexer.dll is not placed beside the notepad++.exe.

    Do you really want to build and debug scilexer.dll?


Log in to reply